Skip to main content

All Questions

Tagged with
0 votes
2 answers
94 views

Adding a camera in front of an object based on xyz rotation (Euler to Spherical conversion)

About the script: I would like to add a camera in front of a selected object. The front of the object is based on a calculation using a pre-defined polarangle, azimuthal angle and distance. The ...
Sneider's user avatar
1 vote
1 answer
391 views

How to kill(or update) track-to/aim constraint for camera with Python API

I can track objects with camera constraints. I want to update object which we aimed(tracking new objects). So, I tried to update target object of the constraint but it does not work. Now, I am trying ...
dasmehdix's user avatar
  • 115
1 vote
2 answers
466 views

How to find the armatures which are hidden in the camera perspective by other parts?

I am new to blender, I have an object that during the animation some armatures are going to be hidden by other parts, How I could find these hidden armatures? As you can see in the picture ...
leyla khaleghi's user avatar
1 vote
1 answer
2k views

blender api - get current location and rotation of camera tracking an object

I have a camera with an object constraint to track an empty plain axes. I want to get the camera's current rotation, since when the axes move, or when the camera changes location, the camera rotates ...
tritium_3's user avatar
  • 113
2 votes
1 answer
560 views

using python to find object with the pixel information from the render

I wanted to know if anyone had to find a object by only knowing the pixel (x: 300, y: 300)information in a final render say like (essentially using camera view) Is there a way to find the correct ...
John's user avatar
  • 43
3 votes
1 answer
2k views

Script to add a number of Objects, Cameras to a scene but cannot rename data objects?

I am adding a few objects to a scene. Super basic stuff. ...
gl2748's user avatar
  • 177
1 vote
0 answers
579 views

How to constrain the camera to look at an object in python script [duplicate]

The function i have created thus far: ...
Chris Lawford's user avatar