Commit graph

1702 commits

Author SHA1 Message Date
leo
93b55de7ed Fixed crash unloading textures. 2013-01-06 15:36:15 +00:00
leo
49be422b02 Fixed line endings. 2013-01-02 08:07:59 +00:00
leo
51ca702bb6 Linux fixes. 2013-01-02 07:56:07 +00:00
leo
e76cdc4e9c Updated version number. 2013-01-02 07:51:52 +00:00
leo
03327527e9 Read parts.lst instead of parsing each file. 2013-01-01 21:26:28 +00:00
leo
0a42b92f46 Fixed glitch drawing translucent pieces. 2012-12-23 00:48:22 +00:00
leo
4d7fa13fc5 Fixed bug loading textures from zip files. 2012-12-18 18:55:06 +00:00
leo
ae0a6109ba Don't zoom when loading a file for undo or redo. 2012-12-13 23:58:03 +00:00
leo
00c0eacf14 Display the Image Dialog instead of the File Dialog. 2012-12-13 02:51:12 +00:00
leo
2fe167f88e Zoom extents after loading a file. 2012-12-13 00:20:40 +00:00
leo
a97824ba62 Zoom extents after importing a file. 2012-12-10 23:30:28 +00:00
leo
1daef622cb Fixed default color detection when loading pieces. 2012-12-10 22:59:28 +00:00
leo
e86a99c5f4 Updated library version check. 2012-11-29 04:51:51 +00:00
leo
c0584938a7 Fixed big endian errors. 2012-11-25 21:44:11 +00:00
leo
8c27ea2086 Allow the program to start without a library. 2012-11-21 21:51:30 +00:00
leo
7710f9d3f5 Fixed zoom extents on an empty scene. 2012-11-17 02:47:22 +00:00
leo
d3a8e0b1f0 Added option to not use a camera. 2012-11-15 01:14:35 +00:00
leo
ca39b28a62 Avoid creating buffer objects without an active context. 2012-11-09 22:48:39 +00:00
leo
065befb84a Fixed piece cache bugs. 2012-11-09 00:07:53 +00:00
leo
04932395be Cache piece data. 2012-11-08 04:05:52 +00:00
leo
fae81aa8bd Added support for deleting files inside zip files. 2012-11-03 01:32:38 +00:00
leo
670d2d4689 Fixed warnings. 2012-11-02 01:17:42 +00:00
leo
4539ea5124 Added library path to the Preferences Dialog. 2012-11-01 23:34:53 +00:00
leo
b45a7d2bee Require full path for the library file. 2012-11-01 01:05:27 +00:00
leo
53894d79b9 Fixed rotate view cursor not updating correctly. 2012-11-01 00:34:09 +00:00
leo
b47bf81876 Windows fixes. 2012-10-22 23:27:19 +00:00
leo
d52d9c5a18 Replaced part of the auto config with glib. 2012-10-20 01:14:12 +00:00
leo
37cbe23a63 Updated default categories. 2012-10-19 20:58:11 +00:00
leo
b0ac0089ab Removed old matrix class. 2012-10-18 18:57:21 +00:00
leo
436376c77e Linux fixes. 2012-10-16 22:24:43 +00:00
leo
e0751a6f75 Sort mesh sections. 2012-10-16 00:43:52 +00:00
leo
2d91680984 Texture cleanup. 2012-10-12 18:21:45 +00:00
leo
3970dd3698 Fixed crash on exit. 2012-10-12 00:21:04 +00:00
leo
9c53860e4a Added texture mapping support. 2012-10-11 23:55:55 +00:00
leo
404a67b361 Cache library contents between runs. 2012-10-05 23:09:38 +00:00
leo
748ad35ff4 Added support for writing zip files. 2012-10-05 19:11:37 +00:00
leo
b1c1c6bf11 Lower case file names for linux. 2012-10-04 21:08:05 +00:00
leo
0b348af6a7 Load color config from library. 2012-10-03 22:38:33 +00:00
leo
de827bab56 Updated colors. 2012-10-03 22:15:31 +00:00
leo
08d7f05ffc Added support to load loose library files. 2012-10-02 22:16:36 +00:00
leo
30ec8634d8 Start using the new Pieces Library. 2012-10-02 01:23:44 +00:00
leo
71f27a45c2 New Pieces Library code. 2012-09-29 00:16:43 +00:00
leo
b5a940aca9 Added unzip support. 2012-09-20 00:53:12 +00:00
leo
0b30c346df Fixed wrong stud radius. 2012-09-13 17:59:57 +00:00
leo
210a352d33 Removed some immediate mode rendering. 2012-09-09 23:42:57 +00:00
leo
2e8b0a60b6 Added 64 bit types. 2012-09-07 22:46:40 +00:00
leo
14e4b0c6fe Fixed uninitialized variable when creating placeholder mesh. 2012-09-04 18:59:05 +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
86f88f8f91 Updated minifig wizard settings. 2012-08-14 01:16:30 +00:00
leo
685826c9b5 Added option to keep adding pieces if the control key is pressed. 2012-08-13 00:38:57 +00:00
leo
f6e05e2030 Added transform entries to the toolbar. 2012-08-13 00:28:35 +00:00
leo
a15dd3548d Thicker rotation arrows. 2012-08-10 21:51:07 +00:00
leo
3c0f54c577 Improved rotation overlay. 2012-08-08 22:11:23 +00:00
leo
6ada90eaad Draw arrows for the rotation overlay. 2012-08-02 21:14:26 +00:00
leo
524e2d3be2 Updated mouse workflow to avoid switching actions as often. 2012-07-31 05:27:40 +00:00
leo
a026b323bf Linux fixes. 2012-07-21 00:31:21 +00:00
leo
56762b08d3 Fixed mouse detection on the move overlay. 2012-07-20 23:15:53 +00:00
leo
000302a71b Fixed bug calculating bounding box. 2012-07-20 22:57:43 +00:00
leo
f8fcf2ae58 Added support for new minifig accessory categories. 2012-07-20 21:32:27 +00:00
leo
ad5351cbbf Deleted old algebra files. 2012-07-12 04:18:10 +00:00
leo
719f88af51 Added MSAA option to Preferences Dialog. 2012-07-11 23:00:10 +00:00
leo
b310864b18 Multisample support. 2012-07-11 01:52:42 +00:00
leo
8cdf9099a2 Create a fake window to check for GL extensions. 2012-07-11 01:17:40 +00:00
leo
690a424359 Disabled lighting in the preview window. 2012-07-06 21:21:44 +00:00
leo
2e73fdfe71 Linux fixes. 2012-07-06 01:18:55 +00:00
leo
1d72f82c9b Hardcoded number of planes in frustum intersection code to 6. 2012-07-03 22:56:05 +00:00
leo
d6b26e1a63 Fixed VBO support. 2012-07-03 18:09:27 +00:00
leo
05139f377b Fixed bug importing old project files. 2012-07-01 23:38:53 +00:00
leo
7c6242bd27 Removed old functions. 2012-06-29 23:50:29 +00:00
leo
c2b4837ab9 Fixed snap shortcuts conflict with the Properties Pane. 2012-06-29 23:43:51 +00:00
leo
e0f22e2e70 Misc cleanup. 2012-06-29 21:47:22 +00:00
leo
ec6b87d8a9 Disabled GL extensions when rendering to offscreen contexts. 2012-06-26 00:20:05 +00:00
leo
79d8081373 Cross platform terrain window. 2012-06-23 00:14:09 +00:00
leo
263753d726 Linux fixes. 2012-06-21 22:03:30 +00:00
leo
8c04f52e14 Code cleanup. 2012-06-21 00:41:53 +00:00
leo
a42fe600ca Removed some old vector code. 2012-06-16 00:17:52 +00:00
leo
b5c74b8a10 Updated color picker for the new colors. 2012-06-15 04:12:14 +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
7b5377af70 Fixed bug in affine inverse function. 2012-06-07 00:08:37 +00:00
leo
1f89baeb8a Matrix cleanup. 2012-06-06 22:34:38 +00:00
leo
e9615a24e7 Store the view matrix for each camera. 2012-05-28 23:33:22 +00:00
leo
8cd715b528 Minifig Wizard math cleanup. 2012-05-19 01:13:05 +00:00
leo
bbf1469cb5 Store the current transformation matrix for each piece. 2012-05-17 21:52:20 +00:00
leo
cedfb6af8f Sort translucent pieces by distance when rendering. 2012-05-16 23:48:16 +00:00
leo
b0f3abe302 Added new color list control. 2012-04-29 20:00:16 +00:00
leo
fddf73a49c Updated default Minifig Wizard settings. 2012-04-26 02:19:33 +00:00
leo
ad406098bd Fixed bug where some colors would be wrong when importing pieces. 2012-04-21 17:02:40 +00:00
leo
7390c65790 Updated code to new colors. 2012-04-21 01:30:02 +00:00
leo
8dda20d4ee Removed old color code. 2012-04-20 23:27:12 +00:00
leo
b75053750d Removed old color names. 2012-04-19 01:11:24 +00:00
leo
29c58ca1c3 Fixed bug where a polygon could sometimes get the wrong color when imported. 2012-04-18 01:48:58 +00:00
leo
392f399b89 Switched rendering to new color format. 2012-04-18 00:03:28 +00:00
leo
14a98b2dc5 Linux fixes. 2012-04-17 01:30:24 +00:00
leo
4093da4866 Updated pieces library format to always store the correct color codes. 2012-04-16 04:41:40 +00:00
leo
942ccc6d0d Updated old code to use mesh class. 2012-04-14 17:05:55 +00:00
leo
79ccca4296 Updated functions to use the new mesh class. 2012-04-14 02:20:27 +00:00
leo
aa401846b6 Added new mesh class. 2012-04-13 23:41:58 +00:00
leo
998abfb66a Linux fixes. 2012-04-13 19:15:58 +00:00
leo
775ad35d65 OpenGL cleanup. 2012-04-13 02:14:48 +00:00
leo
e3c5d73abe Removed dynamic OpenGL code from Windows and updated extensions. 2012-04-13 02:00:45 +00:00
leo
067838dfd8 Linux fixes. 2012-04-11 23:32:38 +00:00
leo
fa1b2066e3 Remove degenerate triangles when exporting Wavefront files. 2012-04-11 21:56:41 +00:00
leo
64361beeac Merged changes from 0.76.2 tag. 2012-04-11 04:58:40 +00:00
leo
1c16190b6b Disabled texture support. 2012-04-02 23:43:05 +00:00
leo
db66c98821 Moved external font file to code. 2012-04-02 05:52:22 +00:00
leo
c1a737f419 Updated keyboard shortcuts. 2012-03-29 03:45:51 +00:00
leo
3e5a0a447d Replaced old Vector class. 2012-03-29 01:10:55 +00:00
leo
c8cb684299 Keep LDraw color codes. 2012-03-28 01:07:18 +00:00
leo
296300a9e1 Updated color functions for selected and focused objects. 2012-03-25 00:47:53 +00:00
leo
2b1b6770b9 Added functions to parse ldconfig file. 2012-03-23 23:24:58 +00:00
leo
a3e41d4f0b Linux fixes. 2012-03-23 00:53:05 +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
95382eb98f Updated Linux menus. 2012-03-17 22:20:49 +00:00
leo
beb094e03c Fixed Linux compiler error. 2012-03-17 21:35:43 +00:00
leo
db48327372 Removed Viewports Menu. 2012-03-17 21:32:07 +00:00
leo
92880d4bad Better color conversion when importing pieces. 2012-03-17 08:27:09 +00:00
leo
b51074ffd6 Fixed POV-Ray exporter bug on Linux. 2012-03-09 22:47:05 +00:00
leo
ec1023dcfa Fixed POV-Ray export bugs. 2012-03-08 00:16:29 +00:00
leo
a50e10c9ef Updated POV-Ray export to support the current LGEO library. 2012-03-07 22:59:06 +00:00
leo
592d3b2c23 Update the cursor when the user presses the control key. 2012-03-03 01:16:02 +00:00
leo
848594bdbb Changed position units to match LDraw. 2012-02-23 19:19:08 +00:00
leo
fe7cb940b8 Fixed stud rendering bug in pieces with a large number of vertices. 2012-02-14 00:11:33 +00:00
leo
643f56ae43 Removed empty functions. 2012-02-10 00:27:13 +00:00
leo
ee1772e8ef Added angle snap options to snap popup menu. 2012-02-09 23:51:14 +00:00
leo
7930ff85ac Linux fixes. 2012-02-09 19:28:21 +00:00
leo
5ffe86ae21 Fixed decimal point when saving text files. 2012-02-08 22:48:51 +00:00
leo
256001076f Changed popup menu style to match the main window menus. 2012-02-08 01:48:46 +00:00
leo
32b598ce1b Insert placeholder pieces when loading files with pieces not in the library. 2012-02-05 05:03:59 +00:00
leo
19bb01ab7c Allow different cameras for each view. 2012-02-05 02:50:57 +00:00
nobody
53dce1559e Rewrote ZoomExtents. 2012-02-02 03:30:26 +00:00
nobody
724fd9a889 Fixed Linux compiler errors. 2012-02-02 01:04:24 +00:00
nobody
07b2322d17 Removed more old viewport functions. 2012-02-01 02:13:58 +00:00
nobody
ca893b15c7 Removed some GLU calls. 2012-02-01 02:08:30 +00:00
nobody
b825d9784c Merged Minifig Wizard improvements. 2012-02-01 02:07:54 +00:00
leo
9fb7a6cb6f Removed some of the old viewport code. 2012-01-30 07:31:29 +00:00
nobody
8a5cab7acc Integrated control+mouse quick camera shortcuts. 2012-01-28 02:10:19 +00:00
nobody
de0d305b3d Refactored rendering functions. 2012-01-28 01:05:23 +00:00
nobody
45797c9d45 Integrated Import Folder command from branch. 2012-01-24 02:38:04 +00:00
leo
9469e2bdef Implemented Reset All Views and removed view border. 2012-01-22 03:52:33 +00:00
nobody
ca7007613d Updated libpng to current version. 2012-01-19 00:26:54 +00:00
leo
bd2a951314 Started organizing the rendering functions. 2011-09-20 01:26:31 +00:00
leo
16ff1529c1 Removed useless options and reorganized the View menu. 2011-09-19 23:03:28 +00:00
leo
56f34a15db Added option to delete a view. 2011-09-16 23:59:55 +00:00
leo
6bad25fccb Deleted unused files. 2011-09-13 06:34:13 +00:00
leo
c341f08c54 Updated Windows GUI to a more modern style. 2011-09-13 05:38:22 +00:00
leo
1f9a1761c0 Copied 0.75 branch as the new trunk. 2011-09-07 21:06:51 +00:00