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:27:51 EDT (-0400)
  Re: Applying an image map to a transparent object  
From: Curtis R  Anderson
Date: 6 Aug 1998 00:57:15
Message: <35C92998.7C63DE43@intelligencia.com>
Jerry Anning wrote:
> 
> 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.

I will give that a try. (Maybe something to that effect can be put in
the manual...?)
-- 
Curtis R. Anderson, Co-creator of "Gleepy the Hen", SP 2.5?, KoX
http://www.servtech.com/~cra/         | Welcome to Gnu-EMACS:
ftp://ftp.servtech.com/pub/users/cra/ |  Press BACKSPACE For Help
mailto:gle### [at] intelligenciacom       | (insert Yiddish words here)


Post a reply to this message

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