POV-Ray : Newsgroups : povray.advanced-users : mapped trasparency : Re: mapped trasparency Server Time
28 Jul 2024 20:20:38 EDT (-0400)
  Re: mapped trasparency  
From: David Wallace
Date: 29 Apr 2004 17:35:45
Message: <40917531@news.povray.org>
> > #declare transTex = texture {
> >   pigment_pattern {function{abs(sin(x*4)+cos(y*8))*0.5}}
> >   texture_map {
> >      [0 pigment {rgbt <0,0,0,1>}]
> >      [1 pigment {MyPigment}]
> >   }
> > }

Another approach which preserves "sine wave" appearance as opposed to
"scallop wave" is this:

pigment_pattern {function{(sin(x*4)+cos(y*8)+2)*0.25}}


Post a reply to this message

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