POV-Ray : Newsgroups : povray.newusers : photons and refraction : Re: photons and refraction Server Time
28 Jul 2024 20:31:19 EDT (-0400)
  Re: photons and refraction  
From: Urs Holzer
Date: 17 Aug 2007 13:19:02
Message: <46c5d886@news.povray.org>
Hi

> Hi everyone,
> I'm new to povray and have recently been playing around with media an
d

understand
> how these things work, but I haven't been able to get it to work as I

would
> expect.
> 
> What is supposed to happen, is a narrow beam of light from a spotligh
t
> enters some scattering media so it shows up, enters a glass block at
an
> angle, where it is refracted, and then exits at the other side, where

it
> shows up in the media again.
> 
> What actually happens is it shows up before it strikes the block, but

then

he
> source code of other scenes that do something similar (particularly
the
> advanced/optics.pov scene that comes with povray) but I can't really
tell
> what I am doing wrong.
> 
> Here is what I have so far:
> [...]
> 
> // Glass block
> box {<-0.5,-0.5,-2>, <0.5,0.5,2>















> 
> }

I think you must make the glass block hollow.

> [...]


Post a reply to this message

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