Commit graph

126 commits

Author SHA1 Message Date
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
leo
7f7a93e015 Added shader support. 2015-05-16 23:04:35 +00:00
leo
7170c1d0ee GL extensions cleanup. 2015-05-09 19:54:29 +00:00
leo
77e103264d Set colors through the context. 2015-05-04 00:51:41 +00:00
leo
d59dfe9444 Rewrote camera and light drawing. 2015-04-19 01:10:01 +00:00
leo
01e67cbd88 Fixed camera up vector drawing. 2015-03-23 00:37:12 +00:00
leo
a7da5aa79f Fixed case where the view matrix was being changed directly. 2015-02-28 07:10:51 +00:00
leo
e4eb0e65d7 Fixed zoom extents and region on ortho cameras. 2015-02-15 02:24:08 +00:00
leo
141696ec8c Changed how zoom extents work. 2015-02-14 20:47:50 +00:00
leo
853f28c6c3 Changed pan tool to have the mouse follow the objects on the screen. 2015-02-08 21:05:50 +00:00
leo
7b52f7ba40 Matched mouse wheel speed with previous versions. 2015-02-07 07:16:15 +00:00
leo
3d79dbd8cc Fixed crash trying to update simple cameras. 2015-01-17 01:47:36 +00:00
leo
88e935ccd8 Fixed reset cameras option. 2015-01-16 02:07:31 +00:00
leo
0aae5d339f Fixed mouse selection of submodels. 2014-12-26 15:44:46 +00:00
leo
d4ab2e9f90 More cleanup. 2014-11-29 02:55:58 +00:00
leo
28a030dd9a Fixed camera and light drawing. 2014-11-24 00:43:13 +00:00
leo
a63743c73f Reorganized drawing functions. 2014-11-23 23:48:56 +00:00
leo
848224bf3b Reorganized group functions. 2014-11-10 00:06:11 +00:00
leo
477cf69977 Reorganized zoom functions. 2014-11-08 01:05:17 +00:00
leo
6315ff0b55 Support saving groups recursively. 2014-09-13 06:48:51 +00:00
leo
6b5db8aff9 Updated save file format. 2014-09-08 19:42:20 +00:00
leo
05cafd4055 Use QTextStream for saving files. 2014-09-05 00:24:28 +00:00
leo
9454ebb929 Removed JSON exporter. 2014-09-04 14:27:37 +00:00
leo
c4bc70fd35 Use text stream for parsing. 2014-09-03 14:34:53 +00:00
leo
661fa68011 Changed the LDraw exporter to include more features in extensions. 2014-09-02 03:44:51 +00:00
leo
4c0c815682 Moved keys to separate arrays. 2014-08-31 00:53:12 +00:00
leo
07e6fce3ce Use LDraw units internally. 2014-08-30 19:48:36 +00:00
leo
9a37302456 Added JSON export. 2014-08-29 23:52:42 +00:00
leo
b9d2229132 Removed old object class names. 2014-08-07 15:22:33 +00:00
leo
109ec00f5f Support more than 255 steps. 2014-07-06 06:04:09 +00:00
leo
98541ed1f2 Improved moving rotated parts. 2014-06-22 17:39:15 +00:00
leo
64fab2886e Fixed moving rotated pieces. 2014-06-16 17:04:50 +00:00
leo
d162acdf52 Moved mouse handling from project to view. 2014-05-17 23:03:05 +00:00
leo
df90611f77 Merged projection and view classes. 2014-05-03 06:08:52 +00:00
leo
e0d4f03cbc Moved projection selection to camera. 2014-05-03 01:22:24 +00:00
leo
49729dc52a Renamed object classes. 2014-05-01 18:42:11 +00:00
leo
d2d96489ac Fixed inconsistent behavior where sometimes parts that are not visible would remain selected and be modified. 2014-05-01 14:55:12 +00:00
leo
c435eae17b Added graphics context class. 2014-04-14 03:20:16 +00:00
leo
18db90b7f5 Keep vertex array state always enabled during rendering. 2014-02-16 19:36:11 +00:00
leo
0cf0f497e9 Removed calls to GL matrix stack. 2014-02-16 07:23:55 +00:00
leo
213c53813c Removed animation code. 2014-01-30 03:13:34 +00:00
leo
a7ab2956c8 Added Look At command. 2013-12-17 22:23:41 +00:00
leo
418481f8c8 Orthographic projection option. 2013-12-17 02:43:16 +00:00
leo
ba28ef208c Moved default camera out. 2013-09-01 22:19:53 +00:00
leo
979217d023 Array class cleanup. 2013-08-15 23:43:18 +00:00
leo
f11c97777a Merged qtest branch into trunk. 2013-08-09 04:57:18 +00:00
leo
8ef4470439 Use a translucent rectangle for selection instead of lines. 2013-04-10 00:52:06 +00:00
leo
8a22a11819 Fixed shadow declarations. 2013-02-12 23:36:30 +00:00
leo
0876ec0306 Inverted mouse zoom direction. 2013-01-27 01:50:50 +00:00
leo
36d507a060 Renamed default view positions. 2013-01-27 01:36:11 +00:00
leo
2ceba627a0 Improved camera rotation. 2013-01-27 01:22:37 +00:00
leo
ee6dae8249 Fixed compiler warnings. 2013-01-06 19:24:25 +00:00
leo
4da5f06d9a Camera cleanup. 2012-08-23 18:47:37 +00:00
leo
303d6e4214 Camera cleanup. 2012-08-22 01:13:32 +00:00
leo
2978a81f93 Added simple camera type. 2012-08-20 04:05:56 +00:00
leo
9be1948d4d Bounding box cleanup. 2012-08-16 23:50:40 +00:00
leo
8c04f52e14 Code cleanup. 2012-06-21 00:41:53 +00:00
leo
84cdf1a030 Replaced matrix inverses with faster ones. 2012-06-13 02:41:16 +00:00
leo
0596ad829f Removed old matrix class functions. 2012-06-07 00:08:59 +00:00
leo
e9615a24e7 Store the view matrix for each camera. 2012-05-28 23:33:22 +00:00
leo
067838dfd8 Linux fixes. 2012-04-11 23:32:38 +00:00
leo
3e5a0a447d Replaced old Vector class. 2012-03-29 01:10:55 +00:00
leo
296300a9e1 Updated color functions for selected and focused objects. 2012-03-25 00:47:53 +00:00
leo
7a5bdf36a9 Rewrote file classes. 2012-03-22 23:44:56 +00:00
leo
4143fd0b82 Removed duplicate includes and renamed File class. 2012-03-21 01:54:03 +00:00
leo
778c92f80b Added support for precompiled headers to common files. 2012-03-20 00:57:42 +00:00
leo
1f9a1761c0 Copied 0.75 branch as the new trunk. 2011-09-07 21:06:51 +00:00