POV-Ray : Newsgroups : povray.newusers : Simulating diamonds : Re: Simulating diamonds Server Time
31 Jul 2024 04:16:52 EDT (-0400)
  Re: Simulating diamonds  
From: Hirak
Date: 23 Jan 2003 01:25:03
Message: <web.3e2f8941d853ff6d19c789af0@news.povray.org>
Christopher James Huff wrote:
>In article <3e22232e[at]news.povray.org>,
> "J.Kosina \(Rebel^v^\)" <sku### [at] hotmailcom> wrote:
>
>> I need to simulate realistic light effects in diamond-shape structures.
>> I see no big trouble in making the shape, but i am no sure about
>> setting material parametres. Also I have heard that raytracing programs are
>> not good at stuff like this.

There is actually some truth to it. Diamond has a very high 'ior' (about
2.4) which causes many internal reflections. It is like once the light ray
enters the diamond, it stays there and only comes out after getting
reflected many times.
Many raytracers (including POV) decide that the light ray is lost after a
certain number of reflections. This is why some portion of your diamond may
look black. Of course, with POV Ray, this is no major problem. You just
have to tell POV that you want to trace for a long time - this is done by
(if I recall correctly) setting the 'max_trace_level' in 'global_settings'.
Hope this helped,
Hirak!


Post a reply to this message

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