Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove 5% Weight Bone Link Cull In Studiomdl #1637

Closed
Raxsyz opened this issue Jun 23, 2020 · 1 comment
Closed

Remove 5% Weight Bone Link Cull In Studiomdl #1637

Raxsyz opened this issue Jun 23, 2020 · 1 comment
Labels
Tools The request relates to the modding and development tools.

Comments

@Raxsyz
Copy link

Raxsyz commented Jun 23, 2020

As you may know, by default studiomdl tends to have a limit where if a model's vertex has link to a bone with a weight below 0.05 (5%), studiomdl will ignore that bone for that vertex.

Meaning, for a very high poly models, this brakes the models rigging. Essentially the models have spiky weights when moving bones around, looking kinda messy.

The fix is as simple as changing the value from "9A 99 99 99 - 99 99 A9 3F" to "01 00 00 00 - 00 00 00 00" in the offset "0x5BE020" (the offset might be different in Gmod version.)

This technique will remove 99% of culling in the models weights, and it will benefit all of the model porters (including myself) with better and smoother weights on high poly models. Especially at the times like these where games tend to have highly detailed models.

@robotboy655 robotboy655 added the Tools The request relates to the modding and development tools. label Apr 22, 2021
@robotboy655
Copy link
Contributor

Changed from 0.05 to 0.0001 (matches csgo)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tools The request relates to the modding and development tools.
Projects
None yet
Development

No branches or pull requests

2 participants