Linked Questions

1
vote
1answer
53 views

Label points in plane and get position after transformation

As I'm a Blender greenhorn, I need your help. Here is my problem: I have a document added as plane. Next, I want to label certain points within the document. Afterwards, I transform (fold and rotate) ...
1
vote
1answer
282 views

How to find all image coordinates of rendered object?

I got my object and I need to know all pixels that are displaying this object in my rendered picture. I read about a smiliar question here. update I tried this code from here: ...
1
vote
1answer
498 views

AttributeError: 'Mesh' object has no attribute 'view_frame'

I am trying to get the pixel coordinates of the object in the rendered image in blender using the How to find image coordinates of the rendered vertex? But I get the error AttributeError: 'Mesh' ...
0
votes
1answer
303 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 ...
0
votes
1answer
551 views

How to map/project bone coordinates to camera coordinates sytem/view?

I need the bone-head coordinates to be mapped on to the camera view. Actual scenario is to obtain the 3D coordinates of bone/joint. This is how I do it now. ...
0
votes
1answer
686 views

'Matrix' object has no attribute 'z' in world_to_camera_view

I'm trying to use the following code to get 2D points out of Blender. Ultimately my goal is to generate HPGL for a pen plotter but for now I'll be happy with a printed list of coordinates. Whenever ...
3
votes
0answers
486 views

3D Mesh Vertex to 2D Pixel Coordinates [duplicate]

I can obtain the coordinate of a mesh vertex with python via wco = mesh.vertices[mesh_vert_idx].co Further, it is possible to convert this coordinate system to ...
2
votes
0answers
774 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 ...
1
vote
0answers
215 views

How to get objects and mesh object vertices from camera view with Python in Blender 2.8 [duplicate]

What I want to do I want to change the power of only the light object visible in the camera view. I want to remove vertices to mesh objects in visible in the camera view. Not remove mesh objects, ...
1
vote
0answers
559 views

RayCasting from Perspective Camera View into 3D Scene?

I am using Templates->Python->Operator Modal View3D Raycast template script which uses event.mouse_region_x, event.mouse_region_y to create raycasts into the ...
1
vote
0answers
348 views

How can I get a list with the 2D screen coordinates of visible Vertices in 3D view without having to convert 3D to 2D? [duplicate]

The bgl module allows us to obtain various information displayed in 3D Blender view. For example, I made a script that gets the 3D coordinate where the mouse cursor hits a object: ...
0
votes
0answers
35 views

How can I visualize the indices of vertices created by modifiers in the 3D View?

I am using Blender 2.82a, and am trying to visualize vertex indices of cloth (but I don't think my issue here is specific to cloth). There is an easy way to do this as shown here and here. I make a ...
0
votes
0answers
48 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
75 views

How to calculate rendered bone length during animation

I'm looking into the feasibility of creating a script able to export a blender animation to a JSON to be used by 2D Spine animation software. This would be based on Blender-JSON-Exporter. The ...
0
votes
0answers
952 views

How to project a point from 3D to 2D in blender?

I know how to obtain the 4x4 projection matrix of the camera in Blender, but it seems its format is different from the standard camera projection matrices. I would appreciate it if someone explains ...

15 30 50 per page