Asterix Gaming Guild Logo GeneralXXLXXL 2XXL 3XXXLOlympic GamesXXL EditorToolsOff-TopicXXL RomasteredXXL 2 RemasteredOther GamesModsCaesar's ChallengeUnfair XXLPatchesFan ArtPersonal ArtSpeedrunningMediaRandomizerBETA RomeHSKALPresence AdrienPresence SPQRSupport Bot Helpdesk

#editor

adrientd
So if that bit is not set, it should work normally?
pegperegogaucho
Indeed!
hesopesomeso
Yeah.
hesopesomeso
Well, they are called external flags, but I guess there's nothing :KEKW:
pegperegogaucho
I guess the reason why it has not been a problem before, is that obviosuly most nodes you see are transformed and then the flag is not set. But for some reason, the flag is not set for the child nodes of the helmet cages in Rome. Oversight by the devs? Why would they even need to set this super internal flag themselves? And Is the reason why those OBBs are size (1, 1, 1) because they tried fixing it? :KEKW:
adrientd
There may be situations in the editor where for example only the translation is changed (last row) so the flags are kept, if that that flag happens to be set, the editor will not update the flag if the matrix is no longer identity.
hesopesomeso
They prolly used RwMatrixSetIdentity, which sets the flag?
pegperegogaucho
Yeah, but the node is translated but the flag is still set...
hesopesomeso
Forgot to do those. I wonder whose job that was :KEKW:
pegperegogaucho
So maybe KAL translated it but the flag was not set and some poor frenchman had to change it manually
pegperegogaucho
Also, I don't understand the point of this flag. is this just used to quickly check if the matrix is an identity without checking the elements?
hesopesomeso
Yeah, for optimization.
hesopesomeso
poor frenchman :Obelul:
pegperegogaucho
I guess back then the matrix multiplication was slower than the branch
hesopesomeso
It's the same now on a CPU.
hesopesomeso
Very confusing header, but the 0x3 is `rwMATRIXTYPEORTHONORMAL`: `RwMatrixOrthoNormalize` does set it, so I guess that's that?
pegperegogaucho
Makes sense it is orthogonal
pegperegogaucho
also if the matrixinternalidentity flag is 0x20000, so the third byte, then what actually are the external flags? :Obelul:
hesopesomeso
External flags is the RwMatrixType, and internal is RwMatrixFlag.
pegperegogaucho
It must be useful to have all the RW headers