Model Utilities

Status
Not open for further replies.
Yeah, I agree with you there GlaphanKing

And about 3DS, wtf? Z as an up vector? I've been learning DirectX programming and it said common practice was Y is up lol

Then again. Although 3DS can be used for gaming purposes, it's not strictly gaming. That's probably why it's like that.
 
There's no defined up vector, really. In 3D Studio, it's likely that they were thinking of viewing things looking straight down, which would make the Z vector being depth make sense. idunno.

Bones are actually much, much, MUCH more efficient than cloth simulation, and it gives the animators more control over it than if the programmers had full control. I've always said FlyFF's team was entirely made up of artists.

If you're thinking about converting em to cloth simulation, you should look into verlet integration. Have fun :I
 
just a little quick update. I'm going to start working on an actual plugin for Max written in C++. I've been doing a lot of research and I can get better access to everything using the Max 9 SDK. I'll still release the maxscript as well when its complete in case people have problems with compatibility and such but for the most part, I will be working on the plugin.
 
a way that NifTools does it for Fallout and Elder Scrolls is you import the skeleton along with the armor. I kind of want to incorporate that as well.

I'm a little pissed right now because I found out that there are almost no functions or members for the Physique modifier. Do it manually sucks and I was told by some people who made plugins for Max that you need to write it in c++ with the sdk. The skin modifier works but the bones are starting to drive me nuts.

Anyone with any maxscripting experience please pm me if you have solutions. If I don't find a solution soon I may look at just writing a plugin.
 
OK. So here is where each thing stands.

The Maxscript for the flyff Importer will import the mesh and bones. It will not set the skin or physique modifiers as of yet. The ani will import the animation and assign them to each bone accordingly with CRAZY results.

I will release this for more testing but I will tell you right now that the animation is horrible and should not be used as it will screw up the bones. Your call on that one. I am looking for someone with animation experience with maxscript to lend some expertise on the subject. Until then, the script will be released as is.

I have also begun work on a plugin using the SDK so I can get better access to some of the underlying code. Will post updates on that.
 
From what I understand it has something to do with taking the rotation of the bone multiplied by the inverse of the parent rotation. I think I forgot to take that into account. Some friends over at Autodesk are giving me some advice here and there so hopefully I can work this out.
 
Hah. I had that problem too when I first started playing around with animations. I would suggest studying up on how quaternions work and how they interact with bone chains, it's a bit odd, but makes sense once you get it.

Quaternion = W, X, Y, Z.
Unit quaternion = ||Q|| == 1
Scalar = cos(theta/2)
Vector = Axis * sin(theta/2)
W = scalar, [X, Y, Z] = Vector.
 
OK. Let me see if I've got this right. Bear with me...

I get the slerp of the current Rotation and the Next Rotation
I get the Lerp of the current Translation and the Next Translation

Then make a new Rotation Matrix and apply it to the keyframe.

Am I on the right track?
 
Last edited:
Still working on animations. For those who do not want to dl the script or can't get it to work, I have made a vid for all to see progress to that point.

Note: This is 100% made by me with collaboration from various internet sources and the actual source.



you could possible animate the model yourself, or wait until I can get the anims finished.
 
Still working on animations. For those who do not want to dl the script or can't get it to work, I have made a vid for all to see progress to that point.

Note: This is 100% made by me with collaboration from various internet sources and the actual source.



you could possible animate the model yourself, or wait until I can get the anims finished.

That looks exactly like Addi's script.
 
Update: I've started to see how everything interacts with each other in terms of bone animation. Most of the models are animating the way they should but its still way far off from teh real thing.

any more tips on how this can be done would be nice.

I'm kinda interested @ boneviewer.
Is there any date it will be released?
 
Status
Not open for further replies.
Back