POV-Ray : Newsgroups : povray.unofficial.patches : Possible HDRI handling bug : Re: Possible HDRI handling bug Server Time
1 Jun 2024 07:17:07 EDT (-0400)
  Re: Possible HDRI handling bug  
From: Christoph Hormann
Date: 21 Dec 2004 17:50:02
Message: <cqa94a$4oc$1@chho.imagico.de>
Thorsten Froehlich wrote:
> 
>>It crashes and i assume the reason is the .hdr extension is not listed
>>in gPOV_File_Extensions and Locate_Filename() can't cope with this.
> 
> 
> Sorry, but this is nonsense.

It might be a good idea not to say nonsense if you don't have a better 
explanation and did not look at the code.  Adding

  ,{{ ".hdr",  ".HDR",  "",      ""      }}  // POV_File_Image_HDR

in fileinputoutput.cpp solves the problem - you get the expected

Parse Error: Error opening HDR image.

Christoph

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


Post a reply to this message

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