POV-Ray : Newsgroups : povray.general : transparency and media : Re: transparency and media Server Time
5 Aug 2024 08:26:04 EDT (-0400)
  Re: transparency and media  
From: Tom A 
Date: 20 Dec 2002 10:41:23
Message: <3E033A23.C8C4AED5@my-deja.com>
Renderdog wrote:
> 
> Tom A. wrote:
> 
> >How do you create an alpha channel?  Can POV do it?  Or do you need to
> >use a picture editor?
> 
> To create a transparent image map, I use in indexed gif file and:
> 
>  transmit -index number-, 1.0
> 
> to make that color 100% transparent.

So, the code would be something like:

  sphere{<0,0,0>,1
    pigment{
      image_map {
        gif "world.gif"
        map_type 1
         transmit 0, 1.0
      }
    }
  }

(he asks from a PC without most of his usual graphics programs)?

-- 
Tom A.
"Archie!  You are headstrong.  I am imperious.  It's a miracle 
we get along as well as we do." - Nero Wolf
Deja mail is gone.  Look for me at raugost at yahoo . com


Post a reply to this message

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