POV-Ray : Newsgroups : povray.newusers : optic guide. : Re: optic guide. Server Time
29 Jul 2024 04:23:02 EDT (-0400)
  Re: optic guide.  
From: TP Electronics
Date: 10 Jun 2007 09:35:28
Message: <466bfe20$1@news.povray.org>
Yes it is correct.
The close I arrived. with following code:

global_settings {photons { count 20000 autostop 0 jitter .4  } }
camera {location <0, 0,-12.0> look_at 0 angle 30 }

#declare LED_RED=
light_source { <0, 0, 0> color Red    }

#declare  KNOPP=
difference
{
        cylinder {<0,2,0><0,10,0>,12/2 }
        cylinder {<0,0,0><0,2+1.35,0>,3/2 }
        texture{T_Glass1 } finish {ambient .01 diffuse .9}

}
background {Gray20}

union
{
 object { LED_RED translate<6.000000-4.25,00000,6.000000>}
 object { LED_RED translate<6.000000+4.25,00000,6.000000>}
 //cylinder {<0,2,0><0,10,0>,6 texture{T_Glass1 } finish {ambient .01 
diffuse .5}
 object { KNOPP translate<6.000000,1.700000,6.000000>}

scale <.1,.1,.1>
rotate <30,0,0>
}
//End union

"Marc" <jac### [at] wanadoofr> skrev i melding 
news:466baf69$1@news.povray.org...
>

> 466ba37d$1@news.povray.org...
>> Well it must be the rigth way but do not understand how to use it.
>> I do not find "clear" example. It is a picture to show what I want to do
>> but not example of code.
>
> maybe a  drawing by hand :-)
>
> Marc
>
> If you want an accurate simulation, POV ins not the good way.
> But if you accept to fake it, there are solutions
> If I understand you put a LED behind a transparent/filtering piece of
> plastic.
>
> Marc
>
>
>


Post a reply to this message


Attachments:
Download 'photon.JPG' (10 KB)

Preview of image 'photon.JPG'
photon.JPG


 

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