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

skipping UNKNOWN1 causes massive issues #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

WeaselOnaStick
Copy link

@WeaselOnaStick WeaselOnaStick commented Oct 23, 2024

As far as I understand UNKNOWN1 is the size of UV Transforms block, and wasn't utilized in TWD games (size 0). But in Sam&Max remasters I'm working with it's used quite often. For now I'm just skipping the blocks (size 20 = Int32+4xFloat32) but you should probably make appropriate vectors. I'm not too knowledgeable in the code base for that.
This should probably be renamed to something like mUVTransforms in the future too

So far I can only verify that the converter is reading data correctly, by comparing vert counts and objects/MeshBatches count
image
image

This should probably be renamed to something like mUVTransforms in the future
@Lilothestitch16
Copy link

How did you port that in Blender?

@WeaselOnaStick
Copy link
Author

How did you port that in Blender?

I'm developing my own d3dmesh importer for blender

@Lilothestitch16
Copy link

That looks cool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants