POV-Ray : Newsgroups : povray.newusers : Texture : Re: Texture Server Time
29 Jul 2024 22:28:12 EDT (-0400)
  Re: Texture  
From: Bob Hughes
Date: 12 Feb 2005 19:37:31
Message: <420ea14b$1@news.povray.org>
Well, there's nothing to importing them. Simply use an image file that has 
the alpha channel and apply it to the box, as in:

box {
    0,1
    pigment {
        image_map {
            png "alpha.png"
        } // will be centered on both +z and -z faces
    }
}

Where "alpha" is the files name, and png the file type. I think only PNG and 
TGA are accepted, but I'm not completely sure of that. I had to look this up 
in the documentation myself, been a while since I used it. Have a look under 
section 3.5.1.5 Image Map which has a subsection 3.5.1.5.3  Using the Alpha 
Channel

I read this before Marc replied but I was a little confused by the question, 
too, perhaps thinking it more complicated than really is.

Bob Hughes


Post a reply to this message

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