View Full Version : Animation in 3D

13-10-2003, 12:38 PM
Hai, can someone help me how to program a animated frame?

i tried with DXDraw.D3DRM.CreateAnimation(Anim);

and set all the settings but there is no animated frame.
forgot someting??

can someone explain SetOptions settings?
sample of AddPositionKey please.

gr...Jeroen de Jong

16-10-2003, 10:39 PM
this is the hard way to animate in 3D( i guess). if someone knows a better way.. Reply

here the animated legs..
Source with .EXEhttp://home.wanadoo.nl/j9850s/Animation_All.zip
Source without .exehttp://home.wanadoo.nl/j9850s/Animation_Source.zip

the camera position
Forward. w/up.
Backward. s/down.
left a/left.
right d/right.

lookup. shift+(w/up) /mouse_up
lookdown. shift+(s/down) /mouse_down
lookright. shift+(d/right) /mouse_right
lookleft. shift+(a/left) /mouse_left

Enjoy yourself.

gr. Jeroen de Jong

07-11-2003, 12:40 PM
i have found a easyer way to animate, using the IDirect3DRMAnimationSet

but i have also a question :

i load the animation by this :
AnimS.Load((PChar(FileName), nil, D3DRMLOAD_FROMFILE, nil, nil,DXdraw.scene);

this is the result on the dxdraw:


the first image is from milkshape with a 'knee' connecting the vertexes of the upperleg AND the vertexes of the downLeg, but vieuwing the file with dilphiX, the 'knee' is only connecting the vertexes of the upperleg.

how can this happen??? AND how to solve this?