View Full Version : Animation in 3D
J9850s
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
J9850s
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
J9850s
07-11-2003, 01: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 :
DXDraw.D3DRM.CreateAnimationSet(AnimS);
AnimS.Load((PChar(FileName), nil, D3DRMLOAD_FROMFILE, nil, nil,DXdraw.scene);
AnimS.SetTime(17*210);
this is the result on the dxdraw:
http://home.wanadoo.nl/j9850s/milkshape-x.GIF
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?
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.