Copyentity a B3d loadedanimmesh works strange, or maybe there's something I dunno.
Those meshes are made by 2 texture, one of them Alphaed.
When duplicating those meshes, only the last looks right. The firsts don't display Alphaed textures...
Tried with other b3d models too...
Why only the *LAST* copied entity works??
BTW *Masked* flag works correctly...

Code+Models ** HERE **
Those meshes are made by 2 texture, one of them Alphaed.
When duplicating those meshes, only the last looks right. The firsts don't display Alphaed textures...
Tried with other b3d models too...
Why only the *LAST* copied entity works??
BTW *Masked* flag works correctly...
Include "B3dExtensions.bb" Global displaywidth=640 Global displayheight=480 Graphics3D displaywidth,displayheight,32,0 SetBuffer BackBuffer() WBuffer=True HidePointer() Global cpos#=-6 Global filemesh$=("castagnola.b3d") Function SmoothTurn(Entity,entity2,entity3) gMXSpeed = gMXSpeed*.9 - MouseXSpeed()*.12 gMYSpeed = gMYSpeed*.9 + MouseYSpeed()*.12 AX# = EntityPitch(Entity) AY# = EntityYaw(Entity) AX = AX + gMYSpeed AY = AY + gMXSpeed RotateEntity Entity, AX, AY, 0 RotateEntity Entity2, AX, AY, 0 RotateEntity Entity3, AX, AY, 0 MoveMouse GraphicsWidth()/2,GraphicsHeight()/2 End Function ; CAMERA INIT------------------------------------------------------------ camera=CreateCamera() PositionEntity camera,0,0,-6 CameraProjMode camera,1 CameraClsColor camera,180,180,180 ; ----------------------------------------------------------------------- light=CreateLight() mesh=LoadAnimMesh (filemesh) mesh1=(CopyEntity (mesh)) MoveEntity(mesh1),1,0,0 mesh2=(CopyEntity (mesh)) MoveEntity(mesh2),2,0,0 frameTimer = CreateTimer(30) ; MAIN LOOP ------------------------------------------------------------- While Not KeyHit(1) WaitTimer(frameTimer) PositionEntity camera,0,0,cpos PointEntity camera,mesh1 PointEntity light,mesh smoothturn(mesh,mesh1,mesh2) Select MouseZSpeed () Case -1 cpos=cpos-0.5 Case 1 cpos=cpos+0.5 End Select UpdateWorld() RenderWorld() Text 0,0,"Mousewheel to zoom" Flip Wend End

Code+Models ** HERE **