Leonardo Zide
4c97a4d514
Weight vertex normals based on the angle of each face. Fixes #683 .
2021-12-23 12:15:33 -08:00
Leonardo Zide
c10804d31b
Simplified manipulator rotation math.
2021-12-11 15:52:38 -08:00
Leonardo Zide
36dbcec238
Fixed macOS OpenGL deprecation warnings.
2021-11-20 19:56:52 -08:00
Leonardo Zide
7d884e6b5f
Static analysis fixes.
2021-11-14 18:34:24 -08:00
Leonardo Zide
a9971b0b1a
Fixed rendering issues with missing textures.
2021-06-27 12:13:54 -07:00
Leonardo Zide
bad9bd5069
Fixed wrong texture mesh indices. Fixes #727 .
2021-06-26 14:01:02 -07:00
Leonardo Zide
8dcc1bb970
Warning fix. Fixes #725 .
2021-06-26 13:27:17 -07:00
Leonardo Zide
bd12ad5842
Small cleanup.
2021-06-13 16:24:12 -07:00
Leonardo Zide
0fa195b334
Array cleanup.
2021-06-13 15:41:57 -07:00
Leonardo Zide
7162639295
Calculate texcoords at the end of the file load. Fixes #641 .
2021-06-13 15:35:40 -07:00
Leonardo Zide
bf7a382dcc
Store texture projection as part of the section while loading meshes.
2021-06-12 19:29:13 -07:00
Leonardo Zide
ee5c551bc8
Refactored duplicate code.
2021-06-06 10:51:34 -07:00
Leonardo Zide
613bc91c4d
Moved texture stack from function parameter to member variable.
2021-06-05 17:44:20 -07:00
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