We changed our privacy policy. Read more.

Questions tagged [coordinates]

Blender represents locations in a scene by their coordinates. The coordinates of a location consist of three numbers that define its distance and direction from a fixed origin.

Filter by
Sorted by
Tagged with
70
votes
3answers
81k views

Is it possible to make Blender a Y-up world?

After learning bits and pieces of Maya, 3DS Max, IMAGINE and XSI I noticed that they all have Y-up worlds with Z being used for depth (naturally). is there a way to make Blender a Y-up world? and ...
25
votes
2answers
19k views

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 ...
12
votes
1answer
13k views

Poly / Bezier curve from a list of coordinates

I'm trying to create curves from a list of points, I have the xyz coordinates in text files. I could make it manually via the python console for a single curve, but I have to do it many times and I ...
10
votes
1answer
3k views

Digits of precision of vertices coordinates

Vertices coordinates are float or double values ? Is it possible to see them with full precision and not only with the limited precision of the text fields ? Or better is it possible to see the bit ...
28
votes
2answers
20k views

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 ...
9
votes
1answer
7k views

What is blender's camera projection matrix model?

I have question what is blender's camera projection model. I want to use blender to my computer vision experiment which need to compare real photo and CG. For real photo, I used camera matrix K for ...
7
votes
1answer
6k views

Why are keyframes in global coords, instead of local coords? (Blender 2.70a)

So, I've been using Blender for several years, including a fair amount of animation, and in the past it's always been useful to align an object with its local coords. I.e. having the y-axis pointing ...
5
votes
1answer
14k views

python script that reads text file containing coordinates and creates a path/curve for object to follow

I am a highschool student working at a college's engineering department for the summer. I just began working in blender and have intermediate knowledge of python. Could anyone share a script they've ...
6
votes
1answer
4k views

Getting the list of points that describe a Curve without converting to mesh

I've used mathutils.geometry.interpolate_bezier() in the past to create points for a curve using the bezier handle and knot coordinates. from the docs: ...
16
votes
2answers
94k views

How to scale a UV Image Texture?

I have a tiling texture that I prepared for use as a bump map. The problem is that it's too big! I want the texture to display on the model at about 1/8th of the present size, but I can't figure out ...
6
votes
2answers
9k views

How can I rotate an object's coordinate system without rotating the object?

I have the following situation with a chimney on a roof: I'd like to slide the chimney around on the plane parallel to the roof. One way I could accomplish this would be if I could somehow rotate the ...
5
votes
2answers
600 views

How to get data and edit it on UV map edges?

I have a UV map. I want to get texture pixels around connected mesh sides like this (selected in pink and red): or even on separated islands like this: How to do such thing with Python Blender API? ...
0
votes
1answer
510 views

Object Positions Reset On Blender Load

So I am attempting to make a modular environment in Blender, so I'm modeling many pieces in one scene to make sure they all match up properly before separating them out. However, whenever I restart ...
9
votes
2answers
3k views

How to change color along a curve?

I have a curve, which has been made visible by using a circle as a bevel object. I would like the color to change along the length of the curve. In other words, the curve will start red, and then ...
6
votes
1answer
2k views

Vertex coordinate after pose change

I am working with a makehuman model in blender. To change the pose of the model I modify the scale and rotation parameters of the bones. The code looks similar to ...
4
votes
2answers
1k views

Calculate points on a Nurbs curve without converting to mesh

I found this question: Getting the list of points that describe a Curve without converting to mesh But I would like to do the same for a Nurbs curve. This Nurbs curve consists of a lot of splines and ...
3
votes
1answer
707 views

Grid Floor Axis Not Aligned With Zero?

I am having a problem with a vertex that I move to 0 along the x axis, but it is not appearing to be on the axis like it should. See the screenshot below. I am in top view, and the selected vertex is ...
5
votes
1answer
372 views

How do I get a better understanding of the coordinate system in blender?

