Blender 2.71 - Importer / Exporter (1.4.4)

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
User avatar
Doridion
Posts: 256
Joined: Tue Jun 10, 2014 9:23 pm

Re: Blender 2.71 - Model Importer

Post by Doridion »

Hey bitcpy ^^

Hum ... I know that we're all occupied by external things and our will to progress in the mod devellopements, but can I ask you something ?

I'm not alone to use your awesome blender importer, but ... in waiting for the GMT first release, could you implement something to export animations ? Already tried Collada and FBX exporting, but both are unusable, even if we change them ((

Most of logics require animations, and original animations got their limits.

Many thanks in advance !
bitcpy
Posts: 39
Joined: Tue Apr 24, 2012 7:43 pm

Re: Blender 2.71 - Model Importer

Post by bitcpy »

I'm glad you're finding it useful :)
Real life and work have eaten up alot of my time lately, but the intention is to see this thing to the end.

But the good thing is that I did add materials to the importer yesterday as well as getting started on the export functionality.
Shouldn't be too long before you'll be able to at least export your meshes directly to the .model format.

I'll make an updated post when it's finished, then I'll try to take a look at animations as well.
User avatar
germanny
Posts: 530
Joined: Sat Apr 07, 2012 10:52 pm
Location: Kiel, Germany

Re: Blender 2.71 - Model Importer

Post by germanny »

You´re the Man, bitcpy!
Works well even with blender 2.72b.
Can´t wait.. ^^


Just a little prob:
How are animations imported, as action set?
Can´t find anim data after import.
Dungeon Master Resource Pack worker and passionated Beer drinker
User avatar
Doridion
Posts: 256
Joined: Tue Jun 10, 2014 9:23 pm

Re: Blender 2.71 - Model Importer

Post by Doridion »

germanny wrote:How are animations imported, as action set?
Can´t find anim data after import.
Got the same issue before i realise to select the architecture where to apply animation ^^

See just on the top of the import animation list when you're on the import option, you got a textbox named "Armature" to clic and select the right armature ;)
User avatar
germanny
Posts: 530
Joined: Sat Apr 07, 2012 10:52 pm
Location: Kiel, Germany

Re: Blender 2.71 - Model Importer

Post by germanny »

Ah. thx..^^

Sometimes i´m dumb xD
Anyway, import did well, animation plays - GREAT!
Dungeon Master Resource Pack worker and passionated Beer drinker
User avatar
Doridion
Posts: 256
Joined: Tue Jun 10, 2014 9:23 pm

Re: Blender 2.71 - Model Importer

Post by Doridion »

Not dumb germanny, just like all of us : Impatient :D
User avatar
Lark
Posts: 178
Joined: Wed Sep 19, 2012 4:23 pm
Location: Springfield, MO USA

Re: Blender 2.71 - Model Importer

Post by Lark »

This is simply awesome Germanny! Thank you! I'm having so much fun learning 3d modeling (and banging my head on trees when I finally see how obviously easy something was that I spend days finding)... but being able to import existing models and working with them wouldn't be possible (at least for me) without all of your hard work!

Thank you, thank you, thank you!! -Lark
User avatar
Doridion
Posts: 256
Joined: Tue Jun 10, 2014 9:23 pm

Re: Blender 2.71 - Model Importer

Post by Doridion »

Lark wrote:This is simply awesome Germanny! Thank you! I'm having so much fun learning 3d modeling (and banging my head on trees when I finally see how obviously easy something was that I spend days finding)... but being able to import existing models and working with them wouldn't be possible (at least for me) without all of your hard work!

Thank you, thank you, thank you!! -Lark
Hum .... aaa .... Lark ? .... Germanny is, like us, using bitcpy's work ^^

If you want thanking somebody for this importer, it's ..... bitcpy :D

* run out of gunshots *
User avatar
germanny
Posts: 530
Joined: Sat Apr 07, 2012 10:52 pm
Location: Kiel, Germany

Re: Blender 2.71 - Model Importer

Post by germanny »

Hey bitcpy - maybe it help you in finishing the module?

Did an import of the wizard model with all animations in different actions.
Two errors encountered:
- the 'wizard_check_door' action is a bit distorted
- 'wizard_get_hit' action sequence didn´t load, breaks up with an error message.
See pic below.
Image


Blender action editor:
I suggest while duplicate/add an action sequence in blender, and import another sequence into, delete the copied data first.
(A + del)
Maybe(?) otherwise it can distort the newly imported sequence? Have to check that.
Dungeon Master Resource Pack worker and passionated Beer drinker
bitcpy
Posts: 39
Joined: Tue Apr 24, 2012 7:43 pm

Re: Blender 2.71 - Model Importer

Post by bitcpy »

Sorry, just got home.

Please do keep posting problems and suggestions. I'd love to look into and sort them out as soon as it's possible.
Everything helps!

Also note the top node that is added by the importer called 'game_matrix', it's a transform node to place everything in a more Blender friendly space and isn't really part of the actuall model file.

Hopefully I'll be able to put a new import/export script up this weekend.

@germanny
I had a look at the check door animation, not sure what's going on, but I'll look into it.

The hit animation doesn't seem like it's actually done for that model.
There's a alot of bones with names referencing nodes not available in that model, one thing I could do is allow the animation to load anyway and give some sort of warning report instead of crashing.

Good point with the anim import on new action sequence, I'll check it out (have to read up a bit on actions first).
Post Reply