-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hello:
I appreciate the solid work you've contributed and I‘m very interested in it.
But I have some question for the output(angles). I am trying to correlate the output of "Orient Anything" with some existing coordinate systems(OpenGL, blender, OpenCV...), but I have encountered some issues in this process.
- code of camera location: Is the output angle in spherical coordinates? However, the calculation method for spherical coordinates is as follows:
Line 250 in 23c966d
camera_location = [-1*radius * math.cos(phi), -1*radius * math.tan(theta), radius * math.sin(phi)] $(r \sin \theta \cos \phi, r \sin \theta \sin \phi, r \cos \theta)$ . - What is the world coordinate in this project? because I want the transfer the angles which output via Orient Anything to xyz basis in another coordinate systems(OpenGL). View matrix: Sound like up vector is [0, 1, 0]?
Orient-Anything/render/core.py
Line 212 in 23c966d
def look_at(eye: Vec3d, target: Vec3d, up: Vec3d = Vec3d(0, -1, 0)) -> Mat4d:
Sorry for bother u.
kidintwo3 and SCUTykLin
Metadata
Metadata
Assignees
Labels
No labels