POV-Ray : Newsgroups : povray.unofficial.patches : Possible HDRI handling bug Server Time
31 Oct 2024 19:19:05 EDT (-0400)
  Possible HDRI handling bug (Message 2 to 11 of 11)  
<<< Previous 1 Messages Goto Initial 10 Messages
From: Christoph Hormann
Subject: Re: Possible HDRI handling bug
Date: 21 Dec 2004 09:10:01
Message: <cq9ak8$fru$1@chho.imagico.de>
Mike Thorn wrote:
> 
> sky_sphere {
>   pigment {
>     image_map {
>       hdr "HDRI/kitchen_probe.hdr "
                                    ^

unless you have a space at the end of your file name this is wrong.

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

From: Mike Thorn
Subject: Re: Possible HDRI handling bug
Date: 21 Dec 2004 10:02:51
Message: <41c83b1b$1@news.povray.org>
Christoph Hormann wrote:
> unless you have a space at the end of your file name this is wrong.

Sheesh.

I wouldn't have expected it to crash because of that. I guess that's 
what I get for not proofing better.

~Mike


Post a reply to this message

From: Warp
Subject: Re: Possible HDRI handling bug
Date: 21 Dec 2004 12:10:06
Message: <41c858ee@news.povray.org>
Mike Thorn <mik### [at] realitycheckmultimediacom> wrote:
> I wouldn't have expected it to crash because of that. I guess that's 
> what I get for not proofing better.

  What do you mean by "crash"? If it just gives an error message, that's
not crashing.
  If it, however, truely crashes (ie. the OS gives you something like
"this program has performed an illegal operation" or "segmentation fault"),
then that's a bug which should be reported.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Christoph Hormann
Subject: Re: Possible HDRI handling bug
Date: 21 Dec 2004 12:55:02
Message: <cq9o1a$o84$1@chho.imagico.de>
Warp wrote:
> 
>   What do you mean by "crash"? If it just gives an error message, that's
> not crashing.
>   If it, however, truely crashes (ie. the OS gives you something like
> "this program has performed an illegal operation" or "segmentation fault"),
> then that's a bug which should be reported.

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.  But 
it should be obvious why this has never been a problem in the past 
(since it is quite rare you specify the wrong file name).

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

From: Nicolas Calimet
Subject: Re: Possible HDRI handling bug
Date: 21 Dec 2004 14:03:38
Message: <41c8738a@news.povray.org>
> (since it is quite rare you specify the wrong file name).

	Bad, bad to assume things are not likely to happen  ;-)

	- NC


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Possible HDRI handling bug
Date: 21 Dec 2004 14:54:42
Message: <41c87f82$1@news.povray.org>
In article <cq9o1a$o84$1@chho.imagico.de> , Christoph Hormann 
<chr### [at] gmxde>  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.

    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

From: Mike Thorn
Subject: Re: Possible HDRI handling bug
Date: 21 Dec 2004 17:05:17
Message: <41c89e1d@news.povray.org>
Thorsten Froehlich wrote:
> Sorry, but this is nonsense.
> 
>     Thorsten

But of course you can't be bothered to explain why?! :(

It is quite unconstructive to criticize someone's statement without at 
the very least explaining why you believe it to be so.

~Mike


Post a reply to this message

From: Christoph Hormann
Subject: Re: Possible HDRI handling bug
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

From: Thorsten Froehlich
Subject: Re: Possible HDRI handling bug
Date: 21 Dec 2004 17:57:48
Message: <41c8aa6c$1@news.povray.org>
In article <41c89e1d@news.povray.org> , Mike Thorn 
<mik### [at] realitycheckmultimediacom>  wrote:

> But of course you can't be bothered to explain why?! :(

No, not here.  But there are places you cannot see (but Christoph and I
can).

    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

From: Thorsten Froehlich
Subject: Re: Possible HDRI handling bug
Date: 21 Dec 2004 17:59:02
Message: <41c8aab6$1@news.povray.org>
In article <cqa94a$4oc$1@chho.imagico.de> , Christoph Hormann 
<chr### [at] gmxde>  wrote:

> 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.

I did look at the code, see p.p.p.

    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 1 Messages Goto Initial 10 Messages

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