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.

70 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
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
0answers
235 views

Calculate collision point of rigid body in BGE

I have a sphere (active rigid body) that bounces on a plane (passive rigid body) and afterwards hits another plane (passive rigid body). I would like to get its coordinates when it hits the second ...
3
votes
0answers
417 views

Are keyframes in local or world space?

When I insert a keyframe (locrot for example), are the coordinates in local or in world space? For example: when I animate a character through its armature. I define an action for moving a hand, by ...
3
votes
0answers
923 views

Pull and slide along edges simultaneously

Is it possible to slide multiple vertices along edges that point towards a certain point? As demonstrated in the first picture, I would like to slide the selected along the edges on the direction ...
2
votes
0answers
547 views

How to get 2d pixel coordinates of multiple objects bounding boxes from rendered image with python in blender 2.8?

I know there're many questions similar to mine, but they are a bit too old and not working with newest version of blender. I found this two, but have no idea how to use them: ...
2
votes
1answer
82 views

Is it posible to get the coordinates of the shadow from its rendering?

I need to know the volume of the shadow cast by an object by a light or at least the coordinates of the contour of the shadow in the floor. I thought that it would be possible to get the coordinates ...
2
votes
0answers
295 views

How to get coordinates of special vertices in an animated mesh with Python?

I try to get the positions of special vertices while animating. I only found quastions about positions of special vertices in one frame or positions of all vertices in an animation. But I need the ...
2
votes
1answer
153 views

Convert Cycles depth/z to distance to image plane

I want to simulate a depth sensor with Blender Cycles, but the z-pass returns the length of the sight ray and not the distance to the image plane. Here is a formula to convert the depth map, but I am ...
2
votes
1answer
139 views

How to translate plane coordinates x,y to equirectangular?

I have a procedural texture with a circle made by formula X ** 2 + Y ** 2 < R ** 2. It looks like a circle on a plane. But if I try to use this formula in the World environment - the circle is ...
2
votes
0answers
70 views

Why lattice coordinates differ in edit mode when selected?

Sorry, yet another question about lattice from a beginner... Consider a scene with a mesh (say, a default plane) and a (default) lattice. Let's run the following script in edit mode and in object ...
2
votes
0answers
363 views

Why are the coordinates of a child object the same after clear location to parent (Alt-O)?

When I have a child object with the position 0 0 0 And we drag it a bit with the red arrow: we see that the transform also will change: Now if I press AltO the child will move back to the parent ...
2
votes
0answers
52 views

How to get the vertices coordinates of meshes for each step of the physics simulation?

I am running some physics simulations which involves a couple of mesh objects. I would like to get the vertices coordinates of one or two of the meshes in the scene while the physics simulation is ...
2
votes
0answers
935 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 ...
2
votes
0answers
421 views

python - get bones location in pose mode in world-space coordinates

I want to get the offsets between a bone's coordinates in pose mode and its coordinates in object mode. My exact situation is that I have multiple rigged characters with same the orientations, but ...
2
votes
0answers
32 views

Can I model in a set of co-ordinates local to an object?

I am using Blender for architecture. I would like to be able to take an inclined plane (representing a roof, for example) and then place and manipulate simple objects onto it - just as simply as I can ...
2
votes
0answers
736 views

How to find if the vertex of an object is occluded by another vertex/face in front of it from a given viewpoint?

I can use the recipes on this page: How to find image coordinates of the rendered vertex?. But is there a way to know if a point is being occluded by some point/face in front of it from the viewpoint ...
2
votes
0answers
548 views

Min/Max object coordinate values

I need to find the min and max z height values from a mesh of a complex object and mark them red in the rendered photo of the objects. A small dot would suffice. The max/min are found along a line ...
2
votes
0answers
134 views

Locking a local coordinate

I'm using the BGE and I have an object that I defined as a "Rigid Body" in "Physics". I need to lock the X local coordinate but, if I lock it in "Lock translation", this lock the X global coordinate. ...
1
vote
0answers
36 views

