POV-Ray : Newsgroups : povray.general : Skybox problem : Re: Skybox problem Server Time
30 Jul 2024 08:21:18 EDT (-0400)
  Re: Skybox problem  
From: JS
Date: 3 May 2009 12:40:00
Message: <web.49fdc84b27a5a29229cb8530@news.povray.org>
I hope I got this right, so that forward is Z positive:

#declare camForward=
camera {
   right x
   up y
   direction z*.5
   location 0
}
#declare camBehind=
camera {
   right -x
   up y
   direction -z*.5
   location 0
}
#declare camBottom=
camera {
   right x
   up z
   direction -y*.5
   location 0
}
#declare camTop=
camera {
   right x
   up -z
   direction y*.5
   location 0
}
#declare camLeft=
camera {
   right z
   up y
   direction -x*.5
   location 0
}
#declare camRight=
camera {
   right -z
   up y
   direction x*.5
   location 0
}

And I found that the bottom texture has to be rotated 270 degrees, I'm not sure
why, maybe something to do with the polygons in the skybox.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.