POV-Ray : Newsgroups : povray.general : QUESTION: How to Emit Light? : Re: QUESTION: How to Emit Light? Server Time
19 Apr 2024 07:36:33 EDT (-0400)
  Re: QUESTION: How to Emit Light?  
From: Alain
Date: 2 Dec 2017 14:30:35
Message: <5a22ff5b$1@news.povray.org>
Le 17-12-02 à 03:04, Sven Littkowski a écrit :
> On 02.12.2017 00:01, clipka wrote:
>> What do you mean by "illuminate their neighborhood"? Do you want the
>> rings to cast light onto nearby objects, or do you want a glowing "halo"
>> around the rings?
> 
> Hi, thanks for your time. :-)
> 
> I want to cast light onto nearby objects without having to use radiosity
> (I get already a nice illumination with radiosity, but I like it without
> radiosity, too, if possible), but I also want a glow around the objects.
> 
> ---
> Diese E-Mail wurde von AVG auf Viren geprüft.
> http://www.avg.com
> 

Remove the interior as it's not needed.

Add "no_shadow" to your torus.
Place a few lights inside the torus along it's major radius.
Make sure that they are fading lights.

#declare Light_Torus = union{
  torus { 2.475 0.025 }
  #for(P, 0, 330, 30)//add 12 lights
   light_source{2.475*x, rgb < 0.8784314,  0.2,  0.003921569 >
    area_light 0*x, 0.3*z, 1, 5 adaptive 0
    fade_distance 0.3 fade_power 2
    rotate P*y
   }
  #end
  no_shadow
  torus { 2.475 0.065 hollow // For the glowing aura
   pigment{rgbt 1}
   media{ samples 5 // Enough for that simple media
    emission < 0.8784314,  0.2,  0.003921569 >*5
    }
  }
}

union{
  object{Light_Torus rotate 90*z }
  object{Light_Torus rotate 90*z rotate 120*y}
  object{Light_Torus rotate 90*z rotate 240*y}
  pigment { color rgb < 0.8784314,  0.2,  0.003921569 > }
  emission 10
}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.