POV-Ray : Newsgroups : povray.binaries.programming : Idea: Sprite rendering option : Re: Idea: Sprite rendering option Server Time
4 May 2024 14:47:16 EDT (-0400)
  Re: Idea: Sprite rendering option  
From: Peter Popov
Date: 10 Jan 1999 22:46:07
Message: <36997386.125256196@news.povray.org>
On Sun, 10 Jan 1999 14:28:58 -0600, Mike <Ama### [at] aolcom> wrote:

>This is just an idea, but perhaps if the object being rendered was given
>a white ambient finish and rendered with a black background with AA on,
>this would make a good alpha channel for the color render. I haven't
>tried it before though.
>
>-Mike

I've tried this when I have complex texturing etc., but it's generally
easier to use the +UA option and output to png or tga. The alpha
channel thus generated is pretty much what you need, though on a
bright backgtound you still have to remove the black matte.

>Nathan Kopp wrote:
>> 
>> Here's the solution that I use:  I render the image at much higher resolution
>> than I intend to use, with antialiasing turned OFF.  Then I open it in a paint
>> program that handles transparancy (I use Paint Shop Pro 5).  Next, I remove the
>> background color, then resize the image down to the size I want.  PSP does a
>> good job resampling, so you get the effect of antialiasing but the edges
>> antialias to the alpha channel instead of to black.
>> 
>> -Nathan


Post a reply to this message

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