POV-Ray : Newsgroups : povray.general : QUESTION: How to Emit Light? : Re: QUESTION: How to Emit Light? Server Time
26 Apr 2024 21:46:37 EDT (-0400)
  Re: QUESTION: How to Emit Light?  
From: Sven Littkowski
Date: 2 Dec 2017 16:54:12
Message: <5a232104$1@news.povray.org>
Thanks! If I understand correctly, the existing torus cannot be made
glowing (having an aura around it). I have to create a new torus
(thicker diameter), which then is filled with the glow, am I correct?

I will go ahead and create a new surrounding torus, and fill it with
media. Please see below and advise me (I do not have any experience with
media).
--------------------------

union
{
 union // original torus
 {
  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 > }
  pigment { color rgb < 0.8784314,  0.1,  0.003921569 > } // mandatory
orange
  finish { emission 30.0  }
 }
 union // larger glowing torus
 {
  torus { 2.475 0.150 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.150 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.150 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.1,  0.003921569 > } // mandatory
orange
  finish { emission 30.0  }
  interior
  {
   media
   {
    samples 100
//    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
    }
   }
  }
 }
}


---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com


Post a reply to this message

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