Skip to main content

All Questions

Tagged with
0 votes
0 answers
13 views

is it correct to set the camera intrinsics in this way?

I have a 3x3 matrix inside a calibration file that has the intrinsics of my real room inside it. We will call them fx fy cx cy. I would like to know if the code I have written is correct, as I am not ...
wiseme's user avatar
  • 1
2 votes
1 answer
28 views

Python: canvas-flip action is merged with the next user action in undo history

I wrote a simple add-on to enable canvas flipping in Blender (for Grease Pencil) with a hotkey, as well as a menu button. All it does is multiply the camera's local X scale by -1: ...
Latin1's user avatar
  • 33
0 votes
0 answers
93 views

Yaw Pitch Roll of camera in local coordinate system

I retrieved camera properties from a bunch of Unreal scenes that I want to reproduce in Blender. The Unreal coordinate system is quite different: it is a left-handed one, cameras face +X instead of -Z ...
David Pagnon's user avatar
0 votes
0 answers
19 views

How to Accurately Retrieve Camera's Linear and Angular Velocity per Frame in Blender?

Hello Blender community, I am a complete beginner with Blender, working on generating synthetic data for a computer vision project that requires the linear and angular velocities of a camera for each ...
Arunbhaarathi's user avatar
0 votes
0 answers
12 views

Question about bpy's matrix_world to torch3d coordinate system conversion

From the visualization results, it appears that the camera pose I converted is not accurate. It has moved backwards. Is there have any suggestions ?QAQ 1.difference of cameras space 2 some discussion
Haitao Xiao's user avatar
0 votes
1 answer
19 views

Camera pose not updated for render

I created a script to render images with different came poses with Blender 4.0. But I always get the same image, the camera pose is not updated. I tried with the python interpreter, blender script tab,...
Apo's user avatar
  • 33
1 vote
0 answers
30 views

Calculate the pixel location of an object in the rendered result

I'm implementing a simple script to calculate the location of an object (which is a 2D plane) in the rendered image: ...
Ta Thanh Dinh's user avatar
1 vote
1 answer
28 views

bpy: Defining object location in view coordinates using the projection matrix

I want to scatter multiple objects inside the view frustum of the active camera. In theory it is easy: Generate a random 3D Vector with values in [0..1] Read the projection and camera matrices of the ...
Ismir Egal's user avatar
0 votes
0 answers
41 views

Automatically Camera animation (jumping from one object to another)

I was wondering if there is a script or automation for the Blender Cam to automatically jump from one object to the next. The background is as follows: I am in the process of creating a photo show in ...
Benjamin's user avatar
0 votes
0 answers
80 views

Camera rotating around the object in a regular way with python blender

I want a camera that rotates regularly around the object I have taken with the blender package in python, and I want to take the image of the three-dimensional object from certain angles at the time ...
Serhat Bilal's user avatar
0 votes
0 answers
12 views

Confusing results when trying to align viewport to camera with Python

I have a scene with a 40mm camera, for a reference I put some boxes that visually touch camera region borders. Viewport is close to 16:9 — just like the scene format. Then I disable the camera view ...
Sergey Kritskiy's user avatar
0 votes
0 answers
45 views

How to calculate ortho_scale of a viewport?

There is an addon that allows you to save the current viewport to the camera. But the addon only works in perspective mode. For orthographic mode, you need to calculate the ortho_scale of the viewport ...
Vadim Tss's user avatar
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
0 votes
1 answer
56 views

Add Background Movie Clip with Python

I'll have to rotoscope some movie clips with different resolution and frame rate. I'm trying to write a script to help, but I did'nt manage to add the film in the Background Images properties of the ...
adrien's user avatar
  • 21
0 votes
0 answers
18 views

Create a skewed (non-physical) camera with a custom matrix

I'm creating a stylized world where the vertical dimension is distorted relative to the forward dimension. Right now in script, I'm doing : ...
pixelpax's user avatar
  • 101

15 30 50 per page
1
2 3 4 5
17