LoadAnimMesh

Blitz3D Forums/Blitz3D Programming/LoadAnimMesh

mag.(Posted 2003) [#1]
I load an animation file using loadAnimMesh and apply texture on it but the texture not appear. Why..
The code is something like this.
dat$="a.3ds"
Objek(totalobjek,1)=LoadAnimMesh(CurrentDir()+"resources\"+dat$)
Animate Objek(totalobjek,1)
datt$="a.tga"
tex=LoadTexture(CurrentDir()+"resources\"+datt$,3 )
EntityTexture Objek(totalobjek,1),tex 

p/s: all loading mesh/bitmap is sucess


GfK(Posted 2003) [#2]
dat$="a.3ds"
Objek(totalobjek,1)=LoadAnimMesh(CurrentDir()+"resources\"+dat$)
Animate Objek(totalobjek,1)
datt$="a.tga"
tex=LoadTexture(CurrentDir()+"resources\"+datt$,3 )
For N = 1 to Countchildren(Objek(totalobjek,1)
  EntityTexture getchild(Objek(totalobjek,1),N),tex 
Next



mag.(Posted 2003) [#3]
Thanks man. If work, its really help