tux
20-10-2004, 04:35 PM
ive got to the stage where im now dealing with the textures in my modeler for my game. im using Mike Lischke's 3ds loader and its going well until this point.
basicly what happens when i go to write the texture coordinates to my file, i get an I/O error 1784 on the 6th mesh in the 3ds model.
here is part of my export code
for iLoop:=0 to Mesh[iObjectLoop].Count -1 do
Begin
BlockWrite(F, Mesh[iObjectLoop].TexCoords[iLoop].S, 4);
BlockWrite(F, Mesh[iObjectLoop].TexCoords[iLoop].T, 4);
end;
the full unit can be found at http://www.vadertrophy.com/~files/uExport.pas
any help is apreciated :)
basicly what happens when i go to write the texture coordinates to my file, i get an I/O error 1784 on the 6th mesh in the 3ds model.
here is part of my export code
for iLoop:=0 to Mesh[iObjectLoop].Count -1 do
Begin
BlockWrite(F, Mesh[iObjectLoop].TexCoords[iLoop].S, 4);
BlockWrite(F, Mesh[iObjectLoop].TexCoords[iLoop].T, 4);
end;
the full unit can be found at http://www.vadertrophy.com/~files/uExport.pas
any help is apreciated :)