2017-02-12 |
Teemu Piippo |
Moved the definitions of all configuration options into a new text file and made the configuration collector read that.
|
file |
diff |
annotate
|
2017-02-12 |
Teemu Piippo |
Reworked iterable enums: they all are enum classes now and the end value is marked with "_End"
|
file |
diff |
annotate
|
2017-02-09 |
Teemu Piippo |
Replaced uses of currentDocument() in GLRenderer with m_model
|
file |
diff |
annotate
|
2017-02-09 |
Teemu Piippo |
Axes are not rendered with normals so the normals client state has to be disabled when drawing them.
|
file |
diff |
annotate
|
2017-02-09 |
Teemu Piippo |
Implemented lighting. Yay! Unfortunately, faces that show up the wrong way around in BFC red/green mode also show up with inverted lighting here.
|
file |
diff |
annotate
|
2017-02-09 |
Teemu Piippo |
Moved dialogs.cpp to dialogs/externalprogrampathdialog.cpp
|
file |
diff |
annotate
|
2017-02-09 |
Teemu Piippo |
Cleaned up GLCompiler. Among other changes, the compiler no longer has to be told what to compile.
|
file |
diff |
annotate
|
2017-02-09 |
Teemu Piippo |
Replaced GLRenderer::m_width and GLRenderer::m_height with width() and height() calls.
|
file |
diff |
annotate
|
2017-02-09 |
Teemu Piippo |
Moved more business logic out of GLRenderer into Canvas. GLRenderer::pick(const QRange&) now returns a set of LDObjects without modifying them. Replaced the GLRenderer::pick(int, int) overload with GLRenderer::pickOneObject.
|
file |
diff |
annotate
|
2017-02-09 |
Teemu Piippo |
Made GLRenderer's Model pointer const
|
file |
diff |
annotate
|
2017-02-09 |
Teemu Piippo |
Moved more editing-related methods to Canvas.
|
file |
diff |
annotate
|
2017-02-09 |
Teemu Piippo |
Removed the unneeded makeCurrent overload
|
file |
diff |
annotate
|
2017-02-09 |
Teemu Piippo |
Moved more methods only used by canvas code from GLRenderer to Canvas. Thin border pen is now a static constant.
|
file |
diff |
annotate
|
2017-02-09 |
Teemu Piippo |
Moved triangle count rendering to Canvas
|
file |
diff |
annotate
|
2017-02-09 |
Teemu Piippo |
Moved document editing methods from GLRenderer to Canvas
|
file |
diff |
annotate
|
2017-02-09 |
Teemu Piippo |
Created a new GLRenderer derivative class "Canvas" and made MainWindow use it
|
file |
diff |
annotate
|
2017-02-08 |
Teemu Piippo |
Removed all overlay support. It's a messy pile of mess and I will reimplement it later as background images and it will be much better then.
|
file |
diff |
annotate
|
2017-02-08 |
Teemu Piippo |
GLRenderer no longer exposes the model pointer.
|
file |
diff |
annotate
|
2017-02-08 |
Teemu Piippo |
LDGLData merged into GLRenderer since it only deals with one document now. GLRenderer generalised from rendering documents to models.
|
file |
diff |
annotate
|
2017-02-08 |
Teemu Piippo |
Made a new renderer be created for each document, instead of reusing the same renderer for all documents.
|
file |
diff |
annotate
|
2017-02-08 |
Teemu Piippo |
Simplified GLRenderer::convert3dTo2d. The multiplication with the modelview matrix is not necessary, it's identity all the time... with that, I think the function makes much more sense now.
|
file |
diff |
annotate
|
2017-02-08 |
Teemu Piippo |
- Use a QGenericMatrix to store the matrix, instead of a C array
|
file |
diff |
annotate
|
2017-02-08 |
Teemu Piippo |
Changed from GLdouble to GLfloat. Apparently the performance difference is greater on the GPU..? It doesn't really matter but let's be consistent.
|
file |
diff |
annotate
|
2017-02-08 |
Teemu Piippo |
GLRenderer::clampAngle is no longer used as of the previous commit so we can do away with it.
|
file |
diff |
annotate
|
2017-02-08 |
Teemu Piippo |
Switched from euler angle rotation to matrix rotation. Gimbal lock is now broken.
|
file |
diff |
annotate
|
2017-01-30 |
Teemu Piippo |
Removed some unnecessary #include-directives.
|
file |
diff |
annotate
|
2017-01-30 |
Teemu Piippo |
Removed LDDocument::getObjectCount (superceded by Model::size)
|
file |
diff |
annotate
|
2017-01-29 |
Teemu Piippo |
More rework on model stuff, removals of LDSpawn calls. Most importantly, the LDraw code parsing function was moved to Model.
|
file |
diff |
annotate
|
2017-01-29 |
Teemu Piippo |
Removed the AddObjectDialog. Garbage code that absolutely needs to be reimplemented.
|
file |
diff |
annotate
|
2017-01-29 |
Teemu Piippo |
Major overhaul of object→document relationship: added the Model class which models the object buffer. Each object is to be included in a model (an invariant that currently does not hold). A document is a subclass of a model. The LDObject is also now agnostic about selection, and the selection is now a set. A lot of things are probably broken now but it's a major step forward.
|
file |
diff |
annotate
|
2017-01-28 |
Teemu Piippo |
Happy new year 2017!
|
file |
diff |
annotate
|
2017-01-28 |
Teemu Piippo |
Moved the identity matrix constant into Matrix's namespace
|
file |
diff |
annotate
|
2017-01-28 |
Teemu Piippo |
refactor
|
file |
diff |
annotate
|
2016-11-17 |
Teemu Piippo |
Fixed additive range selection not working properly.
|
file |
diff |
annotate
|
2016-11-17 |
Teemu Piippo |
Cleanup in GL renderer...
|
file |
diff |
annotate
|
2016-11-15 |
Teemu Piippo |
Removed the USE_QT5 macro now that we're Qt5 only.
|
file |
diff |
annotate
|
2016-11-15 |
Teemu Piippo |
Unabbreviate "transform" to "transformationMatrix"
|
file |
diff |
annotate
|
2016-05-08 |
Teemu Piippo |
Replaced the ugly for_enum macro with a generator class
|
file |
diff |
annotate
|
2016-05-08 |
Teemu Piippo |
Further improved enum handling
|
file |
diff |
annotate
|
2016-05-08 |
Teemu Piippo |
Enum stuff
|
file |
diff |
annotate
|
2016-05-08 |
Teemu Piippo |
- Refactoring...
|
file |
diff |
annotate
|
2016-05-08 |
Teemu Piippo |
Unabbreviated overlay member names
|
file |
diff |
annotate
|
2016-02-16 |
Teemu Piippo |
Split grid stuff into a new class Grid in grid.cpp/grid.h
|
file |
diff |
annotate
|
2016-02-14 |
Teemu Piippo |
Renamed ConfigurationValueBag to Configuration and added a pointer to it into HierarchyElement. This helps with the fight against global variables.
|
file |
diff |
annotate
|
2016-02-13 |
Teemu Piippo |
Added triangle count to viewport, added compile-time line length check
|
file |
diff |
annotate
|
2016-01-01 |
Teemu Piippo |
Happy new year 2016!
|
file |
diff |
annotate
|
2015-11-18 |
Teemu Piippo |
Cleanup miscallenous.cpp/.h
|
file |
diff |
annotate
|
2015-11-18 |
Teemu Piippo |
It worx again!
|
file |
diff |
annotate
|
2015-10-24 |
Teemu Piippo |
Rename LDSubfile to LDSubfileReference
|
file |
diff |
annotate
|
2015-10-04 |
Teemu Piippo |
A bit more cleanup. Finally removed the PROPERTY macro. (now let's see about making a new one sometime that isn't so terrible?)
|
file |
diff |
annotate
|
2015-10-04 |
Teemu Piippo |
Fixed circle, rectangle and line path modes not working anymore. Add blip coordinates to curve and line path modes. Circle mode for now only can show the coordinates of the initial blip
|
file |
diff |
annotate
|
2015-10-04 |
Teemu Piippo |
Begin work on Bézier curve support. They can be drawn but don't render in 3D and they load as comments.
|
file |
diff |
annotate
|
2015-10-03 |
Teemu Piippo |
Now compiles again
|
file |
diff |
annotate
|
2015-09-21 |
Teemu Piippo |
LDVertexObject stuff (ultimately not worth it)
|
file |
diff |
annotate
|
2015-09-06 |
Teemu Piippo |
Refactor GLRenderer and GLCompiler
|
file |
diff |
annotate
|
2015-09-06 |
Teemu Piippo |
Remove "!= nullptr" expressions
|
file |
diff |
annotate
|
2015-09-06 |
Teemu Piippo |
null -> nullptr
|
file |
diff |
annotate
|
2015-09-05 |
Teemu Piippo |
Refactor MainWindow's API
|
file |
diff |
annotate
|
2015-09-05 |
Teemu Piippo |
Make documents members of the main window
|
file |
diff |
annotate
|
2015-08-31 |
Teemu Piippo |
Change color config types into actual colors now that I can do that
|
file |
diff |
annotate
|