POV-Ray : Newsgroups : povray.newusers : Undeclared identifier 'nan' found Server Time
23 Nov 2024 07:26:33 EST (-0500)
  Undeclared identifier 'nan' found (Message 1 to 3 of 3)  
From: hanna baltrukevich
Subject: Undeclared identifier 'nan' found
Date: 12 Jun 2024 12:35:00
Message: <web.6669cdac1dc783b3f42c628efcf61b7a@news.povray.org>
Hi all,

I am a new user of Pov-Ray, and I had this error. I have the .pov file generated
from the other program, but when I try to render it in POV-Ray, I get the error:
"Parse Error: Expected 'numeric expression', undeclared identifier 'nan' found
instead". Did anybody solve this issue already? Thank you a lot in advance.

Best,
Hanna


Post a reply to this message

From: jr
Subject: Re: Undeclared identifier 'nan' found
Date: 12 Jun 2024 13:15:00
Message: <web.6669d6623a197a6b869a24876cde94f1@news.povray.org>
hi,

"hanna.baltrukevich" <han### [at] gmailcom> wrote:
> Hi all,
> I am a new user of Pov-Ray,

great.  welcome.


> and I had this error. I have the .pov file generated
> from the other program, but when I try to render it in POV-Ray, I get the error:
> "Parse Error: Expected 'numeric expression', undeclared identifier 'nan' found
> instead". Did anybody solve this issue already? Thank you a lot in advance.

just a "shot in the dark", but could it be that the generating program, for some
reason, cannot compute some value and outputs a "Not a Number" result ?  it
might help if you could post the scene, or the relevant bits from it.


regards ,jr.


Post a reply to this message

From: hanna baltrukevich
Subject: Re: Undeclared identifier 'nan' found
Date: 14 Jun 2024 09:45:00
Message: <web.666c490e3a197a6b63415fbffcf61b7a@news.povray.org>
Thank you a lot for the reply! Indeed, the problem was with the files generated
via external program, so not related to POV-Ray.

Thank you again,
Best wishes,
Hanna

"jr" <cre### [at] gmailcom> wrote:
> hi,
>
> "hanna.baltrukevich" <han### [at] gmailcom> wrote:
> > Hi all,
> > I am a new user of Pov-Ray,
>
> great.  welcome.
>
>
> > and I had this error. I have the .pov file generated
> > from the other program, but when I try to render it in POV-Ray, I get the error:
> > "Parse Error: Expected 'numeric expression', undeclared identifier 'nan' found
> > instead". Did anybody solve this issue already? Thank you a lot in advance.
>
> just a "shot in the dark", but could it be that the generating program, for some
> reason, cannot compute some value and outputs a "Not a Number" result ?  it
> might help if you could post the scene, or the relevant bits from it.
>
>
> regards ,jr.


Post a reply to this message

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