Skip to content

Double transform fix for modular ships / Fix mirrored parts of modular ships - #99

Merged
CCPNobody merged 6 commits into
mainfrom
double-transform-fix
Oct 2, 2026
Merged

CCPNobody merged 6 commits into
mainfrom
double-transform-fix

Conversation

@ccp-intern

@ccp-intern ccp-intern commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

https://fenriscreations.atlassian.net/browse/PLAT-12078

Fixed the issue: Modular ships build with EveSOF::BuildChild apply transformations twice to attachments, effect children, nested layouts and audio.

Last commit only. The other changes are part of #93


The following changes from #93 are merged into this PR:

https://fenriscreations.atlassian.net/browse/PLAT-12004

Fixes mirrored parts on modular ships:

Decomposes matrix based on determinant, with (hopefully) safe mirror axis chosen by callers
Reverse winding helper in TriGeometryRes to dry code
Instanced meshes have lod indices with reverse winding and create separate batches
Reverse quad index buffer in Tr2Renderer, used by haze and boosters
Light radius and bounding sphere calculation with absolute values
BuildChild passes scale/rotation/translation so that roundtrip through Decompose doesn't kill negative scale

Comment thread trinity/Utilities/MatrixUtils.cpp
Comment thread trinity/Utilities/MatrixUtils.cpp
Comment thread trinity/Eve/SpaceObjectFactory/EveSOF.cpp
Comment thread trinity/Eve/SpaceObject/Children/EveChildBoosterSet.cpp
Comment thread trinity/Eve/SpaceObjectFactory/EveSOF.cpp
CCPNobody
CCPNobody previously approved these changes Sep 28, 2026
@ccp-intern ccp-intern changed the title Double transform fix for modular ships Double transform fix for modular ships / Fix mirrored parts of modular ships Oct 1, 2026
Fixing incorrect merge
@CCPNobody
CCPNobody merged commit 478ab71 into main Oct 2, 2026
22 checks passed
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.

3 participants