lara croft model problem

Blitz3D Forums/Blitz3D Beginners Area/lara croft model problem

Wow, those models are seriously messed up. Just look at the textures; the artist who created that had no idea what he was doing (every single polygon of the character is on a separate, random part of the texture.) Plus pieces of the model are in separate places (as in all the overlapping polygons are in a separate 3ds file from the rest of the model,) not to mention most of those 3ds files aren't animated. One, lara.3ds, is actually completely empty; no geometry at all! There is significant cleanup (combining meshes, assigning correct textures, etc.) if you actually intend to use these but the code below does achive a walking Lara Croft by loading up a non-animated mesh and applying the animation from another file:

Graphics3D 640,460,0,2
SetBuffer BackBuffer()
timer=CreateTimer(50)

camera=CreateCamera()
CameraRange camera,100,3000
PositionEntity camera,0,350,-1500
RotateEntity camera,10,0,0
light=CreateLight()
RotateEntity light,10,10,0
AmbientLight 64,64,64

lara=LoadAnimMesh("lara skin.3ds")
EntityColor lara,255,255,255
EntityShininess lara,.2
RotateEntity lara,0,130,0
LoadAnimSeq(lara,"lara2.3ds")

While Not KeyDown(1)

WaitTimer(timer)

If KeyHit(200) Animate lara,1,1,1,10
If Not KeyDown(200) Animate lara,0,1,0,5

If KeyDown(203)
TurnEntity lara,0,5,0
ElseIf KeyDown(205)
TurnEntity lara,0,-5,0
EndIf

UpdateWorld
RenderWorld
Flip
Wend

End

***********

I don't know how exactly the game was utilizing the data but it was obviously doing something pretty wacky.