POV-Ray : Newsgroups : povray.advanced-users : Optical modelling of LEDs....real world problem! : Re: Optical modelling of LEDs....real world problem! Server Time
28 Jul 2024 14:33:34 EDT (-0400)
  Re: Optical modelling of LEDs....real world problem!  
From: David Wallace
Date: 25 Apr 2005 14:44:23
Message: <426d3a87$1@news.povray.org>
Orchid XP v2 wrote:
>> Diffusers :- I've tried POVRAY 3.6 and having an interior with various
>> scattering parameters....but can't get close to what happens when light
>> hits a real world piece of opaque plastic......any help in this in
>> particular would be much appreciated. If I can get this right, I can
>> simplify my LED models.
> 
> 
> Hmm... you're gonna have fun with this! POV-Ray doesn't really *scatter* 
> light when it hits scattering media. That particular media just "shows 
> up" when light hits it; the light itself is attenuated, but it sure 
> isn't "scattered" in any meaningful way. AFAIK, not a way to simulate 
> this accurately either...
> 
> POV-Ray is really designed for building nice-looking pictures. Is 
> doesn't do "physically correct" quite so well... Still, maybe somebody 
> else here can come up with something...?

Give the lit LED a high ambient value and use basic radiosity (recursion level 
1, count 30, error_bound 0.5, etc.)  Pigment is a solid rgbf<1,0,0,0.65> (play 
with other hues to taste).  Check the radiosity tutorial for an example of the 
effect.

--------------
David Wallace
TenArbor Consulting
"Just In Time Cash"
www.tenarbor.com
1-866-572-CASH


Post a reply to this message

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