![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Is there any way I can render a 360 degree hemispherical view in POV-Ray? I
want to map a POV sky onto a sky dome in 3D Studio Max.
Jason
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Jason Jong" <nos### [at] redshift com> wrote:
> Is there any way I can render a 360 degree hemispherical view in POV-Ray?
> I want to map a POV sky onto a sky dome in 3D Studio Max.
>
>
You have two options, as far as I can see.
1) Use the "fisheye" camera with a 360 degree angle; this will give you a
circular image that can't be mapped to a sphere as-is with the standard
spherical projection (which is what I assume Max also uses). Rather, you
first have to convert it from polar coordinates to rectangular coordinates.
I know Photoshop has a filter to do this, not sure about other image
manipulation programs.
2) Get MegaPOV (http://nathan.kopp.com/) and use its spherical camera
projection (the MegaPOV manual documents its parameters). This will give you
a rectangular image that is directly mappable to a sphere with standard
spherical mapping.
--
Margus Ramst
Personal e-mail: mar### [at] peak edu ee
TAG (Team Assistance Group) e-mail: mar### [at] tag povray org
Home page http://www.hot.ee/margusrt
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
How do I change the render ratio to 2:1?
"Margus Ramst" <mar### [at] peak edu ee> wrote in message
news:3b195563@news.povray.org...
> 2) Get MegaPOV (http://nathan.kopp.com/) and use its spherical camera
> projection (the MegaPOV manual documents its parameters). This will give
you
> a rectangular image that is directly mappable to a sphere with standard
> spherical mapping.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I'll answer. It's just the output resolution coupled with camera right/up,
so:
+w200 +h100 in the command line, or Width=200 Height=100 in the INI file,
for example. Then:
camera {
location Wherever
right x up y/2 // 1:0.5 = 2:1
look_at Somewhere
}
Bob H.
"Jason Jong" <nos### [at] redshift com> wrote in message
news:3b213925$1@news.povray.org...
> How do I change the render ratio to 2:1?
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Hmm...
Are MegaPOV and its spherical camera compatible with Jaime Vives Piqueres'
stacked clouds macro? It give me an error when I try to render.
Normal POV works fine, except I have to use the fisheye camera. The problem
with that is it doesn't give me a complete hemisphere. The edge of the
circle cuts off before it gets to the horizon.
Jason
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Could you please post what the error says is wrong?
Bob H.
"Jason Jong" <nos### [at] redshift com> wrote in message
news:3b351c8a@news.povray.org...
>
> Are MegaPOV and its spherical camera compatible with Jaime Vives Piqueres'
> stacked clouds macro? It give me an error when I try to render.
>
> Normal POV works fine, except I have to use the fisheye camera. The
problem
> with that is it doesn't give me a complete hemisphere. The edge of the
> circle cuts off before it gets to the horizon.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Here's the error message (the scene renders fine in plain POV):
*******
#macro clouds(dc, lc, h, cl, np, pd, ptr, pturb, pocta, plamb, pomeg, td, s
<----ERROR
C:\Program Files\POV-Ray for Windows v3.1\INCLUDE\i_stsky.inc:32: error:
identifier or expression. expected but s found instead.
Returned from renderer (non-zero return value)
*******
> Could you please post what the error says is wrong?
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
's' is reserved in MegaPOV. Try changing that to S instead, and the small
letter 'r' is too so watch out with that one as well. The trouble is that
color-coded syntax in the CodeMax editor doesn't show those as being
anything, but try and type a t, u, or v and you'll see that those are just
like x,y,z.
Asking at povray.unofficial.patches newsgroup might be the better place to
ask about MegaPOV since people gravitate to there when it concerns that
"custom" version.
Bob H.
"Jason Jong" <nos### [at] redshift com> wrote in message
news:3b380179@news.povray.org...
> Here's the error message (the scene renders fine in plain POV):
>
> *******
>
> #macro clouds(dc, lc, h, cl, np, pd, ptr, pturb, pocta, plamb, pomeg, td,
s
> <----ERROR
>
> C:\Program Files\POV-Ray for Windows v3.1\INCLUDE\i_stsky.inc:32: error:
> identifier or expression. expected but s found instead.
>
> Returned from renderer (non-zero return value)
>
>
> *******
>
> > Could you please post what the error says is wrong?
>
>
>
>
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> 's' is reserved in MegaPOV. Try changing that to S instead
Hey, it works now! Thank you very much.
Jason
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
With a spherical camera, the image comes out as a box with rounded corners,
not a perfect circle. The corners get distorted when I map the image onto a
sky dome in Max. Is there any way to fix this?
Jason
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |