Sun, 05 Mar 2017 01:57:56 +0200 |
Teemu Piippo |
Polar grid is now togglable.
|
changeset |
files
|
Sun, 05 Mar 2017 01:48:46 +0200 |
Teemu Piippo |
CMake fixes
|
changeset |
files
|
Sat, 04 Mar 2017 01:59:58 +0200 |
Teemu Piippo |
Added polar grid snapping code.
|
changeset |
files
|
Sat, 04 Mar 2017 00:54:46 +0200 |
Teemu Piippo |
Added polar grid rendering (which is disabled for now).
|
changeset |
files
|
Fri, 03 Mar 2017 23:23:28 +0200 |
Teemu Piippo |
Grid::snap now snaps points.
|
changeset |
files
|
Fri, 03 Mar 2017 23:16:14 +0200 |
Teemu Piippo |
Simplified Grid::snap.
|
changeset |
files
|
Fri, 03 Mar 2017 23:08:04 +0200 |
Teemu Piippo |
At long last, the grid is finally now rendered onto the viewport. Woop!
|
changeset |
files
|
Fri, 03 Mar 2017 00:35:43 +0200 |
Teemu Piippo |
Added support for ideal co-ordinates, which should make writing editing tools a lot easier. For some reason they don't yet work with the back and right cameras.
|
changeset |
files
|
Thu, 02 Mar 2017 14:45:34 +0200 |
Teemu Piippo |
Removed some unused class stubs and definitions.
|
changeset |
files
|
Wed, 01 Mar 2017 12:17:56 +0200 |
Teemu Piippo |
No need for braces there...
|
changeset |
files
|
Sat, 25 Feb 2017 17:24:33 +0200 |
Teemu Piippo |
Cleanup ColorSelector, moved direct color composition to a new LDColor constructor.
|
changeset |
files
|
Sat, 25 Feb 2017 14:30:10 +0200 |
Teemu Piippo |
Cleanup ColorSelector::colorButtonClicked()
|
changeset |
files
|
Thu, 23 Feb 2017 23:36:59 +0200 |
Teemu Piippo |
Changed QByteArray to QVector to avoid that ugly reinterpret_cast.
|
changeset |
files
|
Thu, 23 Feb 2017 23:29:16 +0200 |
Teemu Piippo |
Turned GLRenderer::pixelCapture to GLRenderer::screenCapture() which encapsulates screen capturing properly and returns a ready image.
|
changeset |
files
|
Thu, 23 Feb 2017 23:17:10 +0200 |
Teemu Piippo |
Hardened the GLRenderer interface, made methods more private.
|
changeset |
files
|
Thu, 23 Feb 2017 23:11:33 +0200 |
Teemu Piippo |
Cleanup GLRenderer::initializeAxes()
|
changeset |
files
|
Thu, 23 Feb 2017 22:55:09 +0200 |
Teemu Piippo |
Removed GLRenderer::refresh(), update() does the job just as fine.
|
changeset |
files
|
Thu, 23 Feb 2017 22:52:45 +0200 |
Teemu Piippo |
GLRenderer::drawVbos no longer needs to be told the GL type
|
changeset |
files
|
Thu, 23 Feb 2017 22:51:55 +0200 |
Teemu Piippo |
Cleanup AlgorithmToolset::subfileSelection.
|
changeset |
files
|
Thu, 23 Feb 2017 21:03:59 +0200 |
Teemu Piippo |
Fixed more dialog instances in AlgorithmToolset.
|
changeset |
files
|
Thu, 23 Feb 2017 21:02:14 +0200 |
Teemu Piippo |
Moved all UI files from ui/ into src/dialogs/.
|
changeset |
files
|
Thu, 23 Feb 2017 20:29:44 +0200 |
Teemu Piippo |
Removed unused class RadioGroup.
|
changeset |
files
|
Thu, 23 Feb 2017 20:28:17 +0200 |
Teemu Piippo |
Replaced LDObjectList with QVector<LDObject*>
|
changeset |
files
|
Thu, 23 Feb 2017 20:25:47 +0200 |
Teemu Piippo |
Removed the Origin and axes global constants.
|
changeset |
files
|
Thu, 23 Feb 2017 20:21:40 +0200 |
Teemu Piippo |
At long last, the g_win pointer has been removed. Down with global variables!
|
changeset |
files
|
Thu, 23 Feb 2017 20:18:39 +0200 |
Teemu Piippo |
print() is no longer a global function but is tied to HierarchyElement.
|
changeset |
files
|
Thu, 23 Feb 2017 20:06:22 +0200 |
Teemu Piippo |
Made the GL renderer recieve information of object deletion via signals.
|
changeset |
files
|
Thu, 23 Feb 2017 20:03:31 +0200 |
Teemu Piippo |
Moved GetIcon and makeSettings into the MainWindow namespace as static methods.
|
changeset |
files
|
Thu, 23 Feb 2017 19:56:21 +0200 |
Teemu Piippo |
Removed the Critical and Question functions, replaced with direct QMessageBox uses. Removed unused code from mainwindow.h.
|
changeset |
files
|
Thu, 23 Feb 2017 19:33:56 +0200 |
Teemu Piippo |
Removed dead code
|
changeset |
files
|
Thu, 23 Feb 2017 19:32:36 +0200 |
Teemu Piippo |
Some cleanup in mainwindow.cpp, use QSet<QString> for the 'ignore' variable.
|
changeset |
files
|
Thu, 23 Feb 2017 18:47:15 +0200 |
Teemu Piippo |
Reformat colors.cpp.
|
changeset |
files
|
Thu, 23 Feb 2017 18:38:30 +0200 |
Teemu Piippo |
Removed unused code from macros.h.
|
changeset |
files
|
Mon, 20 Feb 2017 07:56:21 +0200 |
Teemu Piippo |
Made fixed cameras matrix-based. This simplifies some math.
|
changeset |
files
|
Sat, 18 Feb 2017 02:02:29 +0200 |
Teemu Piippo |
Added gnomon.dat to version control. It helps me sort out the cameras as I rework them.
|
changeset |
files
|
Tue, 14 Feb 2017 15:21:34 +0200 |
Teemu Piippo |
Moved LDQuadrilateral into its own source pair.
|
changeset |
files
|
Tue, 14 Feb 2017 15:11:33 +0200 |
Teemu Piippo |
Moved LDTriangle into its own source pair.
|
changeset |
files
|
Tue, 14 Feb 2017 14:59:26 +0200 |
Teemu Piippo |
Renamed ldObject.cpp → linetypes/modelobject.cpp
|
changeset |
files
|
Tue, 14 Feb 2017 14:53:06 +0200 |
Teemu Piippo |
Renamed glCompiler.cpp → glcompiler.cpp
|
changeset |
files
|
Tue, 14 Feb 2017 14:52:01 +0200 |
Teemu Piippo |
Renamed ldDocument.cpp → lddocument.cpp
|
changeset |
files
|
Tue, 14 Feb 2017 14:51:04 +0200 |
Teemu Piippo |
Renamed glRenderer.cpp → glrenderer.cpp
|
changeset |
files
|
Tue, 14 Feb 2017 13:37:58 +0200 |
Teemu Piippo |
Cleanup AlgorithmToolset::replaceCoordinates()
|
changeset |
files
|
Tue, 14 Feb 2017 13:29:47 +0200 |
Teemu Piippo |
Fixed possible memory leak in AlgorithmToolset::editRaw().
|
changeset |
files
|
Tue, 14 Feb 2017 13:25:43 +0200 |
Teemu Piippo |
Split LDConditionalEdge and LDEdgeLine into new source pairs
|
changeset |
files
|
Tue, 14 Feb 2017 13:02:05 +0200 |
Teemu Piippo |
Removed the GLCamera::FreeToken name
|
changeset |
files
|
Tue, 14 Feb 2017 12:58:53 +0200 |
Teemu Piippo |
LDObject subclass renaming:
|
changeset |
files
|
Tue, 14 Feb 2017 12:48:21 +0200 |
Teemu Piippo |
Updated comments
|
changeset |
files
|
Tue, 14 Feb 2017 12:43:10 +0200 |
Teemu Piippo |
Inlined away the LDOBJ macros in ldobject.h.
|
changeset |
files
|
Tue, 14 Feb 2017 09:53:13 +0200 |
Teemu Piippo |
Rearranged declarations in basics.h
|
changeset |
files
|
Tue, 14 Feb 2017 09:48:51 +0200 |
Teemu Piippo |
Removed the intXX type aliases and removed uses of intXX_t in favor of qintXX
|
changeset |
files
|
Tue, 14 Feb 2017 08:33:44 +0200 |
Teemu Piippo |
Moved more stuff to GLCamera
|
changeset |
files
|
Tue, 14 Feb 2017 08:26:39 +0200 |
Teemu Piippo |
Some documentation and cleanup in GLRenderer...
|
changeset |
files
|
Tue, 14 Feb 2017 08:15:58 +0200 |
Teemu Piippo |
Fixed the free camera icon not showing up anymore.
|
changeset |
files
|
Tue, 14 Feb 2017 08:13:26 +0200 |
Teemu Piippo |
Simplified camera tooltip code.
|
changeset |
files
|
Tue, 14 Feb 2017 08:08:17 +0200 |
Teemu Piippo |
Moved camera names to GLCamera, other adjustments
|
changeset |
files
|
Tue, 14 Feb 2017 07:57:27 +0200 |
Teemu Piippo |
Exported GLRenderer cameras into a new class, GLCamera.
|
changeset |
files
|
Mon, 13 Feb 2017 20:59:16 +0200 |
Teemu Piippo |
Fixed some compilation problems
|
changeset |
files
|
Sun, 12 Feb 2017 17:28:22 +0200 |
Teemu Piippo |
Commented GLCompiler::getColorForPolygon
|
changeset |
files
|
Sun, 12 Feb 2017 17:18:14 +0200 |
Teemu Piippo |
Refactored configcollector.py
|
changeset |
files
|
Sun, 12 Feb 2017 16:59:35 +0200 |
Teemu Piippo |
Moved the definitions of all configuration options into a new text file and made the configuration collector read that.
|
changeset |
files
|
Sun, 12 Feb 2017 16:02:44 +0200 |
Teemu Piippo |
Moved definition of MainWindow::ToolInfo into mainwindow.cpp
|
changeset |
files
|
Sun, 12 Feb 2017 16:02:02 +0200 |
Teemu Piippo |
Reworked iterable enums: they all are enum classes now and the end value is marked with "_End"
|
changeset |
files
|
Fri, 10 Feb 2017 23:06:24 +0200 |
Teemu Piippo |
Added the RingAdapter class and interfacing ring() function and simplified some math in GLCompiler with it
|
changeset |
files
|
Thu, 09 Feb 2017 23:51:42 +0200 |
Teemu Piippo |
Replaced uses of currentDocument() in GLRenderer with m_model
|
changeset |
files
|
Thu, 09 Feb 2017 23:50:11 +0200 |
Teemu Piippo |
Axes are not rendered with normals so the normals client state has to be disabled when drawing them.
|
changeset |
files
|
Thu, 09 Feb 2017 23:46:45 +0200 |
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.
|
changeset |
files
|
Thu, 09 Feb 2017 23:45:53 +0200 |
Teemu Piippo |
Grah
|
changeset |
files
|
Thu, 09 Feb 2017 22:46:37 +0200 |
Teemu Piippo |
Moved LDComment and LDEmpty into their own source file pairs.
|
changeset |
files
|
Thu, 09 Feb 2017 21:04:33 +0200 |
Teemu Piippo |
Moved dialogs.cpp to dialogs/externalprogrampathdialog.cpp
|
changeset |
files
|
Thu, 09 Feb 2017 21:01:12 +0200 |
Teemu Piippo |
Cleaned up ExternalProgramPathDialog
|
changeset |
files
|
Thu, 09 Feb 2017 20:54:21 +0200 |
Teemu Piippo |
Moved some global constants into appropriate namespaces.
|
changeset |
files
|
Thu, 09 Feb 2017 20:44:36 +0200 |
Teemu Piippo |
Cleaned up GLCompiler. Among other changes, the compiler no longer has to be told what to compile.
|
changeset |
files
|
Thu, 09 Feb 2017 20:07:45 +0200 |
Teemu Piippo |
Fixed potential memory leak
|
changeset |
files
|
Thu, 09 Feb 2017 19:59:27 +0200 |
Teemu Piippo |
Replaced GLRenderer::m_width and GLRenderer::m_height with width() and height() calls.
|
changeset |
files
|
Thu, 09 Feb 2017 19:57:43 +0200 |
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.
|
changeset |
files
|
Thu, 09 Feb 2017 19:32:41 +0200 |
Teemu Piippo |
Made GLRenderer's Model pointer const
|
changeset |
files
|
Thu, 09 Feb 2017 13:26:44 +0200 |
Teemu Piippo |
Moved more editing-related methods to Canvas.
|
changeset |
files
|
Thu, 09 Feb 2017 13:17:22 +0200 |
Teemu Piippo |
Removed the unneeded makeCurrent overload
|
changeset |
files
|
Thu, 09 Feb 2017 13:13:46 +0200 |
Teemu Piippo |
Moved more methods only used by canvas code from GLRenderer to Canvas. Thin border pen is now a static constant.
|
changeset |
files
|
Thu, 09 Feb 2017 13:07:47 +0200 |
Teemu Piippo |
Moved triangle count rendering to Canvas
|
changeset |
files
|
Thu, 09 Feb 2017 13:05:31 +0200 |
Teemu Piippo |
Moved document editing methods from GLRenderer to Canvas
|
changeset |
files
|
Thu, 09 Feb 2017 11:53:55 +0200 |
Teemu Piippo |
Created a new GLRenderer derivative class "Canvas" and made MainWindow use it
|
changeset |
files
|
Thu, 09 Feb 2017 01:08:57 +0200 |
Teemu Piippo |
Cleaned up code in LDDocument and removed unnecessary flags and methods. Flags turned into bools.
|
changeset |
files
|
Thu, 09 Feb 2017 01:00:31 +0200 |
Teemu Piippo |
Removed some unused code
|
changeset |
files
|
Thu, 09 Feb 2017 00:52:23 +0200 |
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.
|
changeset |
files
|
Thu, 09 Feb 2017 00:45:44 +0200 |
Teemu Piippo |
GLRenderer no longer exposes the model pointer.
|
changeset |
files
|
Thu, 09 Feb 2017 00:43:30 +0200 |
Teemu Piippo |
LDGLData merged into GLRenderer since it only deals with one document now. GLRenderer generalised from rendering documents to models.
|
changeset |
files
|
Thu, 09 Feb 2017 00:32:24 +0200 |
Teemu Piippo |
Made a new renderer be created for each document, instead of reusing the same renderer for all documents.
|
changeset |
files
|
Wed, 08 Feb 2017 17:07:19 +0200 |
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.
|
changeset |
files
|
Wed, 08 Feb 2017 16:51:55 +0200 |
Teemu Piippo |
- Use a QGenericMatrix to store the matrix, instead of a C array
|
changeset |
files
|
Wed, 08 Feb 2017 16:45:32 +0200 |
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.
|
changeset |
files
|
Wed, 08 Feb 2017 16:38:59 +0200 |
Teemu Piippo |
GLRenderer::clampAngle is no longer used as of the previous commit so we can do away with it.
|
changeset |
files
|
Wed, 08 Feb 2017 16:25:06 +0200 |
Teemu Piippo |
Switched from euler angle rotation to matrix rotation. Gimbal lock is now broken.
|
changeset |
files
|
Sat, 04 Feb 2017 14:44:39 +0200 |
Teemu Piippo |
Wrote documentation to the Model class.
|
changeset |
files
|
Sat, 04 Feb 2017 14:24:16 +0200 |
Teemu Piippo |
The current document pointer may no longer be null.
|
changeset |
files
|
Fri, 03 Feb 2017 10:51:08 +0200 |
Teemu Piippo |
minor amendment
|
changeset |
files
|
Fri, 03 Feb 2017 10:44:23 +0200 |
Teemu Piippo |
Reworked and cleaned up the circle mode
|
changeset |
files
|
Mon, 30 Jan 2017 14:30:55 +0200 |
Teemu Piippo |
Some code cleanup in abstract editing modes.
|
changeset |
files
|
Mon, 30 Jan 2017 02:41:45 +0200 |
Teemu Piippo |
Removed some unnecessary #include-directives.
|
changeset |
files
|
Mon, 30 Jan 2017 02:33:17 +0200 |
Teemu Piippo |
Removed the status bar, since it's not used for anything
|
changeset |
files
|
Mon, 30 Jan 2017 02:30:26 +0200 |
Teemu Piippo |
Split object list representation into virtual methods
|
changeset |
files
|
Mon, 30 Jan 2017 02:18:42 +0200 |
Teemu Piippo |
Removed LDDocument::getObjectCount (superceded by Model::size)
|
changeset |
files
|
Mon, 30 Jan 2017 00:59:06 +0200 |
Teemu Piippo |
The "all objects have valid models" invariant seems to be holding up now. At least basic drawing works again.
|
changeset |
files
|
Sun, 29 Jan 2017 21:17:43 +0200 |
Teemu Piippo |
Made all LDObject constructors protected. Emplacement is now the only way to create objects.
|
changeset |
files
|
Sun, 29 Jan 2017 21:07:15 +0200 |
Teemu Piippo |
Removed the LDSpawn function and replaced its last use cases.
|
changeset |
files
|
Sun, 29 Jan 2017 21:02:11 +0200 |
Teemu Piippo |
More rework on model stuff, removals of LDSpawn calls. Most importantly, the LDraw code parsing function was moved to Model.
|
changeset |
files
|
Sun, 29 Jan 2017 15:49:36 +0200 |
Teemu Piippo |
Removed uses of LDSpawn in the algorithm toolset
|
changeset |
files
|
Sun, 29 Jan 2017 15:39:35 +0200 |
Teemu Piippo |
Replaced uses of LDSpawn with the Model class in edit modes
|
changeset |
files
|
Sun, 29 Jan 2017 15:28:48 +0200 |
Teemu Piippo |
Removed dead code that's standing in the way of refactoring
|
changeset |
files
|
Sun, 29 Jan 2017 15:25:26 +0200 |
Teemu Piippo |
Removed the AddObjectDialog. Garbage code that absolutely needs to be reimplemented.
|
changeset |
files
|
Sun, 29 Jan 2017 15:18:40 +0200 |
Teemu Piippo |
Made the quad→triangles use emplacement. However, now it crashes because of problems in the underlying system (the LDObject constructor shouldn't do anything in regard to the model!)
|
changeset |
files
|
Sun, 29 Jan 2017 15:05:14 +0200 |
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.
|
changeset |
files
|
Sat, 28 Jan 2017 17:47:06 +0200 |
Teemu Piippo |
Happy new year 2017!
|
changeset |
files
|
Sat, 28 Jan 2017 17:45:00 +0200 |
Teemu Piippo |
Matrices are now input with 9 spinboxes instead of a MLCad-style line edit
|
changeset |
files
|
Sat, 28 Jan 2017 17:23:04 +0200 |
Teemu Piippo |
Moved the identity matrix constant into Matrix's namespace
|
changeset |
files
|
Sat, 28 Jan 2017 17:20:16 +0200 |
Teemu Piippo |
Removed the dangerous C-array constructor from the matrix - no need for it anyway since the matrix already is an array of doubles.
|
changeset |
files
|
Sat, 28 Jan 2017 17:14:05 +0200 |
Teemu Piippo |
Reworked the Matrix interface so that less index math is involved
|
changeset |
files
|
Sat, 28 Jan 2017 16:30:27 +0200 |
Teemu Piippo |
Fixed formatFileSize
|
changeset |
files
|
Sat, 28 Jan 2017 14:33:09 +0200 |
Teemu Piippo |
Refactor roundToDecimals and formatFileSize
|
changeset |
files
|
Sat, 28 Jan 2017 14:14:28 +0200 |
Teemu Piippo |
Actually, let's call it countof(). Makes more sense.
|
changeset |
files
|
Sat, 28 Jan 2017 14:13:01 +0200 |
Teemu Piippo |
Replaced '.length()' with 'length()' where appropriate
|
changeset |
files
|
Sat, 28 Jan 2017 14:01:19 +0200 |
Teemu Piippo |
Replaced uses of 'x.size()' with 'length(x)'
|
changeset |
files
|
Sat, 28 Jan 2017 13:49:09 +0200 |
Teemu Piippo |
refactor: added the length() function that's like Python's len()
|
changeset |
files
|
Sat, 28 Jan 2017 13:32:55 +0200 |
Teemu Piippo |
refactor
|
changeset |
files
|
Sat, 19 Nov 2016 22:57:18 +0200 |
Teemu Piippo |
Display error string if unable to write a crash log.
|
changeset |
files
|
Fri, 18 Nov 2016 03:01:38 +0200 |
Teemu Piippo |
Made DEFINE_FLAG_ACCESS_METHODS a function macro
|
changeset |
files
|
Fri, 18 Nov 2016 02:56:53 +0200 |
Teemu Piippo |
Cleaned up crash catcher, fixed missing <math.h> include
|
changeset |
files
|
Thu, 17 Nov 2016 14:12:59 +0200 |
Teemu Piippo |
Fixed additive range selection not working properly.
|
changeset |
files
|