POV-Ray : Newsgroups : povray.binaries.images : faked HDRI Server Time
14 Aug 2024 05:10:56 EDT (-0400)
  faked HDRI (Message 11 to 12 of 12)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Christoph Hormann
Subject: Re: faked HDRI
Date: 31 Dec 2002 09:59:05
Message: <3E11B0B9.42C8FAEF@gmx.de>
Kari Kivisalo wrote:
> 
> ingo wrote:
> >
> > > Povray [...] doesn't use the low byte of 16 bit pngs.
> >
> > Ah, never realised that :(
> 
> It's easy to test.
> 

And should be possible to fix.

(png_pov.cpp, function PNG_Image::Read_Line)


BTW, does anyone know why it says:

line_data[col][pRED] = (DBL)row_ptr[j] / 255.0;

and not

line_data[col][pRED] = (COLC)row_ptr[j] / 255.0;


Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 31 Dec. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: faked HDRI
Date: 17 Jan 2003 15:28:56
Message: <3e286788$1@news.povray.org>
In article <3E11B0B9.42C8FAEF@gmx.de> , Christoph Hormann 
<chr### [at] gmxde>  wrote:

> BTW, does anyone know why it says:
>
> line_data[col][pRED] = (DBL)row_ptr[j] / 255.0;
>
> and not
>
> line_data[col][pRED] = (COLC)row_ptr[j] / 255.0;

No, but note that it does not make a difference.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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