Wed, 27 Mar 2013 11:24:16 +0200 |
Santeri Piippo |
Added LDConfig.ldr parsing. All colors now available as long as LDConfig.ldr is provided.
|
changeset |
files
|
Mon, 25 Mar 2013 22:52:53 +0200 |
Santeri Piippo |
Draw main color in the selection dialog based on preferences, take subfiles into account when calculating bbox
|
changeset |
files
|
Mon, 25 Mar 2013 17:04:18 +0200 |
Santeri Piippo |
Phased out FOREACH macro in favor of C++11-style for iteration.
|
changeset |
files
|
Mon, 25 Mar 2013 16:05:03 +0200 |
Santeri Piippo |
Simplified configuration code. Use a std::vector object to contain config pointers and have config objects register themselves upon creation instead of relying on a cfgdefs.h. Removed sections, all configurations are just simply written one after another now.
|
changeset |
files
|
Mon, 25 Mar 2013 15:20:56 +0200 |
Santeri Piippo |
Further fixes to bad color handling. Allow main color be represented with arbitrary transparency.
|
changeset |
files
|
Mon, 25 Mar 2013 01:04:20 +0200 |
Santeri Piippo |
57181.dat (Philo's model of the XL-motor) showcased a new problem.. there was no handling of unknown colors which led into crashes. Added stdout warnings, also added mid and dark stone colors
|
changeset |
files
|
Mon, 25 Mar 2013 00:44:11 +0200 |
Santeri Piippo |
Restructured inlining to use a proper caching.. one cache per sub-file reference? What was I thinking? *whacks self with a 55295.dat*
|
changeset |
files
|
Sun, 24 Mar 2013 21:45:19 +0200 |
Santeri Piippo |
Reverted changes on LDSubfile::getContents, I had a temporary, hackier solution there and forgot to change it back
|
changeset |
files
|
Sun, 24 Mar 2013 21:41:24 +0200 |
Santeri Piippo |
Considerably improved sub-file inlining. Use a matrix class instead of double[9], educated myself on what matrix multiplication actually is and fixed the algorithm up. Aside from I/O problems, 32551.dat is correctly rendered now.
|
changeset |
files
|
Sun, 24 Mar 2013 18:03:33 +0200 |
Santeri Piippo |
Implemented the inline action to expose inlining to the user. Also added a `deep inline` action to inline subfile recursively down into polygons and lines only.
|
changeset |
files
|
Sun, 24 Mar 2013 01:05:59 +0200 |
Santeri Piippo |
Got inlining working. 3002.dat renders properly now! Now just to iron out the bugs and hone the behavior..
|
changeset |
files
|
Thu, 21 Mar 2013 18:26:57 +0200 |
Santeri Piippo |
If editing contents of a gibberish object, show the reason for the gibberishness in the dialog. Clamp the bounding box scale to at least 1.0 so that polygons are visible in new files.
|
changeset |
files
|
Thu, 21 Mar 2013 16:25:03 +0200 |
Santeri Piippo |
Parsing stability, finally figured that dumb crash
|
changeset |
files
|
Thu, 21 Mar 2013 13:00:44 +0200 |
Santeri Piippo |
LDraw still uses inverted y-scale... I always used symmetrical objects for testing so I never noticed I had this wrong.
|
changeset |
files
|
Thu, 21 Mar 2013 12:57:06 +0200 |
Santeri Piippo |
Scroll the color picker dialog to the selected color if it's off-screen
|
changeset |
files
|
Thu, 21 Mar 2013 03:20:02 +0200 |
Santeri Piippo |
Added polygon bordering function
|
changeset |
files
|
Thu, 21 Mar 2013 02:48:09 +0200 |
Santeri Piippo |
Simplify ForgeWindow::slot_splitQuads with the new methods
|
changeset |
files
|
Thu, 21 Mar 2013 02:45:53 +0200 |
Santeri Piippo |
Added clipboard, added delete action
|
changeset |
files
|
Thu, 21 Mar 2013 00:37:15 +0200 |
Santeri Piippo |
Done the rendering end of the red/green BFC view
|
changeset |
files
|
Wed, 20 Mar 2013 23:46:37 +0200 |
Santeri Piippo |
Make line thickness user-configurable, draw conditional lines dashed, use the bounding box to offset the model so that it is centered properly.
|
changeset |
files
|
Wed, 20 Mar 2013 23:06:30 +0200 |
Santeri Piippo |
Colorized polygons now appear colorized in the list view (unless disabled). GL rendered now draws transparent polygons properly.
|
changeset |
files
|
Wed, 20 Mar 2013 21:47:33 +0200 |
Santeri Piippo |
Added color selectors for the add object dialog
|
changeset |
files
|
Wed, 20 Mar 2013 21:19:35 +0200 |
Santeri Piippo |
Turned the test palette action into a set color action for mass object coloring.
|
changeset |
files
|
Wed, 20 Mar 2013 20:44:04 +0200 |
Santeri Piippo |
Finished with the color selection dialog
|
changeset |
files
|
Wed, 20 Mar 2013 19:41:37 +0200 |
Santeri Piippo |
Color dialog almost up and running. Need to make it actually selectable now. TODO: make it read LDConfig.ldr
|
changeset |
files
|
Wed, 20 Mar 2013 13:41:08 +0200 |
Santeri Piippo |
Made the GL renderer actually use the main color configuration
|
changeset |
files
|
Wed, 20 Mar 2013 13:27:43 +0200 |
Santeri Piippo |
Finally got the renderer to actually draw something! Still needs a lot of work but at least it doesn't show garbage or blank anymore.
|
changeset |
files
|
Wed, 20 Mar 2013 03:28:49 +0200 |
Santeri Piippo |
Disable the locale when parsing LDraw code or atof's behavior becomes locale-dependant. Who the hell thought that was a great idea?
|
changeset |
files
|
Wed, 20 Mar 2013 03:25:49 +0200 |
Santeri Piippo |
With removal of vectors, I don't need to keep the bearing class around either
|
changeset |
files
|
Wed, 20 Mar 2013 03:22:21 +0200 |
Santeri Piippo |
Removed vectors. I realized that subfiles can actually perform their job just as well and that keeping them around would just imply extra work - for nothing.
|
changeset |
files
|
Wed, 20 Mar 2013 02:44:21 +0200 |
Santeri Piippo |
Added code for parsing vertices
|
changeset |
files
|
Wed, 20 Mar 2013 02:31:36 +0200 |
Santeri Piippo |
Added insert vertex function and added vertex icons.
|
changeset |
files
|
Wed, 20 Mar 2013 01:58:05 +0200 |
Santeri Piippo |
Added triangle, quad and condline to the add object dialog
|
changeset |
files
|
Tue, 19 Mar 2013 21:52:38 +0200 |
Santeri Piippo |
Begin work on dialogs for adding objects. Comments functional!
|
changeset |
files
|
Tue, 19 Mar 2013 18:25:08 +0200 |
Santeri Piippo |
Implemented insertion of triangles, quads, condlines and comments
|
changeset |
files
|
Tue, 19 Mar 2013 18:15:31 +0200 |
Santeri Piippo |
er, I said don't limit the amount of decimals
|
changeset |
files
|
Tue, 19 Mar 2013 18:14:37 +0200 |
Santeri Piippo |
ftoa: don't limit the amount of decimals
|
changeset |
files
|
Tue, 19 Mar 2013 18:12:39 +0200 |
Santeri Piippo |
Temporarily set the locale to C when using ftoa, or the resulting string is subject to the locale and gets unexpected symbols (e.g. commas for the decimal dots while the function expects periods)
|
changeset |
files
|
Tue, 19 Mar 2013 17:21:51 +0200 |
Santeri Piippo |
Added main color configuration option, not implemented yet
|
changeset |
files
|
Tue, 19 Mar 2013 17:09:07 +0200 |
Santeri Piippo |
Added color selection icon
|
changeset |
files
|
Tue, 19 Mar 2013 16:36:08 +0200 |
Santeri Piippo |
Made the GL renderer background color configurable
|
changeset |
files
|
Tue, 19 Mar 2013 15:32:16 +0200 |
Santeri Piippo |
Added RC file for the application icon introduced in d2d86021
|
changeset |
files
|
Tue, 19 Mar 2013 15:29:42 +0200 |
Santeri Piippo |
Licensed LDForge GPL3, added some more icons
|
changeset |
files
|
Mon, 18 Mar 2013 18:29:02 +0200 |
Santeri Piippo |
Added LDraw path setting dialog
|
changeset |
files
|
Mon, 18 Mar 2013 13:16:21 +0200 |
Santeri Piippo |
added Save As function
|
changeset |
files
|
Mon, 18 Mar 2013 12:24:16 +0200 |
Santeri Piippo |
and of course I forget to update ldforge.pro... or to test compile for that matter
|
changeset |
files
|
Mon, 18 Mar 2013 12:20:48 +0200 |
Santeri Piippo |
Renamed io.cpp to file.cpp, draw.cpp to gldraw.cpp
|
changeset |
files
|
Mon, 18 Mar 2013 12:15:23 +0200 |
Santeri Piippo |
Deleted scanner.cpp (don't need it), merged model.cpp into io.cpp. Renamed LDForgeWindow to just ForgeWindow since I want the LD* prefix only be given to LDObject derivatives.
|
changeset |
files
|
Mon, 18 Mar 2013 04:03:05 +0200 |
Santeri Piippo |
added dummy action for future inlining command. Also GCC says that deleting instances of classes with virtual members but no virtual destructors is bad.
|
changeset |
files
|
Mon, 18 Mar 2013 03:38:51 +0200 |
Santeri Piippo |
begin work on subfile caching
|
changeset |
files
|
Sat, 16 Mar 2013 17:50:13 +0200 |
Santeri Piippo |
So much for that pointer class, caused more problems than it solved. For instance splitting a second quad after a first one had been split would trigger a peculiar crash...
|
changeset |
files
|
Sat, 16 Mar 2013 16:59:16 +0200 |
Santeri Piippo |
Added split-quads-to-triangles function
|
changeset |
files
|
Sat, 16 Mar 2013 15:45:20 +0200 |
Santeri Piippo |
Yay! This thing can save now.
|
changeset |
files
|
Sat, 16 Mar 2013 14:21:31 +0200 |
Santeri Piippo |
Added pointer serializing so I can keep track of all LDObject* members. This way I can replace them all properly when needed.
|
changeset |
files
|
Sat, 16 Mar 2013 13:08:24 +0200 |
Santeri Piippo |
Convert the static getCoordinateRep to a common ftoa, use this function to get proper coordinate representation when converting objects to LDraw code
|
changeset |
files
|
Sat, 16 Mar 2013 03:42:04 +0200 |
Santeri Piippo |
Allow addition of dummy lines..
|
changeset |
files
|
Sat, 16 Mar 2013 03:24:50 +0200 |
Santeri Piippo |
Added icon for setting contents
|
changeset |
files
|
Sat, 16 Mar 2013 03:12:31 +0200 |
Santeri Piippo |
oops, forgot the new dialog files out
|
changeset |
files
|
Sat, 16 Mar 2013 03:11:19 +0200 |
Santeri Piippo |
this thing got its own reinterpret_cast now. :P Added SetContents action for altering an object by contents and reinterpreting it.
|
changeset |
files
|
Sat, 16 Mar 2013 01:32:47 +0200 |
Santeri Piippo |
Added logf function to write to message log. Write warnings of unparsable files into the message log.
|
changeset |
files
|
Sat, 16 Mar 2013 00:35:36 +0200 |
Santeri Piippo |
Check whether the numeric arguments of lines really are numeric, and treat lines that don't pass this check as gibberish
|
changeset |
files
|
Sat, 16 Mar 2013 00:05:39 +0200 |
Santeri Piippo |
Color gibberish red. Check for line code length for gibberish (must be 1 to be valid)
|
changeset |
files
|
Fri, 15 Mar 2013 22:27:38 +0200 |
Santeri Piippo |
remove leading whitespace from comments when drawing them in the list
|
changeset |
files
|
Fri, 15 Mar 2013 22:13:36 +0200 |
Santeri Piippo |
Added icons for the comment.
|
changeset |
files
|