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
1
vote
0answers
26 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
6 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 ...
0
votes
0answers
11 views

Getting vertex coords of copied object [duplicate]

I have an object "box_template" that I want to create copies of and then get the position of its vertices withing the camera frame from. So to create the copy I use: ...
0
votes
0answers
56 views

How do I make this “60degree” graph programatically?

Translating x values to y via f(x) as usual, but without treating x and y as coordinates, only endpoints of finite (pink) lines. I looked for other solutions before coming back to Blender, but ...
0
votes
0answers
14 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
0
votes
0answers
9 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 ...
4
votes
1answer
64 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 ...
0
votes
0answers
11 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 ...
2
votes
0answers
223 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: ...
1
vote
1answer
26 views

Changing rotation_mode from `YXZ` to `XYZ` without changing orientation?

I am writing an importer in Blender that appends a object and then moves and rotates that object by some stored values I have created in Unity and saved to a Json file. I found that in order to ...
1
vote
1answer
121 views

Plot single vertices based on xy coordinates from CSV file

I'm aware there are numerous posts/questions already been raised on this, but upon reading the previous posts, I'm not quite able to find exactly what I'm looking for. So apologies if there's a ...
0
votes
1answer
23 views

How do I specify the 3D Cartesian coordinates of each vertex in a plane?

I have a specific system with a given origin. I want to make a plane with 3 vertices where each vertex has a specific position in 3D space relative to the global origin that I want to specify ...
0
votes
0answers
30 views

Set Bone Position and Rotation to global world coordinates via Python script

I have a set of bone positions and rotations exported from Unity and I want to create keyframes with these positions and rotations for the bones of my rig in Blender via a Python script. Unfortunately ...
1
vote
0answers
42 views

Random line artifacts on mesh when moved too far from global 0, 0, 0 [duplicate]

I'm attempting to render a mesh in 2.8. However, random lines appear on its surface when positioned too far from the global 0, 0, 0 coordinates. I've cut out a ...
0
votes
0answers
33 views

How to set local and global units the same?

I can not figure out how to set my local coordinates the same. You can see in the images below when I toggle from global to local, the median units go from centimeters to meters (sometimes kilometers) ...
0
votes
0answers
10 views

Is there a way to get the global rotation of an object in blender? (python) [duplicate]

i created a character in blender that has some pose bones. Moved some of the bones using to create a different pose. I was then able to calculate the world position that corresponds to this ...
0
votes
0answers
25 views

How to make selected meshes move together in transform sidebar?

I must have hit some button, or typed a shortcut by accident, but my workflow has been shot in the foot by this problem. If I try to select multiple meshes and move them together by typing precise ...
0
votes
1answer
57 views

Extracting coordinates (x y z) from a BVH file

I want to extract coordinates in x y z format from a BVH file. I read about the rotational and transational matrices used in a BVH file but cannot make any sense out of it. At last i want to make ...
0
votes
1answer
51 views

How do I make sure my objects are always touching the grid floor?

I want to use the grid as an imaginary floor. Is there a mathematical operation to make sure that no matter the length of the object that the bottom of the object is always touching the grid? ...
0
votes
0answers
56 views

Exporting x,y,z coordinates from tracking information

I am new to blender and am trying to extract the coordinates of a moving object that was made in blender (X,Y,Z at every frame). I have tried exporting as .ply, .obj, .stl etc. but the coordinates don'...
1
vote
0answers
48 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 ...
2
votes
1answer
61 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
107 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 ...
0
votes
1answer
22 views

how to know which pivot object is using (Local/World)

i have 2 identical objects with identical location numbers, but theyre located in different places. this is so annoying to deal with. how do i see the world coordinates? here is example of what i mean....
0
votes
0answers
237 views

How can I draw a line between 2 specific points?

I want to find the center axis of the inner irregular cylinder below. I want to determine 2 points and draw a line between them so I can find the central axis. Is there a way to do this?
1
vote
1answer
142 views

What is the between normal and local space?

So I get the difference between global space (or world space, whatever you want to call it) and local space-- global space looks at locations in a 3D Cartesian Graph that has a fixed orientation/...
0
votes
1answer
103 views

Change the Coordinate System for Unity Export? [duplicate]

How to change the axis Z and Y? Make it so that it was like in Unity or maybe this can be done in Unity?
1
vote
1answer
21 views

Take current rotation or coordinates as zero?

