| Hi,  I am trying to apply a texture to a model I have created in Wings within my ODE world.  I've textured simple cuboids successfully, however  my attempt at adding the texture to a more complex model is as follows - (it fails to compile when I incorporate the Entity Texture command with a memory access violation which I have associated in the past with failing to load the bitmap.)  This isn't the case here, i'm using the same bitmap to map a texture to a cuboid.: 
 
 
Function AddMario()
ode.ODEGeom=New ODEGeom
ode\body=dBodyCreate(World)  
dBodySetAutoDisableFlag(ode\body,1)
ode\mesh=LoadMesh("wings tracks\track_10_b3d.b3d")
ScaleMesh ode\mesh,15,15,15
RotateMesh ode\mesh,0,0,180  ;*1
PositionMesh ode\mesh,200,0,180 ;*2
EntityColor ode\mesh,Rand(255),Rand(255),Rand(255)
;EntityTexture ode\mesh, build_txt      fails to compile if try this
EntityAlpha ode\mesh,1
EntityShininess ode\mesh,0.7
ode\geom=CreateTriMesh( Space,ode\mesh)
End Function
 I have unwrapped my model within UU3D, attempted to use UU3D to try and create a mesh? (failed...)  then referred to page 90 and 91 of the B3D manual regarding texturing.  Any help appreciated,  regards - BP.  The 3d model I'm trying to wrap a texture round is the blue one in the middle of the following image:-
 
 
   
 
 |