POV-Ray : Newsgroups : povray.general : visible flourescent/neon tube light : Re: visible flourescent/neon tube light Server Time
16 Nov 2024 09:21:48 EST (-0500)
  Re: visible flourescent/neon tube light  
From: Thomas Willhalm
Date: 9 Sep 1998 04:38:01
Message: <qqmemtlwxbb.fsf@goldach.fmi.uni-konstanz.de>
"Edward Lotter" <_lot### [at] loopcom> writes:

> Try as I might (and search as I might) I have not been able to find a
> solution to this one!
[fruitless tries snipped]
> 
> How does one render a visible flourescent tube (like those in an office
> ceiling)?
> Or even a neon sign??

Why not place a set of point light sources in a tube. Something like this

#declare nmb=0;
#while (nmb<=10)
   light_source { nmb*y color rgb 0.1 }
   #declare nmb=nmb+1;
#end
cylinder { <0,-0.5,0>, <0,10.5,0>, 0.2 pigment { color rgbt <1,0.6,0.6,0.5> } }

I haven't tested the code, but in principle it should work.

Thomas

-- 
http://www.fmi.uni-konstanz.de/~willhalm


Post a reply to this message

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