Ruz,
The demo does not move the character. When I attempt to do so the character moves backwards so I have to inverse the z value.
To better illustrate, when the camera and entity are moving in the same direction, with the bot positioned slightly ahead of the camera, you see the front of the bot, when you should see the rear.
PS: I also toyed with the textures and came up with some pretty spooky ones hehe. Ruz, great work!
The demo does not move the character. When I attempt to do so the character moves backwards so I have to inverse the z value.
To better illustrate, when the camera and entity are moving in the same direction, with the bot positioned slightly ahead of the camera, you see the front of the bot, when you should see the rear.
;modified RedBron Demo Graphics3D 800,600,16,2 SetBuffer BackBuffer() redguy=LoadAnimMesh( "scifiguy.b3d" ) redguywalk=ExtractAnimSeq (redguy,0,18);sequence 1 redguystill=ExtractAnimSeq (redguy,19,19);sequence 1 campivot=CreatePivot() PositionEntity campivot,0,0,0 camera=CreateCamera(campivot) PositionEntity camera,0,10,-6 light=CreateLight() For loop = 1 To 100 cube=CreateCube() PositionEntity cube,Rnd(-50,50),0,Rnd(100) EntityColor cube,Rnd(255),Rnd(255),Rnd(255) Next AmbientLight 220,220,200 ScaleEntity redguy, .1,.1,.1 PositionEntity redguy, 0,0,0 EntityShininess redguy,1 ;If KeyDown(50) Animate redguy,1,.4,1 ;EndIf While Not KeyHit(1) PointEntity camera,redguy MoveEntity campivot,0,0,.1 MoveEntity redguy,0,0,.1 UpdateWorld() RenderWorld() Flip Wend EndAs far as performance goes they perform well ~75fps until I turn distance checks which drop the frame below 20%. No optimizations have been made.
PS: I also toyed with the textures and came up with some pretty spooky ones hehe. Ruz, great work!