Jump to content

3ds Max and Noesis


Recommended Posts

I wrote a Max8 Maxscript dotXSI Importer script... it works just fine up to Max2012. It imports skin weights. Check it out.

 

To import a GLM and preserve skin weights-- use Noesis and then save as another 3D format you can import into your 3D app. Remember the models are scaled down 64%... do you'll need to rescale by 1.5625

Currently I'm using Max 2015 and unfortunately none of the exporters seem to work for it. I get an error on startup saying the plugin won't be loaded as it's made for an older version.

Link to comment

Currently I'm using Max 2015 and unfortunately none of the exporters seem to work for it. I get an error on startup saying the plugin won't be loaded as it's made for an older version.

but a new exporter is not required !

Use noesis, as described by @@DT85 in his tutorial

http://jkhub.org/tutorials/article/182-glm-importexport-using-noesis/

 

if you convert a glm to fbx via Noesis it MIGHT keep the weighting intact when importing in 3ds max

I can not confirm this (yet) though

Link to comment

Alright, so I found an old copy of Max 8 and the exporter that worked with it. I used Noesis to convert the (original unedited) .glm. First I tried .fbx, but importing that into Max causes Max to crash. I then tried .obj, which imports, but without weights. I don't think that route is going to work for wanting to do this without reweighing the model from scratch.

 

Ashura - I could import the .fbx into 3DS Max 2015, but then how do I save the model from 3dmax to .xsi/.glm without an exporter? Am I meant to then use Noesis again to reconvert to .glm?

Link to comment

Alright, so I found an old copy of Max 8 and the exporter that worked with it. I used Noesis to convert the (original unedited) .glm. First I tried .fbx, but importing that into Max causes Max to crash. I then tried .obj, which imports, but without weights. I don't think that route is going to work for wanting to do this without reweighing the model from scratch.

 

Ashura - I could import the .fbx into 3DS Max 2015, but then how do I save the model from 3dmax to .xsi/.glm without an exporter? Am I meant to then use Noesis again to reconvert to .glm?

yes, you are I just tried to import an fbx to 3ds max and I couldn't get weights, hierarchy or skeletal data sadly

Link to comment

@@Azatha
I did it !
Screenshot%202015-07-16%2016.40.40.png?d
Noesis settings :
Screenshot%202015-07-16%2016.41.24.png?d
notice that you have to copy the humanoid.gla in the directory that contains your model.glm

the bones are kinda skewed in max though, so I mgiht have to fiddle with the noesis commands a little more

BUT I got Noesis to export hierarchy, skeleton and Weighting from GLM to FBX and manaed to import that into 3ds max
now onto reexporting from 3ds max and converting to glm with noesis - which i'll try tonight

Cerez likes this
Link to comment

Awesome! Keep me updated on your progress with the bone fiddling and all that, I wouldn't even know where to begin! All of this has made me feel like such a noob, my expertise always did lie more in skinning than this sort of stuff.

Link to comment

You can't use the model as-is from FBX from what I've tried. The skeleton is screwed pivot-wise, and everything is smaller that it should be due to the GLM being scaled to 0.64 in carcass.

 

This is what I do (when I'm too lazy to re-weigh everything) to ensure a proper exported model:

 

1. Import the FBX. Delete the tags.

2. Save the skin weights for all meshes.

3. Merge import a proper set of JKA bones & tags from another MAX file.

4. Scale up the mesh to match the hands.

5. Unlink & reset Xform on all mesh parts.

6. Add back the skin modifier to all meshes.

7. Re-apply the skin weights by loading the weights save file for each mesh.

8. Re-link everything.

9. Export to XSI for carcass compiling, or back to FBX for Noesis.

 

I'm sure there's a magic number that will fix the scaling, as you can rescale the model in Noesis but I haven't found it yet.

 

A little tip for weighing caps is to use skin wrap, use the body part mesh that the cap is for as the reference mesh, use face (not vertex) and then convert it to skin. Handy if you need to weigh caps for arms and what not.

Link to comment

@@DT85 the scaling is no problem at all - just don't scale the model on conversion from FBX to GLM !

simply alter this :

-scale 0.64 -g2exforceskeleton 53 -g2extagtrivertshift 4 -g2exorderbonesfromgla _humanoid.gla

to this :

-scale 1.0 -g2exforceskeleton 53 -g2extagtrivertshift 4 -g2exorderbonesfromgla _humanoid.gla

that should do the trick

 

otherwise the scale command should also be possible to use when converting glm to fbx making

my current option setup :

-scale 1.5625 -rotate 90 0 0

I'll try to find a command that fixes bone orientation - if reexporting and converting to glm does not work with the skewed skeleton

 

about weighting caps - that's what I was doing from the very beginning :P

 

EDIT :

got a close to correct hierarchy and correct scale using these commands :

-scale 1.5625 -rotate 90 0 0 -hiefrombones

also think I may have found a fix for the skewed bone pivots... if they are all skewed the same

 

EDIT 2 :

imported the fbx into your max skeleton @@DT85 oddly the model is still very small - way to small even though the scale parameter was set correctly

 

EDIT 3 :

-scale 3.953 -rotate 90 0 0 

model scale is now correct (according to your max8 skeleton)

bones are still a friggin mess but somehow the mesh hierarchy looks correct now

Link to comment

I actually see some hard seams in your screenshots, similar to what I ended up with. Hard to say until testing in game.

these are from the UV Seams Carcass is responisble for creating that nasty effect

 

I have found a way to fix that though using the noesis pipeline and some 3ds max "trickery" - tutorial incoming as soon as I got the pipeline for importing, editing and reexporting models to and from 3ds max down

Link to comment

I am currently writing a Maxscript that will allow you to easily fix the screwed up bones coming from importing a Noesis GLM==>>FBX file.

 

When I'm finished I'll send it to @@AshuraDX to upload in the Utilities section for me.

that will be uploaded together with the tutorial

, should make sure that it works properly first ;)

Archangel35757 likes this
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...