The model is just a basic reshaped box with no texture and no animation yet.
The code is just cut and paste (so I know its perfect) from the comand line reference in blitz 3d with the comand load mesh changed. In milkshape, I saved the shape first as "boxshape" then I went to export,blitz 3d and it confirmed file saved succesfuly. Here is the code:
Graphics3D 640,480
SetBuffer BackBuffer()
camera=CreateCamera()
light=CreateLight()
RotateEntity light,90,0,0
; Load mesh
boxmsh=LoadMesh("boxmsh.b3d");incorect path?
PositionEntity shape,0,0,MeshDepth(boxmsh)*2 ;debuger points here "entity does not exist"
While Not KeyDown( 1 )
RenderWorld
Flip
Wend
End
The code is just cut and paste (so I know its perfect) from the comand line reference in blitz 3d with the comand load mesh changed. In milkshape, I saved the shape first as "boxshape" then I went to export,blitz 3d and it confirmed file saved succesfuly. Here is the code:
Graphics3D 640,480
SetBuffer BackBuffer()
camera=CreateCamera()
light=CreateLight()
RotateEntity light,90,0,0
; Load mesh
boxmsh=LoadMesh("boxmsh.b3d");incorect path?
PositionEntity shape,0,0,MeshDepth(boxmsh)*2 ;debuger points here "entity does not exist"
While Not KeyDown( 1 )
RenderWorld
Flip
Wend
End