Let's say I have object rotated at 19 degrees and I want to keep current rotation, but I need to see 0 in rotation field.
0
votes
0answers
8 views

Is something strange about camera coordinates that I need to know?

I have a camera in the same position as a rig, paranted to it. At least, it's supposed to be in the same position but I accidently moved the camera (not the rig). To put back, I thought I'd copy the ...
0
votes
2answers
45 views

How can I determine the coordinations of the deepest point of a pit located on a 3D object?

I am trying to find the deepest point of a rough pit located on a rough 3d object. The pit is full of irregular vertices. https://drive.google.com/open?id=1muCjhRDHhwo3AnY194BAvkaCpPIdyWhx I cannot ...
0
votes
2answers
190 views

Camera Rotation in World Coordinates?

Are the coordinates of the camera in the world coordinate system? If they are not, how can I change to the world coordinate?
0
votes
0answers
12 views

How to link a mesh to scene with the desired local coordinate?

I create one mesh from another one via script. The rotation of the new mesh is different from the original one when I link the new mesh to the scene, because the original mesh has a Y-up and Z-forward ...
1
vote
1answer
207 views

Convert Object texture coordinates to UV

I have an object which as a texture that is positioned using Object Texture Coordinates that uses an Empty as its positioning object. I want to convert this to a UV texture. In Edit mode I press U > ...
0
votes
0answers
59 views

Position object relative to a bone's tranform and preserve position when exporting FBX to unity

I'm not sure if this can be posted here since it also involves unity, but I am convinced the answer is in blender. I have a character model and I made a nice head of hair to sit atop his barren crown....
0
votes
0answers
19 views

How to add two shapes coordinates?

Ok. Imagine yourself that I have two grids with the same amount of vertices. I sulpt a face of a man out of one of them. On the second one I sculpt a big "Z" letter. How can I combine those grids ...
0
votes
1answer
51 views

How to animate an object rotating on its own axis?

I want to animate a planet spinning on a slight tilt, like the earth does. I want to use a generator (in the graph editor) to have consistent, procedural motion, but animating any single axis of ...
0
votes
1answer
184 views

How can I export STL->OBJ without the coordinate system getting messed up?

We use a 3rd-party tool which generates STL files with a specific medical coordinate system (either RAS/LPS for those interested). Our software can only load the 3D meshes in OBJ format but whenever ...
0
votes
1answer
41 views

How to write python to show Toruses from an imported txt file containing center coordinates

I have a question about Python. By the way, I'm beginner of Python and English. I wrote a script showing Toruses from an imported txt file containing center coordinates, but I got an error at ...
0
votes
0answers
17 views

Vertex coordinates in console are slightly different than in the UI

If I have a default cube, dimensions 1 meter on each side, and I run a script to output the vertex coordinates to the console, they print correctly (i.e., the values are either 0.0 or 1.0). However, ...
2
votes
1answer
98 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 ...
1
vote
1answer
45 views

Change pivot point to selected point [duplicate]

In the attached picture, that the model is in the center of the point. I want to change from pivot point to point, where I want to picture it. In Maya 2017 Student version works like this, when it is ...
0
votes
0answers
19 views

Bone scale vs vertex scale

The vertices and the bones seem to be working with a different coordinate system. In the image, the bone and vertex at roughly the same height are mis-scaled by a factor of 40. When I export it into ...
2
votes
1answer
113 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 ...
3
votes
2answers
889 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
1k views

How do I generate pixel-art friendly UV maps?

Here and here, you can see examples of what I'm trying to do in terms of texturing. The UV maps shown for these models appear to be very clean and uniform, pixel-friendly and keep distortion/artifacts ...
1
vote
1answer
62 views

Local translation with pivot point established on the active object

Whenever i try to translate objects, with pivot point established on the active object, every object translates in their own local coordinates. Video will explain it better: youtube.com/watch?v=...
1
vote
1answer
79 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. ...
0
votes
0answers
72 views

How to add a certain number to an object's coordinates

I'm currently making a first person game in BGE. I animated an action for the camera of slowly going up and down to make the walking more realistic. I added it to the player's logic, but instead of ...
0
votes
0answers
334 views

How to show global location coordinates

How can I see the global coordinates of a bone? Blender only show the transform for local coordinates.
0
votes
1answer
133 views

Compute object's foreground mask in screen coordinates

For a research project I am using Blender's Python API to generate some simple random scenes. In addition to the generated renders, I need to acquire a 'foreground mask' in screen (image) coordinates ...