|
|
Le 17-12-01 à 23:24, Sven Littkowski a écrit :
> Please see the code below, and let me know, how I can make these rings
> illuminate their neighborhood?
>
> union
> {
> torus { 2.475 0.025 rotate < 0.0, 0.0, 90.0 > translate < 20.0, 0.0,
> 0.0 > rotate < 0.0, 000.0, 0.0 > }
> torus { 2.475 0.025 rotate < 0.0, 0.0, 90.0 > translate < 20.0, 0.0,
> 0.0 > rotate < 0.0, 120.0, 0.0 > }
> torus { 2.475 0.025 rotate < 0.0, 0.0, 90.0 > translate < 20.0, 0.0,
> 0.0 > rotate < 0.0, 240.0, 0.0 > }
> hollow
> pigment { color rgb < 0.8784314, 0.2, 0.003921569 > }
> interior
> {
> media
> {
> samples 20
> // absorption < 3.0, 4.0, 0.5 >*1.0
> emission < 1.0, 1.0, 1.0 >*10.0
> scattering
> {
> 1
> < 0.5, 0.75, 1.5 >*3.0
> extinction 0.5
> }
> }
> }
> finish { emission 10.0 }
> }
>
> ---
> Diese E-Mail wurde von AVG auf Viren geprüft.
> http://www.avg.com
>
Your pigment is opaque, so, you never see the media.
If you only want the tori to illuminate the area, you need to use radiosity.
Can be turned on, using default parameters, by adding an empty radiosity
block in the glabal_settings block:
glabal_settings{radiosity{}}
You parbably need to use beter parameters.
Start with count, something around 100 as a starter.
Reduce pretrace_end from default 0.04 to maybe 0.01.
With emission 10, you get an apparent yellow for the torus, but the
illumination will be orange.
If you want some kind of aura around them, then you need to have a
slightly larger torus around then that will be filled with some emissive
media.
Post a reply to this message
|
|