|
 |
| Author |
Message |
|
Sean Mirrsen
|
Posted: 03 Sep, 2007
|
|
Joined: 16 Feb, 2007 Posts: 325 Location: Togliatti, Russia
|
Lightwave SCM&SCA Export Kit. Now v1.2
///////////////////////////////////////////////////////////
Kit updated.
Version 1.2.
Changes :
- Model is automatically mirrored to appear correct ingame.
Fixes:
- Model exporter now correctly filters out blank weight map values.
- WriteFloat function accuracy increased.
- Errors in initial bone placements and rotations fixed.
Upcoming:
- Writing two VMaps.
- Writing Initial bone data and Initial Position data separately.
_________________ Controller Sean 'Jaguar' Mirrsen
Creator and developer of the (currently lost) Drones race for TA and Spring
Lightwave SCM&SCA Export Kit
Last edited by Sean Mirrsen on 02 Oct, 2007, edited 4 times in total.
|
|
| Top |
|
 |
|
Sean Mirrsen
|
Posted: 04 Sep, 2007
|
|
Joined: 16 Feb, 2007 Posts: 325 Location: Togliatti, Russia
|
|
Exporter completed.
_________________ Controller Sean 'Jaguar' Mirrsen
Creator and developer of the (currently lost) Drones race for TA and Spring
Lightwave SCM&SCA Export Kit
Last edited by Sean Mirrsen on 02 Oct, 2007, edited 1 time in total.
|
|
| Top |
|
 |
|
Sean Mirrsen
|
Posted: 21 Sep, 2007
|
|
Joined: 16 Feb, 2007 Posts: 325 Location: Togliatti, Russia
|
|
Exporter completed.
_________________ Controller Sean 'Jaguar' Mirrsen
Creator and developer of the (currently lost) Drones race for TA and Spring
Lightwave SCM&SCA Export Kit
Last edited by Sean Mirrsen on 02 Oct, 2007, edited 1 time in total.
|
|
| Top |
|
 |
|
Jessman
|
Posted: 22 Sep, 2007
|
|
Joined: 09 Mar, 2007 Posts: 182
|
|
wow! Nice work Sean!! This will be good to get some more modellrs working on thiss game. I am glad I am not taking anything in the field of programming, cause I have no idea what you did to get itdone, it all sounded like it would take nothig short of genius of einstein's level to do something like you did
|
|
| Top |
|
 |
|
Sean Mirrsen
|
Posted: 22 Sep, 2007
|
|
Joined: 16 Feb, 2007 Posts: 325 Location: Togliatti, Russia
|
|
Exporter completed.
_________________ Controller Sean 'Jaguar' Mirrsen
Creator and developer of the (currently lost) Drones race for TA and Spring
Lightwave SCM&SCA Export Kit
Last edited by Sean Mirrsen on 02 Oct, 2007, edited 1 time in total.
|
|
| Top |
|
 |
|
Sean Mirrsen
|
Posted: 22 Sep, 2007
|
|
Joined: 16 Feb, 2007 Posts: 325 Location: Togliatti, Russia
|
|
Exporter completed.
_________________ Controller Sean 'Jaguar' Mirrsen
Creator and developer of the (currently lost) Drones race for TA and Spring
Lightwave SCM&SCA Export Kit
Last edited by Sean Mirrsen on 02 Oct, 2007, edited 1 time in total.
|
|
| Top |
|
 |
|
Sean Mirrsen
|
Posted: 22 Sep, 2007
|
|
Joined: 16 Feb, 2007 Posts: 325 Location: Togliatti, Russia
|
|
Exporter completed.
_________________ Controller Sean 'Jaguar' Mirrsen
Creator and developer of the (currently lost) Drones race for TA and Spring
Lightwave SCM&SCA Export Kit
Last edited by Sean Mirrsen on 02 Oct, 2007, edited 1 time in total.
|
|
| Top |
|
 |
|
GeomanNL
|
Posted: 22 Sep, 2007
|
|
Joined: 07 Aug, 2007 Posts: 219
|
|
Recently I took a look at the blender exporting code, and I was overwhelmend by the complexity. I mean, it is not much code, and not many processing steps but they are all different!
The difference is the following:
the root bone had to be rotated wrt the real world (I think).
the other bones had to be rotated inversely with their parent bones
meshes were ordered in vertex groups, and it looked like each had its own reference frame.
I think this is so complex.
I experimented a bit with the code without knowing what I was doing, I was changing the reference frames, and that resulted in bad results
- a completely twisted model when I somehow was overwriting a matrix (when calling the invert function or something like that)
- a model that was completely invisible, because ... I dunno, never found out.
- a model where the textures were turned inside out.
Looks like you solved all that but if something like that happens to you again, just check with each rotation you make, if it's using the correct reference frame for that object. And also, this sounds silly, if you're not overwriting information.
|
|
| Top |
|
 |
