Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - grashin

Pages: [1]
1
Is it possible to export images with scaling, overlap view mode (attachments) automatically by Python Api?
I also want to know why such operations occur at the build texture step and how they can be removed. Thank you.

2
Python and Java API / How is the rotation matrix of camera generated?
« on: February 15, 2021, 11:58:21 AM »
I'm trying to understand how xml file generates rotation matrix for camera.
I know that in the XML file, the camera data is represented as
r11, r12, r13, t1
r21, r22, r23, t2
r31, r32, r33, t3
0, 0, 0, 1

(t1 t2 t3) - 3D position of camera
R - camera rotation matrix
The camera is supposed to be looking at the center (c1, c2, c3)
And there is a approach named 'The Look-At Camera' to find rotation matrix from center point, camera point and up vector. But I couldn't get the rotation matrix from these two points and up vector (0, 1, 0).
Or is it a wrong assumption, that camera looking at the center, then how is the rotation matrix generated?

Pages: [1]