|
![](/i/fill.gif) |
//Here is a Glow object, with 3 differents densities, spherical, boxed,
cylindrical.
//Is it possible to get an object like Torus_glow,Text_glow,
everything_glow etc
//Thanks a lot
//Friendly
//Sylvain
// GLOW001
#declare toto= 0.5/0.1 ;
union {//Start
#macro Glowc(GlowColor, Scale, FadeDistance, FadePower) // From Warp
sphere { 0, 1
hollow
no_shadow
pigment { rgbft <1,1,1,0,1> }
interior { media
{ emission 1/Scale
density {
///////////////////////////////////////////////////////
//Here is 3 ways. How to get torus form ? etc...
//spherical
boxed
//cylindrical
/////////////////////////////////////////
density_map
{ [0 rgb 0]
[0.3 rgb 0] //couronne
[0.5 rgb GlowColor*.5/toto]
[1 rgb GlowColor*1]
}
warp {turbulence <0,0,0> octaves 4 omega 0.3 lambda 3}
} scale 1
samples 1,1
intervals 1
confidence 0.1
method 3
}
}
scale Scale
}
#end
object {Glowc(<1,1,1>*1*1, 1 ,6,2 )}
scale <1,1,1>
rotate <0,0,0>
translate <0,0,0>
}//end GLOW
//
// ******** OBJECTS *******
//
box { <-1, -1, -1>, <1, 1, 1> pigment {color rgb <1,1,1>}
hollow
scale <7.234578, 15.856436, 13.15844>
translate <-4.549722, -9.695265, 12.010537>
}
camera { // Camera Camera01
location < -2.524, -10.435, 2.208>
sky < 0.00000, 0.00000, 1.00000> // Use right
handed-system
up < 0.0, 0.0, 1.0> // Where Z is up
right < 1.33811, 0.0, 0.0> // Right Vector is
adjusted to compensate for spherical (Moray) vs. planar (POV-Ray) aspect
ratio
angle 17.86818 // Vertical 13.401
look_at < 0.039, -0.151, 0.036>
}
light_source { // Light001
<0.0, 0.0, 0.0>
color rgb <1.000, 1.000, 1.000>
photons {
}
translate <0.984692, -14.212549, 19.073553>
}
Post a reply to this message
|
![](/i/fill.gif) |