POV-Ray : Newsgroups : povray.general : Applying an image map to a transparent object : Re: Applying an image map to a transparent object Server Time
13 Aug 2024 17:25:45 EDT (-0400)
  Re: Applying an image map to a transparent object  
From: Jerry Anning
Date: 5 Aug 1998 01:52:19
Message: <35C7E507.EF06320D@dhol.com>
Curtis R. Anderson wrote:

> Now when I go about applying an image map to one of the CSG components,
> using 3.1 beta 5 for Windows, I do not see the image. Instead it comes
> out black. Alpha channel transparency at least works.

The problem is in the finish.  F_Glass1 sets ambient and diffuse to 0. 
This kills the image map.  All you need to do is replace the finish
statement on the image mapped part with:
finish {
specular 1
roughness .001
reflection 0.1 }

These are the settings of F_Glass1 without the offending ambient and
diffuse statements.  F_Glass1 is ok for the non-image mapped part.  This
worked well for me.  BTW, you need the interior {I_Glass} statement in
the non-image mapped part as well.

Jerry Anning
cle### [at] dholcom


Post a reply to this message

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