scenerygraphics / scenery

Flexible VR Visualisation for Volumetric and Geometric Data on the Java VM, powered by Kotlin and Vulkan.
https://scenery.graphics
GNU Lesser General Public License v3.0
130 stars 32 forks source link

OBJ object/group conventions #615

Closed skalarproduktraum closed 11 months ago

skalarproduktraum commented 11 months ago

As groups (g) and objects (o) are used somewhat inconsistently in OBJ files, this PR introduces a new heuristic in the OBJ parser that tries to figure out what convention is used. This fixes e.g. the loading of the Oculus Quest (2) model file textures from SteamVR.