![](/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) |
Hi, I'm new to PovRay and raytracing, since I downloaded it I love it.
I'm trying to make a outdoor scene with a "flame" (sphere with some media
in it). Without using fog the scene looks ok, but when using fog, the
sphere which contains the media becomes visible. Changing the fog distance
helps, but ruins the rest of the scene.
The sphere is declared like this:
#declare flame = sphere{
<0,0,0>,2
pigment { color transmit 1.0 }
hollow
interior {
media {
absorption 50
emission 28
scattering {1, 1}
density {fire}
translate wind*clock
}
}
}
I also tried
pigment { rgbf <1,1,1,1> }
but nothing seems to work. Is there a way to make the sphere invisible so
that even the fog continues inside it, or at least not "condense" around
it's boundarys? Any suggestions would be welcome.
Cheers,
Louis
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) |
Louis Somers <nos### [at] student hro nl> wrote in message
news:Xns### [at] 204 213 191 226...
> Hi, I'm new to PovRay and raytracing, since I downloaded it I love it.
>
> I'm trying to make a outdoor scene with a "flame" (sphere with some media
> in it). Without using fog the scene looks ok, but when using fog, the
> sphere which contains the media becomes visible. Changing the fog distance
> helps, but ruins the rest of the scene.
Sounds like the same problem I had...
http://news.povray.org/povray.general/31751/
Make sure there's no filter component in your fog.
RG
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) |
"gonzo" <rgo### [at] lanset com> wrote in news:3f2a12a5$1@news.povray.org:
> Sounds like the same problem I had...
> http://news.povray.org/povray.general/31751/
>
> Make sure there's no filter component in your fog.
>
> RG
Thanks, that works. Unfortunately transmit also causes the effect. But at
least I know it's not the container I should be looking at.
I'm using the fog just to fade the horizon a bit, without filter or
transmit it's too bright.
I now have it set to this:
fog{fog_type 2
rgb <0.9, 0.9, 0.9>
transmit 0.5
fog_offset 20
fog_alt 7
distance 70}
It does help if I change the distance to 250 (the effect is still there,
but so dim that no one will notice unless they are really looking for it).
but then there is a visible borderline in the plane before the horizon
where the fog starts.
Any ideas maybe how to fade that borderline out or something? That would be
a good workaround.
Thanks again,
Louis
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) |
Louis Somers wrote:
>I'm using the fog just to fade the horizon a bit, without filter or
>transmit it's too bright.
>
>I now have it set to this:
>
>fog{fog_type 2
> rgb <0.9, 0.9, 0.9>
> transmit 0.5
> fog_offset 20
> fog_alt 7
> distance 70}
>
Well, bright is pretty easy to deal with, just make it darker.
rgb <0.5,0.5,0.5> (or whatever value works...)
You can also have multiple fogs, so maybe one set waaaay back with a higher
alt value, and another in front close to the ground and darker...
RG
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) |