With link to this question, one of the main problems that have not promoted the understanding of the node system with Cycles is blender's coordinate system. These coordinate system values are said ...
8
votes
1answer
5k views

UV coordinates to XYZ coordinates

As the title indicates, I'd like, from given UV coordinates, to find their corresponding XYZ coordinates. I wanted to use the following function (see bellow), to know the UV index (and therefore the ...
6
votes
1answer
522 views

Cycles: Generate 3d coordinates before modifier stack is resolved

Im trying to create a volumetric material that uses a 3d texture. I need this volumetric to be animated along a curve. Right now, I have the material using generated coordinates. But the 3d texture ...
6
votes
2answers
9k views

How to get a list of edges of current face in bpy

Blender Python question: I have a list of faces and I need do something with some edges of the current face in a for-loop. Actually, I need something like this, but with edges. Thanks in advance.
4
votes
1answer
2k views

Rendered environment map is misaligned to World

I modeled a sun, placed it up in the sky of my scene, and rendered an HDR image to use as an environment map. The problem is that when I then make a World material and load this image into the ...
4
votes
2answers
3k views

How can I export or print coordinates of each selected vertex?

I am pretty new to Blender. I need to get coordinates of each selected vertex somehow. I don't really want to manually copy coordinates of each and single vertex that would just take a lot of time. I ...
3
votes
2answers
433 views

Is it possible to get vertex locations (world) from a vertex group?

How can I get the vertices location connected to animated bones? E.g. the vertices of vertexgroup "foot.L" at keyframe 2?
3
votes
4answers
3k views

How to move a complex object to the origin without destroying it?

I have a complex object far away from the origin of the scene itself. If I mark all parts and use the Geometry to Origin function, the complex object gets crumbled,...
2
votes
1answer
2k views

blender camera from 3x4 matrix

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 P I need code to return a ...
2
votes
2answers
232 views

Select everything inside the UV 0-1

I have a problem that I can't solve on my own. I want to select (or in my case deselect) everything that's inside the UV 0-1 space. I have a specific workflow that I follow and all my objects are ...
2
votes
1answer
1k views

Setting constraints causes the location of the constrained objects/bodies not be accessible

I set up 2 bodies manually & assigned Copy Location constraint to one with respect to another body. Then I set up the keyframe for the guiding body & then I started to view the change in the ...
2
votes
2answers
3k views

Apply Object Texture Coordinates

