POV-Ray : Newsgroups : povray.general : transparency and media Server Time
5 Aug 2024 06:10:57 EDT (-0400)
  transparency and media (Message 11 to 13 of 13)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Renderdog
Subject: Re: transparency and media
Date: 19 Dec 2002 16:35:09
Message: <web.3e023aab8a77e58db257b2f0@news.povray.org>
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.


Post a reply to this message

From: Tom A 
Subject: Re: transparency and media
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

From: Renderdog
Subject: Re: transparency and media
Date: 21 Dec 2002 12:35:04
Message: <web.3e04a57c8a77e58d4b5522fd0@news.povray.org>
Tom A. wrote:

>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)?

Yes. Though you've probably tried it by now...


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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