POV-Ray : Newsgroups : povray.bugreports : Transmit issues : Transmit issues Server Time
14 May 2024 10:35:59 EDT (-0400)
  Transmit issues  
From: Dave Blandston
Date: 8 Dec 2009 05:50:01
Message: <web.4b1e2eb3f530bd88deaebe110@news.povray.org>
Hi there, I noticed a couple problems with the transmit feature. I made a simple
scene demonstrating the problems. I also made two demonstration images. One
image is made with radiosity and one without. The scene consists of test objects
(cylinders)with varying amounts of transmit. Three objects are placed slightly
in front of a white plane and three cylinders are placed with the ends extending
slightlly into the plane.

The image without radiosity,

http://mysite.verizon.net/moronicon/Transmit-NoRadiosity.jpg

shows that the cylinder with transmit set to .8 and placed slightly in front of
the plane (right middle object) doesn't appear tinted enough from the sides, but
does appear tinted correctly from the top end.

The image with radiosity,

http://mysite.verizon.net/moronicon/Transmit-Radiosity.jpg

shows that trasmit values don't appear to be taken into account properly when
calculating radiosity.

Here is the scene used to generate the images:

#local UseRadiosity = no; //Change to yes to see the radiosity problem

global_settings {
   assumed_gamma 2.2
   #if (UseRadiosity)
      radiosity {
         count 300
         error_bound .02
         pretrace_start .08
         pretrace_end .02
         recursion_limit 1
      }
   #end
}

camera {
   location <0, 0, -4>
   look_at <0, 0, 0>
}

#local White = color rgb <1, 1, 1>;
#local TestColor = color rgb <160, 255, 90> / 255;

#if (UseRadiosity)
   difference {
      sphere {0, 2001}
      sphere {0, 2000}
      pigment {color White * 16}
   }
#else
   light_source {<10, -15, -50> color White * 1.3 shadowless}
#end

#local TestObject = cylinder {<0, 0, -1> <0, 0, 0>, .3}

plane {z, 0 inverse texture {pigment {color White}}}

/* Left column is three cylinders placed slightly in front of a white plane, */
/* with transmit values (from top down) of 0, .8, and 1.                     */

object {
   TestObject
   texture {pigment {color TestColor transmit 0}}
   translate <-1, 1, -.01>
}

object {
   TestObject
   texture {pigment {color TestColor transmit .8}}
   translate <-1, 0, -.01>
}

object {
   TestObject
   texture {pigment {color TestColor transmit 1}}
   translate <-1, -1, -.01>
}

/* Right column is three cylinders extending slightly into a white plane, */
/* with transmit values (from top down) of 0, .8, and 1.                  */

object {
   TestObject
   texture {pigment {color TestColor transmit 0}}
   translate <1, 1, .01>
}

object {
   TestObject
   texture {pigment {color TestColor transmit .8}}
   translate <1, 0, .01>
}

object {
   TestObject
   texture {pigment {color TestColor transmit 1}}
   translate <1, -1, .01>
}


Post a reply to this message

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