|
|
I am writting an .an8 to povray converter and i have a problem of camera
with povray (i don't know how to use it very well).
My camera don't seem to be well converted because my walls are deformed.
Look at this:
http:\\texel3d.free.fr\bugs\ani2pov.jpg
The .an8 file store this information:
_ Location in the scene (x,y,z)
_Orientation (quaternion)
_ fov
I use the Anim8or location of the camera.
And i convert the an8 orientation quaternion in order to have a target
position (like in OpenGL with gluLookAt), and an Up vector.
And i write something like this in a pov file:
camera {
location <150.000000,100.000000,200.000000>
up <-0.182860,0.952424,-0.243825>
right <-4/3,0,0> // for the right hand
look_at <144.285538,96.952240,192.380676>
}
My problem can't come from the object (i have no probleme with My .an8
OpenGL viewer).
Why dose it not work? i have tried to add "angle 90" because it seems to be
the fov in the documentation and it's worse!
What do i have to write in a pov file to put a camera when i have this
informations (location, orientation and fov)?
you can find the .an8 and the povray file here:
http:\\texel3d.free.fr\bugs\ani2pov_bug.zip
Thanks.
Post a reply to this message
|
|