Jump to content

Talk:Mod Tool/OniTools addon: Difference between revisions

m
no edit summary
(Unexpected complication: Onisplit turns M3GM's triangles into quads on import.)
mNo edit summary
Line 60: Line 60:




I'm not fluent with binary stuff so I dump some notes here:
I'm not fluent with binary stuff so I will dump some notes here:




Line 126: Line 126:
'''Complications'''
'''Complications'''


M3GM uses triangles while AGQG uses quads (look, there are always 4 points each with its own color 32-bit color slot).
M3GM files use triangles while AGQG instances use quads (look, there are always 4 points each with its own 32-bit color slot).


That means Onisplit converts the M3GM triangles into quads on import.
That means Onisplit converts the M3GM triangles into quads on import.


So Mod Tool would need to exactly mimic onisplit's way turning triangles into quads.
So Mod Tool would need to exactly mimic OniSplit's way turning triangles into quads.


This information is based on following experience:
This information is based on following experience:
Line 138: Line 138:
: Console0: 47 quads = 38 (main) + 6 (collision box) + 1 + 1 + 1 (light tex quads)
: Console0: 47 quads = 38 (main) + 6 (collision box) + 1 + 1 + 1 (light tex quads)
* AGQG has 47 elements.
* AGQG has 47 elements.


===Animated reference===
===Animated reference===
8,046

edits