Commit graph

116 commits

Author SHA1 Message Date
Leonardo Zide
6ca5c160f1 Place new pieces relative to the side of the piece under the mouse. 2021-12-24 15:42:37 -08:00
Leonardo Zide
a5207573bf Customizable object colors. 2021-11-24 15:20:08 -08:00
Leonardo Zide
2a24933fa8 Scoped enums. 2021-11-14 19:10:16 -08:00
Leonardo Zide
7d884e6b5f Static analysis fixes. 2021-11-14 18:34:24 -08:00
Leonardo Zide
d56e389ee4 Qt 5.4 fixes. 2021-07-05 17:07:24 -07:00
Leonardo Zide
e0b77b17bd Qt6 fixes. 2021-07-05 17:00:41 -07:00
Leonardo Zide
b70fab3059 Require Qt5. 2021-01-08 10:35:52 -08:00
Leonardo Zide
cb710206b7 Moved key functions into a separate class. 2021-01-05 11:26:01 -08:00
Leonardo Zide
660bb38bdd Fixed typo. 2021-01-03 15:01:28 -08:00
Leonardo Zide
098ee45e5b Better ortho zoom. 2021-01-03 12:19:57 -08:00
Leonardo Zide
cfe3fc0284 Fixed zoom extents direction. Fixes #587. 2021-01-02 10:40:30 -08:00
Leonardo Zide
6b2f8fa68c Viewpoint name parsing cleanup. 2021-01-01 15:04:27 -08:00
Leonardo Zide
24f3bbb45a Better ortho zoom extents math. 2020-12-31 14:46:31 -08:00
Leonardo Zide
499e648673 Use individual bounding boxes for zoom extents. 2020-12-31 10:22:12 -08:00
Leonardo Zide
542304f82e Use recalculated up vector. Fixes #574. 2020-12-28 10:16:40 -08:00
Leonardo Zide
3eec496047 Warning fixes. 2020-12-14 14:18:06 -08:00
Leonardo Zide
581c4ce523 Compile fix. 2020-12-13 17:14:33 -08:00
Leonardo Zide
fd92710cf8 Compile fix. 2020-12-13 17:05:27 -08:00
Leonardo Zide
2d7aba8895 Use QString for object names. 2020-12-13 16:27:21 -08:00
Leonardo Zide
fd8aca92df Scoped enum lcViewpoint. 2020-12-12 16:58:40 -08:00
Leonardo Zide
847cbfeb87 Added camera command line options. 2020-12-12 15:03:06 -08:00
Leonardo Zide
5a76f4c870 Scoped enums. 2020-04-18 19:45:21 -07:00
Leonardo Zide
90f1336a48 Scoped enums and constexpr. 2020-03-22 13:44:20 -07:00
Leonardo Zide
1c5c82a609 Avoid rolling the camera when using Look At. Fixes #407. 2019-12-25 12:25:32 -08:00
Leonardo Zide
1fef25a740 Added distance parameter to SetAngles. 2019-08-15 17:41:32 -07:00
Leonardo Zide
7c81198e7d Added Camera::GetAngles for LPub. 2019-08-15 17:33:37 -07:00
Leonardo Zide
ab94e51cf3 Keep the current camera settings when switching to a preset viewpoint. 2019-08-11 11:38:46 -07:00
Leonardo Zide
8b0bfc801e Fixed inconsistencies between default viewpoints and the view cube. 2018-09-19 13:19:01 -07:00
Leonardo Zide
4aa2cbeeb6 First pass view cube. 2018-08-19 20:28:04 -07:00
Leonardo Zide
752ae54788 Fixed interface draw location in active submodels. 2018-04-07 17:17:32 -07:00
Leonardo Zide
51bbdb9b97 Added option to remove key frames from selected objects. 2018-02-24 12:47:19 -08:00
Leonardo Zide
7ca156b3a7 Added commands for moving the camera relative to its current orientation. 2018-01-15 11:35:15 -08:00
Leonardo
104f5c843e Auto calculate the far plane when generating preview images. 2017-12-21 14:02:16 -08:00
leozide
2d538390d3 Added --camera-angles command line option. Closes #147. 2017-12-13 17:36:35 -08:00
Leonardo Zide
2de32b91af Adjust home viewpoint. Closes #143. 2017-12-09 16:35:00 -08:00
Leonardo Zide
636e013455 Removed lcint types. 2017-12-02 12:22:04 -08:00
Leonardo Zide
51afa3acde Merged TiledRender into the View class. 2017-08-05 12:02:45 -07:00
Alistair Buxton
82204944ab When copying the camera position, also copy the ortho state. 2017-06-21 18:51:43 +01:00
leozide
7daf13b51e Fixed loading camera positions. Fixes #50. 2017-06-19 14:08:54 -07:00
leozide
f7d61f33ce Updated code to use nullptr and override. 2017-04-13 17:26:40 -07:00
Leonardo Zide
8990d04782 Increased default far plane. Fixes #40. 2017-03-28 22:51:28 -07:00
Leonardo Zide
c85f0f7eea Disable normals for unlit passes. 2017-03-24 09:34:53 -07:00
Leonardo Zide
acd5a485f0 Added a decal material to fix the texmap extension. 2017-03-12 13:51:14 -07:00
leozide
7e3f572b8e Added shaders for each material/lighting combination. 2017-02-28 15:20:34 -08:00
Leonardo Zide
3d1efcabec Added room in the meshes for normals. 2017-02-18 11:12:35 -08:00
Leonardo Zide
0f2e808477 Fixed printing. 2017-02-11 09:46:21 -08:00
leo
4a4c3ff02c Fixed compiler error with libc 2.23. 2016-08-10 22:29:59 +00:00
leo
d5ccd6289f Include cleanup. 2016-05-02 19:13:54 +00:00
leo
510d190483 Support dynamic piece meshes. 2016-02-19 17:53:54 +00:00
leo
5e543c43a7 Initial work for control points in pieces. 2015-12-11 01:46:30 +00:00