Equivalent of mesh.tessfaces.add, foreach_set in 2.8

I have the following code in an addon: ...
1
vote
0answers
30 views

How to create a collection of (thousand of) spheres with each sphere at a specific set of xyz coordinate?

I have a xyz file containing coordinates of spheres. My goal is to draw something like Figure 2.2 in this link: http://www.fgarciasanchez.es/thesisrocio/node21.html On this forum I found a script ...
1
vote
1answer
71 views

Exporting Vertices from Blender 2.8 to a .txt-File to import it in ArchiCAD as Terrain

Hey I'm a total Beginner in Blender I would like to model a certain Terrain in Blender with the Sculpting Mode and export the Vertices to a .txt-File to import it in ArchiCAD as "field surveyor datas"...
1
vote
0answers
36 views

Show coordinates as label at render

Is there a way to add labels on a rendered image with properties such as the coordinates fo an object? i.e. when the object moves in the video you can see the coordinates change
1
vote
0answers
11 views

How to get the correct area of each triangle of a tessellated (scaled) cube using the Python API?

When I add a cube to the scene with dimensions 2x2x2, and run cube_obj.data.calc_loop_triangles() followed by ...
1
vote
0answers
24 views

How to script camera path in Python?

I'm new to Python scripting in blender. Wonder how to script: To create a path with specific points to reach on a circle around Z axis? Run the camera on it? Any help please? Eric
1
vote
0answers
87 views

Homography between two planes with rotation and translation

I generated two camera views using Blender with rotation and translation. Now I want to know how to compute homography between camera view A to B? I found how to compute homography for rotation only ...
1
vote
1answer
111 views

Coordinates of the segments of the hair particle

All Hair Particles are based on Vertices. I activated the option in ParticleSystem "Advanced" and switched to Verts. A hair has 4 segments. I would like to read these segments per hair as coordinates. ...
1
vote
0answers
94 views

Snap an empty to a bone's coordinate, quickest way?

I'm doing a ragdoll system with lots of rigidbody constraints. I use empties as constraints, which will be snapped to the location of a bone. The problem is that my armature has too many bones and I ...
1
vote
0answers
51 views

animate rig with 3d coordinates

I have frame-by-frame x,y,z coordinates for each joint of a human skeleton. How can I use these to animate a rig? The coordinates aren't perfect so the length of the bones may vary slightly throughout ...
1
vote
0answers
694 views

Python: Generated (Orco) Texture Coordinate to 2D Image

Summary: How to sample/evaluate a procedural texture using Generated (orco) texture coordinates, such that the resulting image will affect the object identical to that of the procedural texture, when ...
1
vote
0answers
981 views

How to show / change local space vs world space?

See this blend file: https://drive.google.com/open?id=0B9fajYcxL7pvWmRubFN2bWk4cjg Two objects (b and c) are parented to object A. If I move A, then b and c move with it and their location (x, y, z) ...
1
vote
0answers
94 views

Snapping Pose Bones to Vertex 90 degrees Off

I'm trying to snap the tail of a pose bone to a vertex in another mesh. When I hit R or G to start moving the bone, it snaps just fine, but rotates the bone approximately 90 degrees away from the ...
1
vote
0answers
69 views

Why is object's location is same, ( vector (0,0,0) ) in all frames of animation?

I have imported a human model mesh, with armature and animated it with mocap. What I exactly need is the position of its eyes at different frames. ...
1
vote
0answers
356 views

How to: Group instances on Hair Particle system to shear and rotate

How to make a particle System to instanciates objects and make them rotate on the z axis as well as bend in reaction to force fields like wind. Using the "Render/Group" option in the PS properties, I ...
1
vote
0answers
172 views

How do you proportionally scale multiple objects instead of meshes?

