CompuServe Messages

#TSE Causes Memory Error

    14-Jul-95 12:34:49
Sb: #TSE Causes Memory Error
Fm: Ed McLaughlin 74740,2132
To: all
This is a very strange problem. When I run the below p3d file using the below dataset when I quit the script editor 3ds displays the following error message for several screen fulls: Allocator Error–attempted to get past end of allocated area: Handle: 3 size:112 GetOffset: 917476 GetLength: 14 What's extra confusing is when I use the script at the bottom which incorporates the data into the program instead of reading it from a file, everything is fine. Please help! Project is time critical and I'll be forced to try and do it in IPAS if TSE won't work ! Iden Rosenthal, neubau@netaxs.com Here is the p3d file _____________________________________________________ Open "1objdata.dat", INPUT, #1 DefMesh cube : DefVertex cubeVerts : DefFace cubeFaces MakeVerts cubeVerts, 8 MakeFaces cubeFaces, 12 For count = 0 to 7 Input #1, x, y, z cubeVerts.x(count) = x cubeVerts.y(count) = y cubeVerts.z(count) = z Next count For count = 0 to 11 Input #1, a, b, c cubeFaces.a(count) = x cubeFaces.b(count) = y cubeFaces.c(count) = z cubeFaces.abline(count) = 1 cubeFaces.bcline(count) = 1 cubeFaces.caline(count) = 1 Next count ObjExists "cube" If RC = 1 then DeleteItem "cube" MakeMesh "cube", cube, cubeVerts, cubeFaces Close #1 : End _____________________________________________________ Here is the "1objdata.dat" file _____________________________________________________ cube , 8 , 12 2.500000,2.500000,-2.500000 2.500000,-2.500000,-2.500000 -2.500000,-2.500000,-2.500000 -2.500000,2.500000,-2.500000 2.500000,2.500000,2.500000 2.500000,-2.500000,2.500000 -2.500000,2.500000,2.500000 -2.500000,-2.500000,2.500000 0,1,2 0,2,3 4,5,1 4,1,0 6,7,5 6,5,4 3,6,4 3,4,0 7,2,1 7,1,5 3,2,7 3,7,6 _____________________________________________________ This is a version of the same data and statements that works!!! DefMesh cube DefVertex cubeverts DefFace cubefaces MakeVerts cubeverts, 8 MakeFaces cubefaces, 12 cubeverts.x(0)=2.500000 : cubeverts.y(0)=2.500000 : cubeverts.z(0)=-2.500000 cubeverts.x(1)=2.500000 : cubeverts.y(1)=-2.500000 : cubeverts.z(1)=-2.500000 cubeverts.x(2)=-2.500000 : cubeverts.y(2)=-2.500000 : cubeverts.z(2)=-2.500000 cubeverts.x(3)=-2.500000 : cubeverts.y(3)=2.500000 : cubeverts.z(3)=-2.500000 cubeverts.x(4)=2.500000 : cubeverts.y(4)=2.500000 : cubeverts.z(4)=2.500000 cubeverts.x(5)=2.500000 : cubeverts.y(5)=-2.500000 : cubeverts.z(5)=2.500000 cubeverts.x(6)=-2.500000 : cubeverts.y(6)=2.500000 : cubeverts.z(6)=2.500000 cubeverts.x(7)=-2.500000 : cubeverts.y(7)=-2.500000 : cubeverts.z(7)=2.500000 cubefaces.a(0)=0 : cubefaces.b(0)=1 : cubefaces.c(0)=2 cubefaces.abline(0)= 1 : cubefaces.bcline(0)= 1 : cubefaces.caline(0)= 1 cubefaces.a(1)=0 : cubefaces.b(1)=2 : cubefaces.c(1)=3 cubefaces.abline(1)= 1 : cubefaces.bcline(1)= 1 : cubefaces.caline(1)= 1 cubefaces.a(2)=4 : cubefaces.b(2)=5 : cubefaces.c(2)=1 cubefaces.abline(2)= 1 : cubefaces.bcline(2)= 1 : cubefaces.caline(2)= 1 cubefaces.a(3)=4 : cubefaces.b(3)=1 : cubefaces.c(3)=0 cubefaces.abline(3)= 1 : cubefaces.bcline(3)= 1 : cubefaces.caline(3)= 1 cubefaces.a(4)=6 : cubefaces.b(4)=7 : cubefaces.c(4)=5 cubefaces.abline(4)= 1 : cubefaces.bcline(4)= 1 : cubefaces.caline(4)= 1 cubefaces.a(5)=6 : cubefaces.b(5)=5 : cubefaces.c(5)=4 cubefaces.abline(5)= 1 : cubefaces.bcline(5)= 1 : cubefaces.caline(5)= 1 cubefaces.a(6)=3 : cubefaces.b(6)=6 : cubefaces.c(6)=4 cubefaces.abline(6)= 1 : cubefaces.bcline(6)= 1 : cubefaces.caline(6)= 1 cubefaces.a(7)=3 : cubefaces.b(7)=4 : cubefaces.c(7)=0 cubefaces.abline(7)= 1 : cubefaces.bcline(7)= 1 : cubefaces.caline(7)= 1 cubefaces.a(8)=7 : cubefaces.b(8)=2 : cubefaces.c(8)=1 cubefaces.abline(8)= 1 : cubefaces.bcline(8)= 1 : cubefaces.caline(8)= 1 cubefaces.a(9)=7 : cubefaces.b(9)=1 : cubefaces.c(9)=5 cubefaces.abline(9)= 1 : cubefaces.bcline(9)= 1 : cubefaces.caline(9)= 1 cubefaces.a(10)=3 : cubefaces.b(10)=2 : cubefaces.c(10)=7 cubefaces.abline(10)= 1 : cubefaces.bcline(10)= 1 : cubefaces.caline(10)= 1 cubefaces.a(11)=3 : cubefaces.b(11)=7 : cubefaces.c(11)=6 cubefaces.abline(11)= 1 : cubefaces.bcline(11)= 1 : cubefaces.caline(11)= 1 MakeMesh "cube", cube, cubeverts, cubefaces