|
|
High!
Now I'm rid of the clippings... but then, I noticed an ugly gap in
Phobos' surface (see attachment). I thought this might be because of not
having connected the ends of each stripe of mesh faces (corresponding to
lines in the original map image), so I changed my code:
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)!!!
See you in Khyberspace!
Yadgar
Post a reply to this message
|
|