POV-Ray : Newsgroups : povray.binaries.images : butterfly tunnel : Re: butterfly tunnel Server Time
4 Nov 2024 20:12:56 EST (-0500)
  Re: butterfly tunnel  
From: Jim Holsenback
Date: 14 Mar 2008 11:33:49
Message: <47daa8ed@news.povray.org>
"Russell Towle" <rto### [at] inreachcom> wrote in message 
news:web.47da964a6058b50f5dd2a470@news.povray.org...
>
> The butterfly is from a photo of mine in which I managed to carefully 
> select
> only the butterfly itself and then make everything else black. POV_Ray's
> image_map syntax allows transparency. Here is how I did it:
>
> box {< 0, 0, -.001>, < 1, 1, 0.001>
> pigment {
> image_map {
>  gif "black3016.gif"
>  transmit 0, 1
>  map_type 0 //planar
>  once
>  interpolate 0 //none
> }
> }
> finish{ambient .5}
> }

ah .... thought it was a model (casts shadows) but i see that transmit 0,1 
handles the black area .... thanks


Post a reply to this message

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