Most Popular

1500 questions
30
votes
1 answer

Extracting a UV layout

I have a 3D truck model already textured and properly imported into Blender. This is a game model and I need to "re-paint" with design from other transport companies. The problem is that I don't have a UV layout (skin template) to serve as a guide…
Pumizo
  • 819
  • 2
  • 7
  • 16
30
votes
9 answers

Efficient way to get selected vertices via python (without iterating over the entire mesh)

What's the best/fastest way to construct a list of selected vertices for a mesh object in python? I want to avoid iterating over every vertex in the mesh if possible, since that seems like a really inefficient/wasteful way to go about it. There's a…
Qutorial
  • 3,312
  • 5
  • 22
  • 34
30
votes
2 answers

How can I get vertex positions from a mesh?

I want to read the vertex x and y coordinates with a script or a function. How can I do that? The MeshVertex appears to have no position I could use. I'd take any alternative approach that could give me x and y coordinates.
B Newmark
  • 1,240
  • 1
  • 12
  • 12
29
votes
1 answer

How to simulate a rope?

I'm trying to simulate a rope (that later might get pulled on the ends*) that interacts with some obstacles. So far I created a plane as the floor and a cube as an obstacle, and activated "collision" in the physics menu for both of them. *(In the…
flawr
  • 743
  • 1
  • 11
  • 21
29
votes
4 answers

How can I set and get the vertex color property?

I can't find a way to display RGB values (or equivalent) without using the python shell. I would like to get and set color values numerically (ie. not painting), I can't find it for weight painting either (I expected it to appear in the "n" panel…
user1759333
  • 391
  • 1
  • 3
  • 4
29
votes
2 answers

an easy way to subdivide along one axis only?

I'm making a rope for a game so it needs to be low poly. If I create a cylinder and subdivide, I get too many vertices around the circumference which I don't want. I only want to add vertices to the length axis, like slicing a cucumber for a…
steveh
  • 401
  • 1
  • 5
  • 8
29
votes
3 answers

How can I generate an object from a mathematical function?

I have a formula that mathematically describes the heart surface in Cartesian coordinates: $$\left(x^2+\frac{9y^2}{4}+z^2-1\right)^3-x^2z^3-\frac{9y^2z^3}{80}=0$$ Unfortunately, I have no idea how to implement it in Blender. Explicitly, I want to…
CloneBorg
  • 299
  • 1
  • 3
  • 8
29
votes
6 answers

Export multiple objects to .obj

It is possible to export all object from a scene into different obj files (each object in a obj file separately)?
GabrielS
  • 1,380
  • 3
  • 12
  • 22
29
votes
4 answers

How can I add motion to a rigid body?

I'm trying to create a bowling animation and I want the ball to hit the pins. I already added the Rigid Body physics to the objects but can't get the ball to move. Obviously I could just add keyframes but that seems to interfere with the Rigid Body…
Abandoned account
  • 393
  • 1
  • 3
  • 6
29
votes
2 answers

How to batch import Wavefront OBJ files?

Is it possible to batch import Wavefront .obj to blender? I'm working on 2.69. If I select multiple .obj files, only one gets imported. Also if I hit A on file selection window to select all files (.obj and .mtl) I get an error, nothing gets…
finsopraiets
  • 293
  • 1
  • 3
  • 4
29
votes
4 answers

How to stretch 120 seconds of animation over 270 seconds?

I have an object with some animation (120 seconds) and I want to make this animation now play over the duration of 270 seconds. How can I stretch the animation to this new duration?
retif
  • 535
  • 2
  • 5
  • 9
29
votes
3 answers

Could someone please explain gimbal lock?

I have read the Wikipedia page on gimbal lock, and am still confused about the entire matter. My understanding is that, using a local coordinate system, if you rotate a model about its X axis then its Y and Z axes experience gimbal lock, and become…
fouric
  • 3,261
  • 7
  • 26
  • 29
29
votes
7 answers

How do I make a normal/displacement map when all I have is a photo?

In order to make a rendering look more realistic some additional maps are useful. The documentation lists: diffuse,specular displacement-maps . I watched a video tutorial The Secrets of Realistic Texturing which uses a commercial tool. Are there…
stacker
  • 38,549
  • 31
  • 141
  • 243
29
votes
1 answer

What does unwrapping a model do and why is it important?

I am trying to learn how to make small games, and every time I watch a video it says that we need to unwrap it, but they never fully explain what unwrapping does or why we do it. Is it necessary when exporting to UDK?
Batman_nerd
  • 393
  • 1
  • 3
  • 6
29
votes
2 answers

3x4 camera matrix from blender camera

In computer vision, the transformation from 3D world coordinates to pixel coordinates is often represented by a 3x4 (3 rows by 4 cols) matrix P as detailed below. Given a camera in Blender, I need code that returns P. Context where this shows up It…
rfabbri
  • 1,243
  • 1
  • 14
  • 22