POV-Ray : Newsgroups : povray.newusers : emission penetration into glass : Re: emission penetration into glass Server Time
5 Jul 2024 04:08:34 EDT (-0400)
  Re: emission penetration into glass  
From: Christian Froeschlin
Date: 15 Jun 2010 05:17:38
Message: <4c174532$1@news.povray.org>
Tomohiro wrote:

> 1. Laser beam is hardly visible inside the glass, even if the part
>    of laser beam of the glass is cut using CSG.

This is caused by coincident surfaces of the cutout geometry
and the media containers. POV-Ray can't handle the case very
well when the scene contains two surfaces which exactly match,
even if that would best represent the real world geometry. So
you have to make the hole slightly larger (scale by 1.001).

Or do not cut out any hole at all, the reason you don't get
effect in that case is that you forgot to make the glass box
itself "hollow".

Some suggestions for the glass

o I'd use a fully clear pigment (rgbt 1) for the glass
   and remove ambient, diffuse from the finish.

o Also remove phong since you already use specular.

o Consider adding conserve_energy to the finish

o The ior is much too low for glass, it should be
   somewhere around 1.5. Although it may then no longer
   produce the type of image your looking for.

o You may need to increase max_trace_level, to do so
   add something like global_settings {max_trace_level 20}
   at the beginning of your scene file.

> 2. The usage of CSG gives a distinct outline of the beam, which looks
>    strange.

The problem is that there is no simple "conical" pattern which would
fall off in the way you need. You would need to define your own density
function based on the cone geometry. Alternatively, consider that a
laser should have a cylindrical shape anyway then you can use the
cylindrical pattern.


Post a reply to this message

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