So that the effect you get is a row of rectangles increasing in height while each top face is not on a angle but rather perfectly horizontal. (scaling all mesh in one "object" makes the top face rise ...
1
vote
0answers
172 views

A glitch in 2.71, My low poly model randomly flattened

So I was working on a low poly model, A Guy Fawkes mask as an easter egg for a game. The game will use Unity, but that is besides the point. I had finished this model, so on a different layer I had ...
0
votes
0answers
18 views

How to get world space coordinate of a image point?

I want to know how to get a 2D point’s coordinate in image editor or render editor in Python? And how to convert the 2D coordinate to 3D model’s coordinate in Python? Thanks.
0
votes
0answers
21 views

How to get 3D point coordinate in world space via 2D image in Python?

I have a 2d image of a 3D model in the image editor, and I have the camera's intrinsic matrix and extrinsic matrix. Now I want to know the 3D model's position in the world space so that it can match ...
0
votes
0answers
10 views

How to Reference Global Coordinates for a Bone Using Its Location Fields?

I want to switch to displaying global coordinates while changing bone transform values using the location fields from the N-panel in 2.82a. But these fields only show local coordinates. I can change ...
0
votes
0answers
26 views

Some vertices in my mesh seem infinitely far away

Some vertices in the mesh go outside of the viewport. Even when I zoom the view out I cannot find the position of thr vertices. It seems to be infinite. Sometimes a few vertices of the mesh move to ...
0
votes
0answers
16 views

is there a simple way to know your mouse coordinates in 3D world space while hovering?

I'm wondering if there is a way to know your mouse coordinates while hovering. Without having to query the position of the 3D cursor? For example to show what I mean, see below image of another ...
0
votes
0answers
22 views

Create bones from coordinates (X,Y,Z) :

I am trying to generate an Armature for a model . I have coded an artificial intelligence for detecting keypoints in Blender using dlib , opencv . Right now I have the necessary X,Y,Z coordinates . My ...
0
votes
1answer
15 views

Can I constrain a vertex to never move beyond specific coordinates?

So, when editing I would love to be able to move my vertices around but make sure they never go below a certain plane - for instance, make sure I can't move them below a Z-value of 0. Is there any way ...
0
votes
0answers
29 views

world_to_camera_view() returns wrong vertex coordinates

I'm trying to get 2D pixel coordinates (i.e. with respect to the rendered image) of the outline of some spheres I have in my scene. Ultimately, I would like to obtain a segmentation mask for the ...
0
votes
0answers
33 views

How do I convert camera coordinates to world coordinates?

Blender has a great function to convert world coordinates to camera coordinates. However, in my case I am trying to do the exact opposite and can't find an existing method of doing so. I have tried ...
0
votes
0answers
23 views

Z-Depth in World to Camera Coordinates

I have a rigged human character in blender and am able to access all the global bone coordinates and bone lengths. However, I want to translate all this bone coordinate data (in 3D) to a camera frame (...
0
votes
0answers
22 views

Get rendered coordinates without knowing the world coordinates

I want to find the rendered coordinates for a camera view in Blender without getting the world coordinates before. In particular, I want to find the corners of one object that the camera sees. That´s ...
0
votes
0answers
30 views

How to align local coordinate axis with edge(s) or face?

in the following image I want to edit the green slab. But since it is quite a big object which originated from a cube which I slanted, the local coordinate axis is aligned with the global axis. As you ...
0
votes
0answers
22 views

is coordinate system for blender changes in different system?

i worked on windows for animation generation using bvh files, i was using blender version 2.79b, i set the camera location as default in script as well as in form of user input so one can get the ...
0
votes
0answers
11 views

How to prepare the Python script in python to: load model, turn camera around it & get camera coordinates?

I might not be so new to Blender but definitely - new to Python scripting in Blender. I'm trying to get the first steps here for the simples script: To load the model. DONE ALREADY. To zoom it out ...
0
votes
0answers
21 views

Coordinates shifted for some meshes during FBX import

I've got an FBX file that I'm importing into Blender as part of an image generation script for a machine learning application (using the python API). However, for this particular model, some meshes ...