POV-Ray : Newsgroups : povray.binaries.images : billboard tint Server Time
20 May 2024 02:09:36 EDT (-0400)
  billboard tint (Message 21 to 21 of 21)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Mike Miller
Subject: Re: billboard tint
Date: 7 Nov 2023 15:30:00
Message: <web.654a9d44310e11ef22cdb33dabc9342@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:
> "Mike Miller" <mil### [at] gmailcom> wrote:
> >
> > I found the problem. It turns out that if add even a small amount of turbulence
> > (.3 or more) to the fog definition - it tints the alpha portion of the image
> > map. I set the turbulence to zero and it cleared it up. I'm not sure why, but it
> > worked.
>
> Yeah, that's a strange problem; I'm glad you found a solution.
>
> > #declare sprite = box {<-.5,0,-.01>,<.5,1,.01> } ;
> > object { sprite material {M_grass_A} scale <30,40,1> translate <0,-1,0>}
>
> Just thought I would mention that you can make a box object with zero thickness,
> which might be better for billboards. I usually use that trick.
>
> #declare sprite = box {<-.5,0,0>,<.5,1,0> };
>
> I wonder if that would have any effect on your original problem.
>
> --------
> A box can't be *scaled* to have zero-thickness, but it can be made that way
> initially.

Thanks,
Good to know. I ended up using a sphere intersected with a plane for most of the
curved leaves. I'll give the zero-depth box a try for a true billboard.
Miller


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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