LDraw.org Discussion Forums
Ldcad script animation export, povray parse error [ SOLVED ] - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: LDraw File Processing and Conversion (https://forums.ldraw.org/forum-22.html)
+--- Thread: Ldcad script animation export, povray parse error [ SOLVED ] (/thread-22650.html)



Ldcad script animation export, povray parse error [ SOLVED ] - Cicobar - 2018-01-06

Hi everybody !

I need help plz,

I exported animation from Ldcad to povray(simple camera rotation).

I cant launch my render because i have a parse error in povray. The error is highlited in yellow :
"ldrawBuildTex(ldrawPigment(getColorIndex(ldCode), -1, -1), ldrawPearlNor, ldraPearlFin, pngIdx)"
At the bottom of the povray window:
Parse error: Cannot pass ininntialized identifier as macro parameter. Initialize identifier first.

Some file exported in the same way work without this error other not, i do not see how to solve this problem.

your help would be greatly appreciated.

C.


Edit : problem solved it was a syntax error on the generated code : " ldrawPearlFin "