POV-Ray : Newsgroups : povray.binaries.images : faked HDRI : Re: faked HDRI Server Time
14 Aug 2024 07:21:00 EDT (-0400)
  Re: faked HDRI  
From: Christoph Hormann
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

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