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
|