POV-Ray : Newsgroups : povray.binaries.images : Cubic panorama : Cubic panorama Server Time
1 Aug 2024 04:11:36 EDT (-0400)
  Cubic panorama  
From: triple r
Date: 6 Jan 2009 22:50:01
Message: <web.49642546d6a1d6d3ef2b9ba40@news.povray.org>
I'm not sure if this is useful to anyone, but it turns out cubic panoramas are
very easy.  I just pointed a 90 degree perspective camera in all six
directions, and put the resulting hdr images on six faces of a cube.  The inset
in the example below is rendered with the cube edges on.  With a two-pass method
for radiosity (so all use the same cache data) the edges are completely
invisible.  Any discontinuities are only from the AA (or lack of), not from the
interface.  Aliasing is no problem as long as the original is nicely
anti-aliased and coarse enough.  Next step: OpenGL.

Note:  The edges show if interpolation is on, but this can be fixed by
increasing the camera angle to slightly larger than 90 degrees, only so there
is something to interpolate, rather than extrapolate.  Of course the faces must
be scaled accordingly, but that's just a little trig.

 - Ricky


Post a reply to this message


Attachments:
Download 'pano.jpg' (53 KB)

Preview of image 'pano.jpg'
pano.jpg


 

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