TallGuy
04-10-2001, 06:18 PM
Hello all,
I am trying to render 3D heightfields using POV. Currently I am using OpenGL to do the display, but would like the option of POV support.
The only issue is getting the same "view angle" for the POV output.
The camera in POV is defined by location, direction, right and look_at parameters (all in X,Y,Z format).
So how do I convert OpenGL settings for Eye, Center, Up, FOV and Rotation into POV compliant Camera settings?
I am not a math guru, so some formulas would be excellent (if anyone understands what I am asking).
POV in this message means the POV-RAY Raytracer from www.povray.org. (http://www.povray.org.)
Best regards,
TallGuy.
[This message has been edited by TallGuy (edited 04-10-2001).]
I am trying to render 3D heightfields using POV. Currently I am using OpenGL to do the display, but would like the option of POV support.
The only issue is getting the same "view angle" for the POV output.
The camera in POV is defined by location, direction, right and look_at parameters (all in X,Y,Z format).
So how do I convert OpenGL settings for Eye, Center, Up, FOV and Rotation into POV compliant Camera settings?
I am not a math guru, so some formulas would be excellent (if anyone understands what I am asking).
POV in this message means the POV-RAY Raytracer from www.povray.org. (http://www.povray.org.)
Best regards,
TallGuy.
[This message has been edited by TallGuy (edited 04-10-2001).]