OpenCAGE
OpenCAGE copied to clipboard
Parse CS2 Models in CATHODELib itself and not pass the responsibility of parsing CS2 models to the application.
Currently - you have to parse the binary data for CS2 models via Submesh.Content, you get helper information, but not too much.
The CathodeLibExtensions class used in various OpenCAGE apps do this job as how you handle the mesh data is quite platform specific, but I'll look at documenting this better or exposing nicer methods
I've updated CathodeLib now to contain a ModelUtility class, which adds extensions to the CS2 submesh to convert it to/from a nicer Mesh object, which contains parsed model data in a more easy to use format 👍
Shout if you run into any issues!