I am trying to bake texture for a model, and I get the infamous error "No objects or images to bake to". I have done a lot of googling to try and solve this, and in particular I have read pretty much every post related to that on this forum. It does not help and I still get the error. Here below are some details - please ask for more if necessary. Any help would be hugely appreciated.   Set up: I have an obj file, in the same folder as an mtl file along with a jpg picture for the texutre.   Import: I open up Blender 2.7 on Linux, default mode, delete the cube and subsequently import the obj file; I can see it alright and I recenter it.   Texture: in the materials and texture tabs, I select the jpg image for texture, so that when I set the viewport shading to texture I see the texture on the 3D model view.   Bake: making sure that coordinates is set to UV and that Map is set to UVMap in the Mappin dropdown menu of the Texture tab, I then go to the Render tab to the Bake dropdown menu. I click the Bake to Color vertices and choose Texture in the rollout. Clicking bake then yields the error.   Details: I make sure that the object is selected, both in the 3D viewport and in the Outliner. In the latter, the icons are on (the eye, the pointer and the camera). I have also been careful enough to open up a second subwindow for the UV/Image editor, and in there I select the jpg image for texture that is in the folder, and I can see the UV map alright. Also, this is all with the Blender Render engine, not with cycles.   What I have in mind after all this, and the reason I want to do it, is that I ultimately want to export the model to a ply file in a way that all vertices are listed together with an RGB color for each vertex, which is impossible currently (because color/texture is associated to faces of the mesh and not to vertices), even if I tick the "include vertex color" option in the ply export.   Thanks a looot in advance. I am absolutely out of resources here.   Gustavo  Edit: the thread  is different I believe. My question is more specific. However the answer to that thread does include what I was missing: adding a set of vertex colors under the object data tab.
This is frustrating for me. The UV-textures to vertex cols add-on doesn't seem to work despite the specific instructions. Any other tutorials I can find are either very old or very poor.  I'd like to know how to do this in Blender 2.79. I need vertex colors in my ambient occlusion for use in Shader Forge.
How to monitor battery condition and pop-up notification? Essentially, I would like  into a working answer.   I know how to extract the battery percentage from :   upower -i $(upower -e | grep BAT) | grep --color=never -E percentage|xargs|cut -d' ' -f2|sed s/%//   And how to pop-up a basic notification:   notify-send "battery low"   But how can I set up a (bash?) script to permanently monitor the output and send notification as per this pseudo-code:   if battery_status &lt; 10% then notify-send "battery low" and put my system to suspended state sudo pm-suspend What is the rule of thumb for mixing doughs? Without delving too deeply into specialty doughs, but addressing more than just  and , what concerns can I evaluate when calculating the technique for approaching a dough?  For instance, some recipes say not to mix too much, others would imply that beating every bit of air out of the dough is the best thing for it. What I am looking for is a set of criteria, maybe a flowchart, that outlines how to deal with having a well-reasoned technique (as opposed to just following a recipe).  Crumble, cream, or melt the fat first? Paddle or hook? Beat, fold or whisk? Knead once and rest or knead three times and throw? I would assume that to some extent getting air in or out, activating and mixing ingredients, distributing fats more or less evenly, and so forth play a factor in any decision. However, I have no idea what those different things do, or the food science behind them. What general principles would help me understand what each factor does, so that I can have more confidence when staring down the ingredients, whether for some cookies or pizza crusts or muffins? How do I access my Windows partition? I have Ubuntu 12.04 installed on my HP G62-453 TU Laptop. I cannot access the contents of my hard disk partition E. How to set file input value when dropping file on page? This question attempts to collect a community-maintained list of quality books on the  programming language, targeted at various skill levels.  C is a complex programming language that is difficult to pick up on-the-go by reading online tutorials. A comprehensive book is often the best way to learn the language, and finding a good book is the first step. It is important to avoid badly-written books, and even more importantly, books that contain serious technical errors.  Please suggest edits to the accepted answer to add quality books, with an approximate skill level and a short blurb/description about each book. (Note that the question is locked, so no new answers will be accepted. A single answer is being maintained with the list)  Feel free to debate book choices, quality, headings, summaries, skill levels, and anything else you see that is wrong. Books that are deemed satisfactory by the C community here will stick around on the list; the rest will be regularly removed.  For books that have reviews by the Association of C and C++ Users (ACCU), a link to those reviews should be added along with the book.  See also:   Other C-related resources in the   A similar list for :      This question was discussed on  as part of the .The consensus was to keep it undeleted and actively maintained. Convert Month Number to Month Name Function in SQL Backup GNOME-Terminal Given Newton's third law, why is there motion at all? Should not all forces even themselves out, so nothing moves at all? When I push a table using my finger, the table applies the same force onto my finger like my finger does on the table just with an opposing direction, nothing happens except that I feel the opposing force. But why can I push a box on a table by applying force ($F=ma$) on one side, obviously outbalancing the force the box has on my finger and at the same time outbalancing the friction the box has on the table? I obviously have the greater mass and acceleration as for example the matchbox on the table and thusly I can move it, but shouldn't the third law prevent that from even happening? Shouldn't the matchbox just accommodate to said force and applying the same force to me in opposing direction? How to construct a pyramid in blender but the edges of the triangles to be equal? How to make a pyramid in blender and all the edges to be equal size? Is there a way to do that in blender? Or if there is no easy way for that, maybe anybody not that lazy can provide me with a math line? Or maybe a link or whatever? Find the maximum value of $ f(x) = \int^{x}_{0} \sqrt{(x^2-x)^2+y^4}~dy$ Find the maximum value of $f(x)$ when $0 \leq x \leq 1$ and $$ f(x) = \int^{x}_{0} \sqrt{(x^2-x)^2+y^4}~dy$$   I'm guessing that the Fundamental Theorem of Calculus can't be used because the integrand is a function of $x$.  Any help would be greatly appreciated. So I've been trying to figure out how to prove the following.     Let $(a_n)$ be a sequence of positive numbers such that $\sum\limits_{n=1}^\infty a_n =\infty$, and define $s_n=\sum\limits_{i=1}^n a_i$. Then $\sum\limits_{n=1}^\infty\frac{a_n}{s_n} =\infty$ as well.   I can prove it by comparing it to $\int_1^\infty \frac{1}{x} \, dx $ if the sequence $a_n$ is bounded by some $M$, but that's as far as I've been able to get. Commenting out large sections How to remove all files and subdirectories in a directory WITHOUT deleting the directory in bash? Is there a command to remove all files and subdirectories in a directory without deleting the directory?  For example if I have directory dontDeleteMe with subdirectories 1, 2, 3 and each subdirectory has a few pictures in it, how can I remove the subdirectories 1, 2, and 3 and all the files in the them, without removing the parent directory dontDeleteMe? As I am seeing this,  the man and boat will have different displacement from ground frame,  so there should be a net work done by friction .  The books says,  total work done by friction is zero when friction is static and internal to system. Please explain.. Induction: Prove that $4^{n+1}+5^{2 n - 1}$ is divisible by 21 for all $n \geq 1$. Induction: Prove that $4^{n+1}+5^{2 n - 1}$ is divisible by 21 for all $n \geq 1$. How to preserve detail when downscaling scanned photos? I'm mixing analog with digital photography — I tend to take better photos when I can't look at a small digital screen, unconsciously forcing me to take the picture before I shoot instead of checking afterwards if it succeeded. I also like the grain film gives me.  However, most shots aren't worth spending much time in the darkroom, and scanning them is a lot faster. I'm wondering how best to convert the film to digital.  Scanning at lower than maximum (non-interpolated) resolution of my image scanner tends to exaggerate the contrast of the grain and screw up the mid-tones because of that.1 On the other hand, the resulting size of the scans are major overkill in most cases (I don't print them at A0 size), so I want to downscale the pictures. However, the grain confuses most methods and results in loss of detail and/or loss of the characteristic grain. For example, bicubic sharper tends to result in a "bigger" grain than the original. Now, the best compromise I've found so far is simply using bilinear interpolation, but I doubt that this is the best method to preserve both overall details and the look of the grain.  In short: when processing the scanned negative, how do I "best" preserve both image quality and the characteristic look of the grain?   As Stan Rogers pointed out below, there's a difference between truly scanning the grain of the film, and scanning the "grainy" character of film at lower resolutions. This question is about the latter; Stan Rogers explains how to do the first.  I'm looking for alternatives to the standard Photoshop options to try out, and reasons for each. Is the fact that every film has a different grain characteristic a problem? Are customized advanced noise reduction methods perhaps an option?  1. I'm using a Minolta DiMAGE Scan Elite 5400, using the software provided by Minolta.  As requested, here is a scanned picture with different resize methods. Just scanned this, scanning a B&amp;W negative to get better tonality range. I turned off grain dissolver, automatic dust and scratch removal, etc, for obvious reasons. On the right the pictures are upscaled again with Nearest Neighbor. I set the 8 bit scan to 16 bits before downscaling, assuming it reduces risks of banding if I choose to mess with curves, channel mixers, etc. No other modifications (usually I first retouch dust &amp; scratches, and in the end channel mix the picture to B&amp;W, then switch to 8 bits again). How do I know if I'm working on a Virtual Machine or not? Is there a way to know if the Windows machine I'm working on is virtual or physical? (I'm connecting with RDP to the machine. If it's a virtual machine it is working and handled by VMWare). MediaElement not playing audio from stream WP7 Seeking appropriate statistic to measure spatial autocorrelation of points with binary values I am trying to determine the level of spatial autocorrelation in a point dataset.  The attribute I'm interested in is binary (presence/absence of a species), for which Moran's I is not appropriate.  On the other hand, Joint Count statistics, which are typically recommended for binary or categorical data, apparently are not appropriate for point data. What is an appropriate statistic to measure global and/or local spatial autocorrelation of points when the attribute of interest is binary? Existence of a Riemannian metric inducing a given distance. Let $M$ be a smooth, finite-dimensional manifold. Suppose $M$ is also a metric space, with a given distance function $d: M \times M \rightarrow \mathbb{R}_{+}$, which is compatible with the original (manifold) topology on $M$.  Question: is there a Riemannian metric $g$ on $M$ such that the distance $$d_g(p, q) = \inf_{\gamma \in \Omega(p, q)} L_g(\gamma)$$ coincides with $d$?  I believe that this setting is very standard, but for the sake of completeness: $L_g$ denotes the Riemannian length of the curve $\gamma$, and $\Omega(p, q)$ the set of all piecewise smooth curves $\gamma : [a, b] \rightarrow M$ s.t. $\gamma(a) = p$ and $\gamma(b) = q$. Thanks in advance.