POV-Ray : Newsgroups : povray.general : Artifacts : Re: Artifacts Server Time
10 Aug 2024 07:16:27 EDT (-0400)
  Re: Artifacts  
From: Josh English
Date: 1 Feb 2000 16:25:08
Message: <38974F05.5CA97650@spiritone.com>
Try making the box in fluege2 hollow, or try replacing it with two triangles.
The media won't appear because the box is technically closed, and has an
interior that is unaffected by the media

James Wood wrote:

> James Wood wrote:
> >
> > I have a problem that I need help with!
> > I have a image map that has a white background that I am trying to make
> > transparent. The index of the color is 0 so I am using "filter 0,1".
> > povray 3.1 makes the background transparent ok; but it leaves an
> > artifact of the box or plane that it is mapped to, like the transparent
> > part is refracting the light or something. How do I get rid of the
> > artifact so that the only thing left is the non transparent part of the
> > image?
>
> This is the entire scene file. The only difference is that the index has
> changed from 0 to 255. attached is the scene that this creates. also
> attached is the gif file for the image map
>
> <snip>
> #declare wing_file2="c:\images\vbutterfly.gif"  //wing texture file
>
>    #declare wing_angle = 40
>   #declare scale_butterfly = .5
>  #declare trans_butterfly = <0,0,0>
>  #declare rotate_butterfly = <0,0,0>
> #declare fluege2=box{<0,0,0>,<1,1,0>
>  pigment{
>   image_map{
>    gif wing_file2
>    filter 255,1
>      }
>    }
>    finish{ambient 0.0}
>    finish{diffuse 1}
>    scale <0.5596,1,1>
>    translate<-0.5796,0,0>
>  }
>
> <snip>

--
Josh English
eng### [at] spiritonecom
"May your hopes, dreams, and plans not be destroyed by a few zeros."


Post a reply to this message

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