|
![](/i/fill.gif) |
JS wrote:
> I have been using Pov-ray to generate textures for my Direct3D game and thought
> it would be perfect for creating the 6 textures to be mapped to the skybox in
> my game. Using a sky_sphere, I have the camera with a FOV of 90 degrees and
> rotated the camera as needed and can line up all by the top and bottom textures
> to the front texture.
>
> This is how each texture generated by Pov-Ray with the camera rotated are lined
> up:
>
> top
> |
> left-front-right-back
> |
> bottom
>
> The left texture lines up perfectly with the front, the front with the right and
> the right with the back. But the top and bottom do not line up with the front
> texture of the sky sphere.
>
> These are the camera rotation angles I have used:
>
> front=(0,180,0)
> left=(0,-90,0)
> back=(0,0,0)
> right=(0,90,0)
> up=(-90,90,0)
> down=(90,90,0)
>
> The camera setup I have is this:
>
> camera {
> location <0,0,0>
> direction 0.5*z right x up 0.75*y
> look_at <0,0,1>
> rotate <0,0,0>}
>
> Which is meant to give a FOV of 90 degrees.
>
You have an horizontal FOV of 90 degrees, but a smaller vertical
FOV. You should use "up y" instead of "up 0.75*y".
Jerome
--
mailto:jeb### [at] free fr
http://jeberger.free.fr
Jabber: jeb### [at] jabber fr
Post a reply to this message
|
![](/i/fill.gif) |