Recently, I used Cell Fracture on a wall to split it into pieces. I then used an Empty and Object Texture Coordinates to map a Brick Texture over the wall. However, when I simulated the wall (Rigid ...
1
vote
1answer
2k views

Convert from Blender rotations to Right Handed Y-Up rotations (Maya, Houdini, ...)

Question: My question is, how can I convert a Blender Z-Up RH rotation to Y-Up RH (Maya, Houdini, etc.) rotation? (I believe Blender uses a Right-Handed Z-Up orientation... correct me if wrong) ...
5
votes
1answer
1k views

python script to read in .csv file containing quaternion coordinates and turn it into a path/curve for an object to follow

I am a highschool student working at a college's engineering department for the summer. I just began working in blender and have intermediate knowledge of python. Could anyone share a script that: ...
4
votes
1answer
294 views

Blender Cycle's z-coordinate vs. camera-centered z-coordinate (orthogonal distance)

Rendering a scene and writing the 'Z-buffer' into an EXR file using 'Blender Cycles', I get a depth map. That depth map differs from the depth map which is produced by 'Blender Render'. Given its ...
3
votes
1answer
450 views

Blender: Project a map on a sphere

I have a portion of a map, with its coordinates, and I want to project it in its correct position on a sphere, like on a planet. This map is a geotiff image with its geographic coordinates. I traid to ...
0
votes
1answer
247 views

Changing the range of the coordinates on Blender's Viewport

I have got Geospatial Data, which has real world coordinates. The minimum and maximums of these coordinates are as follows: ...
3
votes
1answer
2k views

How do I get a python reference to the viewport camera? [duplicate]

I want do draw a line from one point to another using the blender opengl functions provided in bgl. Both points are in world coordinate system. I found a function in ...
5
votes
0answers
2k views

How to change animated object's origin without ruining animation?

For example: I have a character and a spoon which he is holding and moving thanks to child of constrain. My character releases the spoon a little bit above a plate. So I came up with idea to use rigid ...
10
votes
2answers
335 views

How can Particle Objects copy emitter's color texture?

I'd like to make a scientifically accurate animated snake using particle objects (and no, sculpting or bump mapping won't be realistic enough because real scales don't actually shrink and stretch when ...
6
votes
1answer
1k views

How to import recorded iPhone gyro data into blender?

I recorded iPhone's rotation and now I want to import these data as x,y,z for object rotation in blender. How can I convert OSC or CSV formats into F-Curves? Thank you for help.
4
votes
1answer
776 views

Grid: disable auto subdivision

Is there any option or an addon that would disable auto grid subdivision when zooming in viewport? Basically I just want the grid to always behave the same as it does in orhtographic view - stay to ...
3
votes
1answer
129 views

Which matrix to use to transform children local coordinates to global?

Setup I have an object Plane with 6 vertices. To each vertex I assign another object as child. Then I apply two keyframes on location to object Plane: In frame 0 it goes to Z = 5 In frame 81 it goes ...
3
votes
1answer
2k views

How to adjust texture coordinates with a distortion texture?

For a turbulent fluid texture I'm working on, I need to distort texture coordinates in a repeated, step-wise fashion, so this seems like a job for OSL. Specifically, I need to offset each point in a ...
0
votes
2answers
635 views

How to get Z-distance (not depth) from camera to object for every pixel in the frame?

I am currently doing a computer vision task and got stuck on the following problem. I need ground truth values for my sequence. I have a nice sequence where the camera moves trough my scene and ...
18
votes
3answers
21k views

Is there a way to rotate the axes themselves?

Is there a way to rotate the axes themselves? I want to rotate the global coordinate system, basically redefining the x and y axes 45 degrees from their original position.
8
votes
0answers
1k views

Seamless Procedural Texture in Polar Coordinates

I've written a Cycles node tree to convert rectangular (X,Y) to polar coordinates (R,theta) as the basis for a procedural texture with radial symmetry. However, there is a seam in the texture where ...
3
votes
2answers
4k views

How to transfer vertex position between 2 similar objects

So I've got 2 faces. I want the shinier head to the right to have the exact vertex positions as the other one. I really need them to be on the object on the right without duplicate the left one. I'...
2
votes
1answer
1k views

UV 2d cursor and vertex coordinates from python script in Edit_Mode

I want to access to this data: I tried: Exporting UV coordinates http://blenderartists.org/forum/showthread.php?254004-Accessing-UV-data-in-Python-script http://blenderartists.org/forum/showthread....
1
vote
1answer
37 views

Get pixel coords for vertex in viewport

Is it possible to get the screen XY coordinates in viewport for a vertex in orthographic view? I get pixel locations as per a previous answer like this: ...
0
votes
1answer
901 views

UV Maps not showing in render

I can not add all the images because the account is new and I don't have enough reputation. I have an object (a tube of a cream) with three diferent materials, the base "plastic" material and I have ...
7
votes
1answer
680 views

Is the w-coordinate of the UV coordinate system supported by Volumetric materials?

I want to calculate the density of a volumetric Emission material using the distance inward from the mesh surface. I've been able to do this with a cube and several coordinate systems: generated, ...
4
votes
1answer
1k views

How can I get the projection matrix of a panoramic camera with a fisheye equisolid lens?

I am working on a project in which i used the panoramic camera with fisheye equisolid lens on Cycles render. For some tests, I need the projection model that uses by this camera to project a 3D point ...