POV-Ray : Newsgroups : povray.general : outlined image : Re: outlined image Server Time
11 Aug 2024 07:17:05 EDT (-0400)
  Re: outlined image  
From: SamuelT 
Date: 26 Aug 1999 01:26:35
Message: <37C4D0F8.85590B3F@aol.com>
I *had* to reply to this since I was just working on a webpage. What I did
for my transparent gifs was determine my dominant background color on my
webpage. Bluegreen. O.k. I then made the background in my pov scene a
similar color. I rendered my object using that background plus good
antialiasing. +a +r4 in the command line worked well for me. In PSP (Paint
Shop Pro) I selected the background color as the transparent color.

I was careful not to make any color within my object the same as the color
I was to make transparent.

The antialiasing made it to where my transparent gif blended with my
webpage's background. This method of making transparent gifs works best
for rounded objects, such as circles. It is also the all-around best way
to make a transparent gif that I have found.

Bob Hughes wrote:

> Are you attempting this with Jpg? No, not likely if you even half know
> what you're doing. Far as I know, and I know only a tiny bit, Gif is
> the only thing that works for the typical browser. May be that Png
> will sometimes if not always, I just don't know. Besides that, do not
> use a 'sky_sphere' or 'background' color (nothing or a plane instead
> for example) and try the alpha channel out if you can. The DOC will
> explain somewhat. Others here probably have a better game plan, but
> what I'd do is select a transparent color for a Gif in a image
> processing program is all.
>
> Bob
>
> glenk10 <gle### [at] concentricnet> wrote in message
> news:37C### [at] concentricnet...
> > I have graphic files in vector format that I use the Polygon or
> > Prism commands of Povray to make images.  So far so good.  But I
> > want to knock out the background as though the image is outlined so
> > I can use the image on a Web page and have the background of the Web
> > page show thru.
> >
> > I hav'nt been having any luck doing this with no_background or a
> > transparent backgound.  Any suggestions?  Thanks for any ideas.
> > Sorry if this is a FAQ, I did'nt find it anywhere....
> >
> > Glen

--
Samuel Benge

E-Mail: STB### [at] aolcom
Website: http://members.aol.com/stbenge

"Ni!"


Post a reply to this message

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