OK. I've done some more tests as follows, I loaded the original .x file into Gile(s) and exported it as both a .b3d
file and an .x file. The .x format loads perfectly into Blitz but the .b3d file brings up the MEMORY ACCESS VIOLATION. Strange!
Code as follows:-
scene=LoadMesh("models/city1_Test.b3d");Debug stops here
PositionEntity scene,0,-66,50
ScaleEntity scene,1.25,1.25,1.25
EntityType scene,scene_col
EntityPickMode scene,2
Changing to .x instead of .b3d works fine!
Guess its a problem converting to .b3d or .b3d dosn't like
my models to be over a certain size. If I reduce the number of faces to 1866 or below the .b3d file works ok. I,ll just have to stay with .x till I work this one out
>Carpman
file and an .x file. The .x format loads perfectly into Blitz but the .b3d file brings up the MEMORY ACCESS VIOLATION. Strange!
Code as follows:-
scene=LoadMesh("models/city1_Test.b3d");Debug stops here
PositionEntity scene,0,-66,50
ScaleEntity scene,1.25,1.25,1.25
EntityType scene,scene_col
EntityPickMode scene,2
Changing to .x instead of .b3d works fine!
Guess its a problem converting to .b3d or .b3d dosn't like
my models to be over a certain size. If I reduce the number of faces to 1866 or below the .b3d file works ok. I,ll just have to stay with .x till I work this one out
>Carpman