|
|
Hi(gh)!
I now have run mesh2writer.pov in various RAM configurations including
only one 4 GB strip or one 8 GB strip in slot 1 - but always I got the
memory access error in the 22nd outer iteration (at 1000 by 1000 data
points; the number of the inner iteration varies wildly!) of the last
nested loop:
#if (!(tilename="n80e014" | tilename="n80e016" | tilename="n80e017"))
#declare i=0;
#write (ES, " texture_list")
#write (ES, " {\n")
#write (ES, concat(" ",str(NumTextures, 1, 0),"\n"))
#declare a=0;
// #declare c=0;
#while (a<ydim) // outer loop
#declare b=0;
#while (b<xdim) // inner loop
#declare C_Texture = eval_pigment(P_Texture,
<(0.5+b)*(1/(xdim-1)), (0.5+a)*(1/(ydim-1)), 1>);
#warning concat("Iteration ", str(a, 1, 0), "-", str(b, 1, 0))
#write (ES, " texture\n")
#write (ES, " {\n")
#write (ES, " pigment\n")
#write (ES, " {\n")
#write (ES, concat(" color rgb <",vstr(3, C_Texture, ",", 1,
7),">\n"))
#write (ES, " }\n")
#write (ES " finish{ F_Earthslice }\n")
#write (ES, " }\n"
// #declare c=c+1;
#declare b=b+1;
#end
#declare a=a+1;
#end
#write (ES, " }\n")
#end
// end of code
I just can't figure out what should be wrong with this code - or is it
just a bug in POV-Ray 3.7?
See you in Khyberspace!
Yadgar
Post a reply to this message
|
|