|
|
POV-Ray correctly renders the following code (stripped to Bare Essentials):
//** code starts here **********************************
#macro mod_(A, B) (A - B * floor(A / B)) #end
#declare N = 4;
#declare X = mod_(N, 3);
#if (N < 100)
sphere { < X, 0, 0 >, 1 }
#end
//** code ends here ************************************
When I remove the closing bracket I correctly reports a parsing error. Now when
I move the macro definition to an include file (adding the #include statement,
still with the bracket error) POV-Ray crashes with the following error message:
"The POV-Ray core rendering code threw an unhandled exception. The backend
thread has been shut down and you will not be able to perform any renders.
[...]"
Restarting the program.
When I try to render the scene with the sphere center's coordinates set to
<0,0,0> POV-Ray simply closes without an error message.
--
Windows XP Pro
POV-Ray 3.6.1c
Post a reply to this message
|
|