To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.rayOpen lugnet.cad.ray in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Ray-Tracing / 1092
Subject: 
(Strange) error in POV-ray
Newsgroups: 
lugnet.cad.ray
Date: 
Mon, 24 Dec 2001 14:17:19 GMT
Viewed: 
1368 times
  
Hi,

I'm trying to render a model using the following commandline in L3P:

C:\L3P\L3P.EXE F:\trainpos\M4564a_.dat F:\M4564a_2.pov -cg0,90,0
-b1.000,1.000,1.000 -q3 -lgeo  -o

And with only this model (I rendered more with the same parameters) I get
the following error:

   object { M4564a___dot_dat #if (version >= 3.1) material #else texture
#end { Color7 } } <----ERROR
   F:\M4564A_2.POV:6080: error: Attempted to redefine float identifier as
object identifier.
   Returned from renderer (non-zero return value)

Please help! I'm lost!!!
Jeroen


Subject: 
Re: (Strange) error in POV-ray
Newsgroups: 
lugnet.cad.ray
Date: 
Thu, 27 Dec 2001 01:50:57 GMT
Viewed: 
1519 times
  
Jeroen de Haan wrote...
I'm trying to render a model using the following commandline in L3P:

C:\L3P\L3P.EXE F:\trainpos\M4564a_.dat F:\M4564a_2.pov -cg0,90,0
-b1.000,1.000,1.000 -q3 -lgeo  -o

And with only this model (I rendered more with the same parameters) I get
the following error:

   object { M4564a___dot_dat #if (version >= 3.1) material #else texture
#end { Color7 } } <----ERROR
   F:\M4564A_2.POV:6080: error: Attempted to redefine float identifier as
object identifier.
   Returned from renderer (non-zero return value)

Please help! I'm lost!!!

Seems like POV thinks M4564a___dot_dat has already been defined as float...?!?
Please post the M4564a_.dat or e-mail it to me, and I'll look into it.
/Lars


Subject: 
Re: (Strange) error in POV-ray
Newsgroups: 
lugnet.cad.ray
Date: 
Wed, 2 Jan 2002 23:12:21 GMT
Viewed: 
2471 times
  
Lars C. Hassing wrote...
Jeroen de Haan wrote...
I'm trying to render a model using the following commandline in L3P:

C:\L3P\L3P.EXE F:\trainpos\M4564a_.dat F:\M4564a_2.pov -cg0,90,0
-b1.000,1.000,1.000 -q3 -lgeo  -o

And with only this model (I rendered more with the same parameters) I get
the following error:

   object { M4564a___dot_dat #if (version >= 3.1) material #else texture
#end { Color7 } } <----ERROR
   F:\M4564A_2.POV:6080: error: Attempted to redefine float identifier as
object identifier.
   Returned from renderer (non-zero return value)

Please help! I'm lost!!!

Seems like POV thinks M4564a___dot_dat has already been defined as float...?!?
Please post the M4564a_.dat or e-mail it to me, and I'll look into it.
/Lars

Well, Jeroen, from the M4564a.pov you sent me today, I have found a bug in LGEO
part lg_3195.inc line 13. It currently reads:
   #declare LENGTH =
but it should have read:
   #declare LENGTH = 5
Just add the '5' in your own copy of lg_3195.inc, and try again. Happy rendering :-)
/Lars
PS. In case you're interested to learn how I found the bug, here goes:
I deleted large chunks of the .POV file you sent me, until it rendered successfully.
Then I knew the error was in the last chunk I deleted.
I re-inserted that chunk, and began deleting smaller parts of the chunk,
until it again rendered successfully.
Finally, the error disappeared when I deleted
the 30 lines regarding the 3195. Then I looked into lg_3195.inc, which had to
contain the error (because the L3P POV code is correct ;-)
By comparing it to 3194 (the right door) I could easily spot the error.

To know which chunks to delete:
You must start from the bottom of the POV file.
First delete the part references in your model,
then delete the part declarations.
If you start by deleting the part declarations, the POV file cannot render.


©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR