POV-Ray : Newsgroups : povray.binaries.images : Cubic panorama Server Time
1 Aug 2024 06:26:43 EDT (-0400)
  Cubic panorama (Message 1 to 3 of 3)  
From: triple r
Subject: Cubic panorama
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


 

From: clipka
Subject: Re: Cubic panorama
Date: 7 Jan 2009 03:20:00
Message: <web.496464e3fbde5d71fe60fc2c0@news.povray.org>
"triple_r" <nomail@nomail> wrote:
> 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.

If your only intention is to use the resulting shot in another POV scene, then
it's probably even better to use a spherical (lat/long) camera, so you just use
spherical projection when using the shot. No trouble with edges at all, no
problem with different shots using different radiosity data (because it's all
one single shot anyway), and virtually no problem with interpolation either.


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Cubic panorama
Date: 15 Jan 2009 09:13:30
Message: <496f4489@news.povray.org>
clipka wrote:
> If your only intention is to use the resulting shot in another POV scene,
> then it's probably even better to use a spherical (lat/long) camera, so
> you just use spherical projection when using the shot. No trouble with
> edges at all, no problem with different shots using different radiosity
> data (because it's all one single shot anyway), and virtually no problem
> with interpolation either.

But if the idea is using it in a panorama viewer, the "poles" of the sphere
usually look ugly.


Post a reply to this message

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