Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - friagram

#1
Thanks! It works great now. I'm aware that the model imports with some missing faces, sometimes crowbar does that (the other decompilers do too). I'm not a fan of decompiling models, but sometimes the authors stop supporting/developing them, or it's required to mod the game. Anyway, it's usually not a big deal and easy to fix, unless I'm trying to work with VTA data.. which is a huge pain because the vertex numbers then become different and I have to do stuff like skin wraps and stuff to try to get it to line up (I don't really know how else to fix that).

Importing VTA in max is kind of pain anyways, and as far as I know, there are no importers. What I've done in the past, is extracted all of the SMDs from the VTA by splitting the file and then imported each frame individually and added them all to a morpher, which is huge hassle.

Removing unused bones is a nice feature for importing or even exporting models (like bodygrouped models), mostly because all of that extra stuff really shouldn't be in the file as it is not used.
#2
perhaps, in  this case the pouch has weights, but it's weighing it wrong, like to the hand and the leg, etc.
#3
That would be right in this case. I'm pretty sure that I've seen this happen in the past with zero-weighted bones. After looking through several models, I think I see what the problem is. It happens fairly often with models that use painted weights too (so mabye' it's a rounding issue, but I really don't know). I just loaded up that model and if you look at prp_pouch there is a problem with the surrounding weights. It should just be weighted to the attached pack only. When I use cannonfodder's importer, it imports it weighted just to the pouch. When I use wall worm, it also weights it to nearby areas. For example, the vertex right above it attached to the vest has a weight of 0.919 to pelvis but 0.081 to pouch. Also, the vertex behind the pouch has a weight of 0.5 to pouch , 0.25 to hip r, and .25 to pelvis (in cannonfodder it's all 1.0 to pouch).

I don't see anywhere in the SMD where it's assigning the verts those weights, mostly it's all 1.000000, so I think this is probably the source of the problem I'm seeing.

Also, thanks for the work on these tools (and supporting them), they're great

I'm using max 2012 x64 on the left and 2015 on the right
#4
Bug Reports / SMD Import Zero-Weight bone problem
July 10, 2014, 02:32:29 PM
I'm using max 2015, but I believe it does it in other versions.

When importing a model that has bones with no vertex weights, the importer will  auto assign weight to the nearest vertex (as max would normally do when adding a bone to the skin modifier). However, these vertexes that it's assigning weight to already have weight properly assigned to those verts.

This commonly happens for stuff like weapon bones, hat bones, and other stuff that gets $bonemerge'd in for player models. Would it be possible to make the exporter simply drop zero-weighted bones from the skin modifier (but still import them into the scene) ? This would likely be an easy fix for the problem.

This is somewhat unrelated:
Another thing that I've noticed is that the importer splits the mesh and smoothing groups wherever there are UV map seams. It's not a huge problem, but both the cannonfodder and wunderboy importers handled this fairly well using explicit normals or by rebuilding smoothing groups. Even when using your weld option, it still seems to occur. This is probably due mostly to models being decompiled, but it does still happen on exported/imported SMDs. It's not a huge problem anyways.

Attached is decompiled model that imports OK with the 2012 compiled max importers, but has trouble with the wall worm maxscript importer (due to 0 weighted bones). Stuff like prp_pouch, prp_hat, weapon_bone, etc should not ever have weight assignment.
SMF spam blocked by CleanTalk