Roland Posted May 24, 2011 Share Posted May 24, 2011 I have a model that will have quite a number of animations. There is no problem with getting the model with is idle animation into LE2. Now I want to add more animations by loading them from GMF files (same Model, same Rig, another animation). Those GMF files contains the animaton and the bones (no mesh). This is what I thought would work with this approach. TModel model = LoadModel( "abstract::mymodel.gmf"); // CountAnimations returns 1 LoadAnimation( model, "abstract::mymodel@walk.gmf"); // CountAnimations returns 2 LoadAnimation( model, "abstract::mymodel@run.gmf"); // CountAnimations returns 3 // ... more animations... // Main loop Animate( model, AppTime()/30, 1, curAnimation ) ; // where curAnimation = 0, 1, 2 The only animation that works is the one in the original model file ( curAnimation ). I have checked that each gmf-file has a working animation in the ModelViewer and they are all ok Where is my misstake ? Thanks Roland Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
cassius Posted May 25, 2011 Share Posted May 25, 2011 Do not understand what you are trying to do. Are you loading in anim sequences seperatly. Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
Canardia Posted May 25, 2011 Share Posted May 25, 2011 Yes, it's the best way to have animations in seperate gmf files. Roland said in his status update though that he got it to work. I wonder what the trick was? Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Roland Posted May 26, 2011 Author Share Posted May 26, 2011 Yes, it's the best way to have animations in seperate gmf files. Roland said in his status update though that he got it to work. I wonder what the trick was? Will make a tutorial on that. Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.