Commit graph

164 commits

Author SHA1 Message Date
Leonardo Zide
17a230c52a Added favorite parts category. 2019-12-07 09:52:46 -08:00
Leonardo Zide
e4f4ea2ef2 Support loading textures from the unofficial folder. 2019-10-26 11:41:49 -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
fa06a83704 Add stud logo setting to cache check. 2019-09-23 17:06:16 -07:00
Leonardo Zide
ed5259229e Fixed mesh cache not loading parts. 2019-09-23 16:56:47 -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
Trevor SANDY
5adcfb4027 Add stud logo preference and command line option (#387)
* Add stud logo preference and command line option

* Support add stud logo when using disk library
2019-09-21 09:47:33 -07:00
Leonardo Zide
1e2f6c208f Moved mesh loading code to a separate file. 2019-07-27 16:31:16 -07:00
Leonardo Zide
a9ff4d265b Replaced PieceInfo flags with enum. 2019-07-21 09:26:36 -07:00
Leonardo Zide
e68ce05b57 Moved mesh flags to the mesh class. 2019-07-21 08:56:37 -07:00
Leonardo Zide
4493c3f6f2 Array cleanup. 2019-07-04 17:06:26 -07:00
Leonardo Zide
5a3abf18e0 Allow custom color and minifig settings files. Fixes #359. 2019-06-20 18:52:33 -07:00
Leonardo Zide
a464606507 Fixed compiler warnings. 2019-06-03 13:23:04 -07:00
Leonardo Zide
7001cdf11d Fixed crash loading textured parts. 2019-06-02 09:39:12 -07:00
Leonardo Zide
b8c2074c93 Fixed primitives under p/8/ not being found by loose file libraries. 2019-06-01 19:54:09 -07:00
Leonardo Zide
7d43f54e6e Fixed normal smoothing between texture and untextured triangles. Fixes #175. 2019-05-27 16:07:20 -07:00
Leonardo Zide
602dfeb8b6 Fixed /w4 warnings. 2019-05-18 11:33:27 -07:00
Leonardo Zide
ec720a6c04 Fixed ldconfig.ldr loading on case sensitive file systems. Fixes #348. 2019-05-18 10:49:52 -07:00
Leonardo Zide
3f7db06fce Improved readability of texture mapping parameters. 2019-03-17 13:17:11 -07:00
Leonardo Zide
5d06035187 Fixed bounding box calculation of parts without triangles. 2019-02-22 17:02:38 -08:00
Leonardo Zide
bcd6ce8791 Use anisotropic for the string cache texture. 2018-09-29 19:45:21 -07:00
Leonardo Zide
671d5fa266 Fixed fallthrough warnings. 2018-09-24 11:29:05 -07:00
Leonardo Zide
8d3b6a1d7a Fixed texmap in files included with an offset. 2018-05-07 12:26:26 -07:00
Leonardo Zide
47b28d06be Use texmap fallback if we fail to load the png file. Fixes #213. 2018-03-17 12:21:38 -07:00
Leonardo Zide
10e538efde Fixed static analysis warnings. 2018-02-21 17:27:24 -08:00
Leonardo Zide
a1dfc7c26c Fixed inverted u texture coordinate on cylindrical projections. 2018-02-19 10:47:10 -08:00
Leonardo Zide
247dc0d7a2 Fixed Windows warning. 2018-02-17 11:34:15 -08:00
Leonardo Zide
f3aba2fea3 Don't lower case texture file names. 2018-02-17 11:32:29 -08:00
Leonardo Zide
a826fd9722 Fixed cylindrical texmap wrapping around the back. 2018-02-13 16:16:22 -08:00
Leonardo Zide
e2fdf6ca03 Match cylindrical texmap to spherical. 2018-02-13 15:54:55 -08:00
Leonardo Zide
945473267f Fixed part description cache not checking file times. 2018-02-01 12:48:31 -08:00
Leonardo Zide
d7928a78ed Fixed spherical texture coordinates around poles. 2018-01-28 10:03:59 -08:00
Leonardo Zide
d3d88ccaf1 Fixed texcoord wrap issue with spherical texmap. 2018-01-27 19:45:06 -08:00
Leonardo Zide
ebc67d2a8b Initial implementation of spherical texture mapping. 2018-01-27 15:57:48 -08:00
Leonardo Zide
5c1cfa4bc9 Only use triangles to calculate the mesh bounding box. 2018-01-20 17:35:21 -08:00
Leonardo Zide
6f940a473e Fixed normal smoothing on texmap vertices. 2018-01-20 12:04:50 -08:00
Leonardo Zide
f79a7f2093 Decreased vertex welding distance. 2018-01-20 11:51:57 -08:00
Leonardo Zide
0112b5385b Support cylindrical texmap. 2018-01-17 15:14:30 -08:00
Leonardo Zide
65ff6a41c6 Fixed parts that use texmap on primitives. 2018-01-12 21:23:43 -08:00
Leonardo
dac8708bb6 Bumped cache version. 2017-12-23 05:26:55 -08:00
Leonardo
880f8f9a47 Only upload textures from the main thread. 2017-12-22 05:42:28 -08:00
Leonardo
a57c6275c0 Fixed texture path inside ldrawunf.zip. 2017-12-22 04:38:47 -08:00
leo
ace53d4a9d Fixed compiling on Qt5.0 to 5.2. 2017-12-10 10:13:58 -08:00
Leonardo Zide
636e013455 Removed lcint types. 2017-12-02 12:22:04 -08:00
Leonardo Zide
c612397b9d Cache part descriptions when using loose files. 2017-11-26 19:21:54 -08:00
Leonardo Zide
6658a03d65 Fixed slow shutdown when there's a piece load pending. 2017-11-25 12:57:41 -08:00
Leonardo Zide
5d1a900683 Don't show library load progress when the running from the command line. 2017-11-24 20:00:16 -08:00
Leonardo Zide
eb674a3704 Fixed unresponsive UI while loading complex primitives. 2017-11-24 19:45:27 -08:00