POV-Ray : Newsgroups : povray.beta-test : image_pattern : Re: image_pattern Server Time
2 Nov 2024 11:26:24 EDT (-0400)
  Re: image_pattern  
From: Thorsten Froehlich
Date: 2 Dec 2001 07:52:25
Message: <3c0a2409@news.povray.org>
In article <3c09ff34@news.povray.org> , "Vampyrium" <cyb### [at] hotmailcom>
wrote:

>   Some test renders show me that image_pattern produces unexpected results.
> If a map is used with the full 8-bit range 0-255 (haven't checked 16-bits)
> then the actual range in the map is not 0-255 (0-1 pov language), I found it
> to be 76-255 (almost 0.3-1 pov language). I will post two images shortly in
> the binaries section that display this. Test.png is a Photoshop generated
> file with pixel values from 0-255, next is bugtest.png which is the
> rendering done by pov and last is the source code of the scene.

Confirmed and fixed.  The code used an incorrect formula to turn a color
image into a grayscale image.  The workaround is to use a real grayscale
image rather than a color image with only gray colors.

    Thorsten

____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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