Jump to content

Exporting/Importing Animated Model from Blender to LE 3.1 Steam


Arinthian
 Share

Recommended Posts

Hello,

 

for a couple of days I've been trying to figure out how to import an animated cube I created from blender into Leadwerks 3.1 Steam Edition (I'm using a cube as the simplest test so I can figure it out and work from there), but unfortunately, nothing I do seems to work

 

I've created animations using armatures, and without, fiddling with export options, looked online at blender animation tutorials, etc. and nothing I do shows the animations up in the leadwerks model editor/viewer when they do get imported.

 

I'm very much a novice when it comes to blender and modeling in general, so it may be something obvious I missed, but I have no idea what to do or try and this point, so hopefully someone here can help me.

 

I've attached the latest blender model/file I've been using, so if anyone can check it out and let me know what's up, I'd be very grateful.

 

Blender File: https://dl.dropboxusercontent.com/u/15394871/boxtest.blend

Link to comment
Share on other sites

Yea, I think in this particular case it can be very confusing, imagine say an artist, or someone new to game development in general, may be unfamiliar with shaders in general and could run into serious headaches trying to figure why their animated models aren't showing the animations.

 

Once I get a couple more things figured out, I should have a crack at making a tutorial or something...

  • Upvote 1
Link to comment
Share on other sites

I load all character models in by code, I only place background objects like props in the editor, objects that don.t have to be referenced.

 

Or have I misunderstood what this post is about?

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

@Rick : I just tested, if you import some animated model, even without shader and texture, it will animate in game by code without any problem.

 

---------------------

 

The test model is very strange , it's a cube with one bone and it's not real animation, it's just a bone scaling that scales the cube. I would say avoid bone scaling for characters, not good for 3D engines export in general.

Stop toying and make games

Link to comment
Share on other sites

I couldn't get it to animate with code until I added the material with the correct shader myself.

 

I kept it a cube with a single bone to try and keep it simple, there also should be three actions there, a location, a rotation and a scaling animation, I've noticed that scaling animations don't seem to import at all, so I'll avoid that in future.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...