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
|