|
Sean Mirrsen
|
Posted: 25 Sep, 2007
|
|
Joined: 16 Feb, 2007 Posts: 325 Location: Togliatti, Russia
|
Ok, RELEASE!
First release. As such, it's a test release. Let's see if other people can get this exporter to do what they want.
Note: I use Lightwave 9.3. The scripts may not work on prior LW versions. You should try though, and tell me.
What It Can Do:
Export the SCM model with one (for now) VMap, and any number of bones. Skinning is supported, as much as the engine allows. Exports animations in what seems to be a correct way. Can export reference bones mid-branch, though exact effects on model are unknown.
What It Can't Do:
Export the SCA animation while bones are dependant on IK or goals. Everything has to be keyframed at appropriate locations, then IK must be turned off and goals have to be unlinked. Only then SCA will export correctly.
What It Contains:
Apart from the three scripts to export the bone structure, the model, and the animations, a script is provided to export VMapped OBJ files for use with the Melody normalmap generator. Also, a set of tools called Nifty Plugins that deal with various UV tasks has been included.
Link in first page, and here: here is the file.
_________________ Controller Sean 'Jaguar' Mirrsen
Creator and developer of the (currently lost) Drones race for TA and Spring
Lightwave SCM&SCA Export Kit
|
|
| Top |
|
 |
|
OrangeKnight
|
Posted: 25 Sep, 2007
|
|
| Forum Scout |
 |
 |
Joined: 02 Mar, 2007 Posts: 9004 Location: Ninja Editing Your Post from a Canadian IPhone
|
|
| Top |
|
 |
|
Sean Mirrsen
|
Posted: 26 Sep, 2007
|
|
Joined: 16 Feb, 2007 Posts: 325 Location: Togliatti, Russia
|
Small improvement.
Now the animation exporter correctly watches for the start and end of the preview animation, instead of assuming it starts at 0.
Here's the update.
_________________ Controller Sean 'Jaguar' Mirrsen
Creator and developer of the (currently lost) Drones race for TA and Spring
Lightwave SCM&SCA Export Kit
|
|
| Top |
|
 |
|
Sean Mirrsen
|
Posted: 01 Oct, 2007
|
|
Joined: 16 Feb, 2007 Posts: 325 Location: Togliatti, Russia
|
|
The tool should now check if the point value on the weightmap is non-zero, rather than if it exists at all, when maping vertices to bones. I've also fixed the mirroring of the model, and (hopefully) got rid of the stupid transformation matrix problem. I'll do a series of experiments with various rotations, think about adding another function to the kit, and then release an update.
_________________ Controller Sean 'Jaguar' Mirrsen
Creator and developer of the (currently lost) Drones race for TA and Spring
Lightwave SCM&SCA Export Kit
|
|
| Top |
|
 |
|
Sean Mirrsen
|
Posted: 02 Oct, 2007
|
|
Joined: 16 Feb, 2007 Posts: 325 Location: Togliatti, Russia
|
|
Kit updated to v1.2.
See changelog and link in first post.
_________________ Controller Sean 'Jaguar' Mirrsen
Creator and developer of the (currently lost) Drones race for TA and Spring
Lightwave SCM&SCA Export Kit
|
|
| Top |
|
 |
|
Sean Mirrsen
|
Posted: 17 Oct, 2007
|
|
Joined: 16 Feb, 2007 Posts: 325 Location: Togliatti, Russia
|
Damn. Forgot I need to update it here as well.
I've made the exporter respect the different euler angle order in SupCom and Lightwave. That fixed most, if not all, problems with animation and bone export. The kit's now at 90% planned functionality, it only lacks second VMap export and handling of various user errors. I'll update it once it can do those as well. Nobody seems to use it anyways... 
_________________ Controller Sean 'Jaguar' Mirrsen
Creator and developer of the (currently lost) Drones race for TA and Spring
Lightwave SCM&SCA Export Kit
|
|
| Top |
|
 |
|
Nazza
|
Posted: 09 Apr, 2008
|
|
Joined: 29 Apr, 2007 Posts: 20
|
Hey there!  Any updates?
_________________
Nazza
Brotherhood of LOL
|
|
| Top |
|
 |
 |
 |
|