POV-Ray : Newsgroups : povray.general : Image texture with alpha channel in POV? : Re: Image texture with alpha channel in POV? Server Time
5 Nov 2024 09:21:30 EST (-0500)
  Re: Image texture with alpha channel in POV?  
From: Andreas Kreisig
Date: 18 May 2003 12:43:21
Message: <3ec7b829@news.povray.org>
Gilles Tran wrote:

> Try an image_pattern, like in this page :
> http://www.oyonale.com/ressources/english/xfrog2.htm
> This is not exactly the same problem but I guess it should work.

Hi Gilles!

Thanks for your response. I just have a question regarding your texture 
definition. You wrote on your website:

==========
texture{ 
    image_pattern{jpeg "autleaf_tr"} // used for the transparency 
    texture_map{ 
        [0 pigment{Clear}finish{ambient 0 diffuse 0}] // transparent part, 
no highlights or reflections 
        [1 pigment{image_map{jpeg "autleaf"}} finish{ambient 0 diffuse 1}] 
// leaf pigment 
   } 
} 
==========

What does "{Clear}" mean?

Regards,
Andreas

-- 
http://www.render-zone.com


Post a reply to this message

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