POV-Ray : Newsgroups : povray.windows : Internally lit text as PNG files : Re: Internally lit text as PNG files Server Time
8 Jul 2024 04:48:39 EDT (-0400)
  Re: Internally lit text as PNG files  
From: Chris Colefax
Date: 13 Dec 2000 18:25:14
Message: <3a38055a@news.povray.org>
Jennifer J. Hall <jjh### [at] acsubuffaloedu> wrote:
> I've found that when I render text that is lit internally by an emission
>
> color that when it is output as a PNG file that Microsoft Internet
> Explorer V.5 does not show the color correctly.  However, Netscape
> Navigator still does.  If I render the file as a bitmap and then use
> CorelDRAW V. 8 to convert the file into a PNG file it will be displayed
> correctly in both Internet Explorer and Netscape Navigator.  Is there
> something I should know about the settings that will make the PNG file
> rendered from Moray/Povray display correctly in MS Explorer?  Thanks.

I would say the alpha channel in the PNG file is to blame.  A quick test
here shows that rendering media-filled objects with alpha channels to a PNG
files gives different results in MSIE as compared to Netscape.  Internet
Explorer actually supports the use of the alpha channel, so areas that
POV-Ray renders as transparent will be shown as transparent in the browser.
Netscape doesn't seem to support transparent PNG files, so you get the same
results as if you didn't use an alpha channel at all.

If you don't want an alpha channel (i.e. a semi-transparent PNG image in the
browser) you can render directly to PNG without alpha using +FN -UA on the
command line, or the following INI file options:

   Output_File_Type=N
   Output_Alpha=off


Post a reply to this message

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