Document extended W3D format declarations from max2w3d#139
Open
caseychaos1212 wants to merge 2 commits into
Open
Document extended W3D format declarations from max2w3d#139caseychaos1212 wants to merge 2 commits into
caseychaos1212 wants to merge 2 commits into
Conversation
OmniBlade
requested changes
May 29, 2026
Collaborator
OmniBlade
left a comment
There was a problem hiding this comment.
Are these all from later versions of W3D based games or are some from W3DHub engine work that have been created? Could it be documented if they are "official" extensions or "community" extensions if its a mix?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This draft PR updates OpenW3D's W3D format headers with additional declarations documented by the newer
max2w3dscripts sources.Reference source:
max2w3d/scripts/w3d.hmax2w3d/scripts/w3dobsolete.h17485aaa575fc5032540c24f2c3f48a67ace2423(Updated with Source from 1.9.0, March 7, 2026)Changes
W3D_CHUNK_VERTEX_INFLUENCESlayout used by smooth-skin files, alongside the four-bone extended form.Intent
This is a format specification update only. It publishes known later-format identifiers and layouts so future OpenW3D work can implement support deliberately.
This PR does not add support for reading, writing, exporting, or rendering these newer format features.
Deliberately Deferred
W3D_CHUNK_LIGHTMAP_UVis not included because it was not completed in the reference implementation.Files Updated
Code/ww3d2/w3d_file.hCode/ww3d2/w3d_obsolete.hCode/Tools/max2w3d/w3d_file.hCode/Tools/max2w3d/w3d_obsolete.hFollow-Up Work
Future PRs can implement individual features from this published format surface, such as extended skinning, later shader chunks, or additional light/emitter data, with appropriate loader/exporter/runtime tests.