POV-Ray : Newsgroups : povray.general : Transparent polygons and photons Server Time
1 Aug 2024 14:27:22 EDT (-0400)
  Transparent polygons and photons (Message 1 to 1 of 1)  
From: Graeme
Subject: Transparent polygons and photons
Date: 23 Oct 2005 19:35:00
Message: <web.435c1d03850b0e9cbf920de80@news.povray.org>
Hi,

I've been trying to get a partially transparent polygon which photons will
pass through, but have thus far had no luck.
When I replace the polygon object with a box (keeping the same texture,
finish and photon flags), the box is transparent and the photons pass right
through. The photons are stopped at the polygon, regardless of the filter
or transmit values or the direction of the light.

Does anyone know how to make a polygon transparent?


Current code looks like:

    object {
      polygon{4,<-HW,-HH,-HW>,<-HW,HH,-HW>,<HW,HH,HW>,<HW,-HH,HW>}
      texture {
        pigment { Col_Glass_General
        }//pigment
      } //texture
      //finish { ambient 0 diffuse 0 reflection { 0.1 }}
      photons {
        target
        refraction on
        reflection on
      }//photons
    }//object


It's placed in a box filled with a scattering media and a cylindrical light
on it I can see the scattered light both before the polygon and after the
box when I use that instead.


Post a reply to this message

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