POV-Ray : Newsgroups : povray.general : Color function question : Re: Color function question Server Time
4 Aug 2024 00:20:57 EDT (-0400)
  Re: Color function question  
From: Hughes, B 
Date: 5 Sep 2003 22:59:10
Message: <3f594d7e@news.povray.org>
"Slime" <fak### [at] emailaddress> wrote in message
news:3f592147$1@news.povray.org...
> > ....it works but everywhere outside <0,0,0> to <1,1,0> on the plane is
set
> to
> > a medium shade of gray. Am I doing something wrong?
>
> That sounds like the correct behavior. Perhaps you didn't want to include
> the "once" keyword?

If the idea was to place a single image onto the plane and leave the rest
transparent then I don't believe there's any way to do that in this way.
You'd need to clip away all areas surrounding the image or tell it to be
transparent. Neither can be done within a function pigment, FAIK anyway.

Checking on that here, what you see is actually white not gray. Use an
ambient 1 for the finish and you'll see. You can modify the pattern using
other functions or equations put in with the image function but that won't
remove parts, you still get a whole opaque plane. I tried combining a
transparent pigment and am not able to get just the image to show and leave
the rest empty.

Maybe someone else has more to say concerning this...?

Bob H.


Post a reply to this message

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