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
|