POV-Ray : Newsgroups : povray.binaries.images : Am I just too stupid for programming?!? : Re: Am I just too stupid for programming?!? Server Time
5 Nov 2024 11:17:40 EST (-0500)
  Re: Am I just too stupid for programming?!?  
From: scott
Date: 20 Apr 2009 05:39:15
Message: <49ec42c3$1@news.povray.org>
>   face_indices
>   {
>     638398 // added (399-1)*2 = 796
>     #declare a=0;
>     #while (a<399)
>       #declare b=0;
>       #while (b<800) // runs now to 800 rather than 799
>         <a*800+b, a*800+b+1, (a+1)*800+b>, // line 313
>         #if (b=799 & a=398)
>           <319999, 319200, 318400> // last triangle
>         #else
>           <(a+1)*800+b, (a+1)*800+b+1, a*800+b+1>,
>         #end
>         #declare b=b+1;
>       #end
>       #declare a=a+1;
>     #end
>   }
>
> ...but all I get is the error message
>
> "Parse Error: No matching } in 'face_indices', < found instead" (in line 
> 313)!!!

You are trying to add more indices than you have told POV at the top. 
399*800*2 is 638400, but you told POV you are only having 638398 index 
vectors.


Post a reply to this message

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