|
|
'fog' and "invisible" container objects not looking right is a common
problem and there isn't a real good solution far as I know. Best
thing you can try is to increase the container object 'filter' a
little above 1. Might see if you can remove the fog filter value from
its vector too if you can without disrupting everything.
From what I've found it's a game of juggling transparency around until
you get a clear enough object. If anyone knows another way I need to
write it down here.
Bob
Josh Franklin <sad### [at] yahoocom> wrote in message
news:37E99AC9.7D7872FA@yahoo.com...
> I'm trying to add fog into a scene, but for some reason, it messes
up my
> media objects. For example, I have a cylinder with media to simulate
> fire...without fog it looks great, but when I add in fog, the
cylinder
> becomes visible like I gave it a filter pigment. does anyone know
how to
> get rid of this?
>
>
> thanks
> -Josh
> here is the fog code:
>
>
> file://1 unit = 1 meter
> fog {
> fog_type 2 distance 80 color rgbf < 0.6, 0.4, 0.6, 0.4 >
> turbulence 0.6 turb_depth 10
> omega .75 lambda 2.5 octaves 3
> fog_offset 0.8 fog_alt 1.3
> }
>
> file://here is the fire
> #declare fire =
> cylinder {
> <0, 0.01, 0 >, < 0, 2, 0 >, 1
> pigment { color rgbf 1 }
> interior {
> media {
> emission 1.2
> intervals 20
> samples 1, 10
> confidence 0.9999
> variance 1/1000
> density {
> cylindrical
> poly_wave pi
> turbulence 1.1
> color_map {
> [0.0 color rgbt < 0, 0, 0, -1 > ]
> [0.3 color rgbf <1, .45, 0, -.9 >]
> [0.8 color rgbf <1, 1, 0, .8 >]
> [1.0 color rgbt < 0, 0, 0, -1 > ]
> }
> scale < 1.4, .8, .8 >
> rotate 90*z rotate 85*y
> }
> }
> }
> hollow
> }
Post a reply to this message
|
|