Jump to content

SL Collada, The mesh fix for Blender


Gaia Clary
 Share

You are about to reply to a thread that has been inactive for 4447 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Hi, all;

After a lot of talking and tweeking and experimenting and sleepless nights and a looot of coffee... Here is a programmed workaround for one of the most disheartening Blender Collada issues, the Export of rigged mesh with or without Joint offsets.

The tool comes as a Blender addon module (Works with Blender 2.59, 2.60, 2.61). It does some weird magic in the background but at the end it creates working Collada Files. It also supports armatures in "blender orientation" (character looks towards you in Front view, thus symmetry tools work with it):

The full story (and the free download) can be found at the Avastar/Mesh page on our Blog. We wish you all a happy and joyfull new Year.

Gaia, Magus, Domino

  • Like 6
Link to comment
Share on other sites

Spamming again, Gaia?  Geez, some people never learn. :D

Kidding, OF COURSE!

 

Seriously, you and your team are amazing.  It's truly remarkable what you consistently do to benefit the community.

I have yet to get joint offsets to work at all for me.  I haven't really had a chance to sit down and figure out if it's something I've been doing wrong, or if SL just doesn't like the COLLADA files that Maya is putting out, in that respect.  It's nice to know that if it's the latter, there's a workable solution via Blender.

Thanks for all you do.  (Now, if only the Maya community had more people like you guys, who would script up a storm, every time there's an SL-related usability issue...)

Link to comment
Share on other sites

I found a bug, which slipped in during my cleaning up of the code and which affected joints offsets. I just fixed the issue and posted a new version of the addon to our Blog ( SLCollada-1-4.py )

Many thanks to Raz Welles and Eleanora Newell for reporting the issue.

 

Link to comment
Share on other sites

EDIT: Nevermind.  I should have done some more digging before I posted.  Apparently I needed a 2.6 compatible armature as well.  Downloaded the one from the site and everything works now.  Sorry!

 

So I must be doing something wrong still.

I've made a mesh avatar (yay) in blender 2.49b.  Rigged it, exported it with 2.49b with no problems.  Uploaded it and it works pretty much as expected.  I want to use the more recent versions of Blender, but I keep running into problems with rigging.  I thought maybe this script would fix it.  The av is no longer sideways, but now all of the parts are rotated wierd.

The left arm is correct, but all the rest of the body parts are rotated 90 or 180 degrees from their joints, so the fingers of the right hand are pointing to where the elbow should be and the legs are sticking out at 90 degree angles from the hip, etc.  I applied the rotation on the armature and the mesh, rotated to Blender orientation.  I then tried rotating everything to face right, for SL orientation and tried exporting again without the z -90 rotation, but I got the same problem.  I'm using the skeleton from the avatar.blend file and, as I said before, the rigging works when i use 2.49b.  So I don't really know what the problem is.

Link to comment
Share on other sites

  • 1 month later...
You are about to reply to a thread that has been inactive for 4447 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...