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
71
votes
3answers
82k 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 ...
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 ...
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 ...
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.
17
votes
1answer
11k views

How can I use a Python script to get the transformation of an object?

How can I use a Python script to obtain the exact coordinates of an object? I have not been able to find out how to do this in the documentation.
16
votes
2answers
95k 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 ...
14
votes
2answers
41k views

How can I "zero" an object's orientation in blender?

So I want to change the reference "zero" orientation [with respect to the global coordinate system] of a body in blender. In other words, when a body's rotation is set to zero (0 deg, 0 deg, 0 deg), ...
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
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 ...
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 ...
10
votes
1answer
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 ...
10
votes
2answers
341 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 ...
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 ...
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 ...
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 ...
7
votes
1answer
156 views

Working with big numbers

I want to extrude a shape from an SVG file, then create its negative (boolean with a scaled cube). I can do the obvious steps if I scale and move the shape. The real problem is that the SVG file ...
7
votes
1answer
2k views

Scale/Rescale using resize doesn't fit

I want to create a set of "distorted" images using python. The images should show possible misplacements of objects. The part of my script for translation and rotation seems to work well, but the ...
7
votes
1answer
3k views

Blender's "Right" View is actually a "Left" view? "Front" view is actually "Back"?

I'm working with a bunch of tools that each have separate coordinate systems and I'm having some confusion about Blender. For example, add a Monkey to a scene and then examine the Quad view. You ...
7
votes
1answer
687 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, ...
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 ...
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.
6
votes
1answer
525 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
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: ...
6
votes
1answer
693 views

Generated texture coordinates with shape key

I'm having difficulty using generated texture coordinates with shape keys. Consider a surface like this (from Wikipedia): I'm using a material that sets the color of the surface by its z-height (i.e....
6
votes
1answer
700 views

How to align vertices 100% accurately?

So there's a problem I'm facing every time I work with mirror modifier. When I'm shaping only half of the mesh I have troubles aligning vertices that must have '0' local coordinates. The issue is ...
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 ...
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.
6
votes
2answers
11k views

World coordinates of objects

How do I see the object's world coordinates. I want to build a scene, view this scene with cameras at different locations and analize what I see. For this purpose, I want to be able to see where my ...
6
votes
1answer
367 views

Append Texture Coordinates

I have a chessboard object that I've appended to the file. However, no matter what I do I can't edit the behavior of the texture coordinates. 3d Texture view and UV window clearly show the appropriate ...
5
votes
5answers
2k views

Does rotation by exact angle become low-precise in blender?

I faced a strange behavior of Blender while trying to make something like this: in one of the projections. It's clear that angle B (see picture below) should be 60 degrees for trivial trigonometrical ...
5
votes
2answers
8k views

Moving vertices in global coordinates

I need to move vertices along axis Z GLOBAL but I don't find how to do it. I've tried this: ...
5
votes
1answer
6k views

How do I set an objects position relative its parent?

Does blender support parent relative coordinates? How do I set an objects position relative its parent? I am setting the coordinates of the ship (being a child of the bottle) to 0 0 0. Trying to ...
5
votes
1answer
251 views

How can I "bend" object coordinates?

As you can see, the object coordinates don't bend along with the object itself. I know this is intentional, but is there a way to perhaps make them follow the contours of the object, or to manually ...
5
votes
2answers
626 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? ...
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 ...
5
votes
1answer
939 views

Given the local coordinates of a parented object, how do I get its global coordinates using the Python API?

Here is my setup: I have the default cube I make a sphere and move it y+4 (now at 0,4,0) I parent the sphere (child) to the cube (parent) the sphere location is [0,4,0] in local coordinates. It's the ...
5
votes
1answer
135 views

Finding image coordinates of rendered vertex after refraction, distortion, etc

I'm in blender 2.92 working with the Python API. I know how to get the pixel coordinates of a vertex before refraction, lens distortion, etc.--see e.g. How to find image coordinates of the rendered ...
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 ...
5
votes
1answer
653 views

What are View Coordinates?

I was reading a wikibook about Blender, and it started talking about view coordinates. I don't exactly understand what they are or the purpose of their existence. Could someone please explain them ...
5
votes
1answer
1k views

Can a quaternion be used to convert between coordinate systems?

I'm trying to convert hierachical rotation matrices (from a Kinect) to manipulate a mesh in the game engine. I was trying to change the Quaternion values like: ...
5
votes
1answer
712 views

Get pixel coord in rendered image of pixel coord in texture

Problem: As shown in the figure above, I have the coordinate pair (x, y) which describes a certain point in an image texture and I want the corresponding ...
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: ...
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 ...
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 ...
4
votes
3answers
859 views

Why does the y-axis of one of my objects appear to be backwards?

My Transform Orientation is set to local. I have this object that when highlight is using a right hand co-ordinate system (z up, x forward, y orthogonal to the x-z plane): I click on another object ...
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 ...
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
1answer
179 views

Coordinate XYZ limitation of 10,000 - Workaround questions

Blender has a limit of 10,000 for the coordinates of the X, Y, Z component of the location’s value of the vertices in edit mode. This causes a problem for editing large objects like mountains or ...
4
votes
1answer
900 views

horizon mapping in cycles

I am rendering a scene using cycle and I have set up a background with a Sky texture. Now I want to adjust the height of the horizon. I tried to use a Mapping node but what it does is changing the ...
4
votes
1answer
491 views

Apply a volumetric texture tangentially on a torus

I'm trying to adjust a volumetric texture on a torus object. Some details on this object: The material is a volume whose density is driven by a texture. This texture is a procedural one such as ...

1
2 3 4 5
7