Commit Graph
21 Commits
Author SHA1 Message Date
Leonardo Zide a93a119ee2 Small mesh loader cleanup. 2021-04-10 16:18:15 -07:00
Leonardo Zide 5825371b7e Fixed buffer overflow loading certain parts. Fixes #659. 2021-03-27 12:48:36 -07:00
Leonardo Zide a460075278 Fixed normal transforms. 2021-03-17 21:43:02 -07:00
Leonardo Zide b0f689df83 Crash fix. 2021-03-13 14:53:50 -08:00
Johannes Sixt 19bc2f4f90 Fix check for type of mesh index.
The index type does not only depend on the number of geometry vertices,
but also on the number of conditional line vertices. Check the stored
type, not the number of vertices.
2021-03-13 11:59:57 +01:00
Leonardo Zide 3e84285f40 Refactored bounding box calculation. 2021-03-07 10:14:48 -08:00
Leonardo Zide b7740d9db1 Don't look for duplicate conditional verts. 2021-03-07 09:57:17 -08:00
Leonardo Zide c3ad14ac04 Conditional line shader. 2021-03-06 18:54:24 -08:00
Leonardo Zide 03b9c75d9e Fixed subparts not updating stud style. 2021-01-23 14:55:00 -08:00
Leonardo Zide 728980c97a Fixed mesh reload after changing stud options. Fixes #608. 2021-01-23 11:43:57 -08:00
Trevor SANDY f21d7ad63a Stud style - Rename stud logo 2021-01-20 13:19:29 +01:00
Leonardo Zide cbfd2ce4bc Renamed enum. 2021-01-18 13:38:17 -08:00
Leonardo Zide 33fe9cfac2 Faster parts list sorting. 2019-11-23 10:46:18 -08:00
Leonardo Zide 481d4e6e81 Added bounding boxes to mesh sections. 2019-11-22 12:48:40 -08:00
Leonardo Zide f266040633 Don't apply textures to lines. 2019-11-02 11:38:24 -07:00
Leonardo Zide eed617c04c Fixed missing triangles in lods with textures. 2019-10-26 11:30:25 -07:00
Leonardo Zide 9499dd9daa Fixed stud LOD not working. Fixes #390.
Also fixed cached pieces not updating their logo settings.
2019-09-29 12:58:18 -07:00
Leonardo Zide 4269e84a16 Fixed parts with studs in primitives not reloading when changing the logo setting. 2019-09-27 14:52:50 -07:00
Leonardo Zide 66bbb8d9de Simpler stud reload. 2019-09-23 16:55:24 -07:00
Trevor SANDY f91da8a7ce Change stud logo without application restart (#389)
* Change stud logo without application restart

* Refactor change stud logo without application restart
2019-09-23 16:22:11 -07:00
Leonardo Zide 1e2f6c208f Moved mesh loading code to a separate file. 2019-07-27 16:31:16 -07:00