|
|
I'm testing a sample at POV-Ray help (2.3.6 Simple Media Tutorial) that lock
like this:
sphere // transparent sphere containing media
{ 0,.7
pigment { rgbt 1 } hollow
interior
{
media
{ emission 1
density
{ spherical density_map
{ [0 rgb 0]
[0.4 rgb <1,0,0>]
[0.8 rgb <1,1,0>]
[1 rgb 1]
}
}
}
}
translate <-0.5, 1.7, 0.5>
}
but the objects exported by Wings3D use "declare" statement to define the object
geometry and "object" to declare and define objects. So, why I can't get the
same result by using this way:
#declare nebulosa = sphere // transparent sphere containing media
{ 0,.7
translate <0.5, 1.7, 0.5>
}
object { nebulosa
pigment { rgbt 1 } hollow
interior
{
media
{ emission 1
density
{ spherical density_map
{ [0 rgb 0]
[0.4 rgb <1,0,0>]
[0.8 rgb <1,1,0>]
[1 rgb 1]
}
}
}
}
}
I have just moved the pigment an interior properties from "declare" to "object"
and get this result:
http://lh6.ggpht.com/_ZQYpKPHH8hM/SjLyeInLAbI/AAAAAAAAALA/Cg75pZtO9C8/s720/Teste%20Luz%20Volumetrica.jpg
(observe the intersection insed the "glow" sphere)
TIA
Post a reply to this message
|
|