Commit Graph

59 Commits

Author SHA1 Message Date
wmayer
7422f073ea + share GL widgets when creating further 3d views of a document 2014-10-15 12:04:06 +02:00
wmayer
39f2132029 + fix whitespaces 2014-10-10 15:48:31 +02:00
wmayer
032c893183 + fix warnings with clang 2014-09-24 17:46:04 +02:00
wmayer
c20e83e0d6 + set fix precision for FPS counter 2014-09-23 18:19:35 +02:00
Stefan Tröger
71e0793493 fix framerate rendering 2014-09-23 10:11:12 +02:00
Stefan Tröger
42ae8a6246 fix backlight issue 2014-09-23 10:11:12 +02:00
Stefan Tröger
d02d966b9c fix rotation center after view all 2014-09-23 10:11:12 +02:00
Stefan Tröger
ad1bfc32fb fix reported bugs
- compile on windows
- fix cursors
2014-09-23 10:11:12 +02:00
Stefan Tröger
b18ebc9064 Port QuarterWidget to QGraphicsView
Derive from QGraphicsView instead of QGLWidget to allow to add widgets as overlay over the 3d scene later on.
2014-09-23 10:11:12 +02:00
Stefan Tröger
cf167ec60a add View3DInventorViewer python interface
As quarter is not wrapped by SWIG we need to expose our own python interface class.
This is a start with the most important functions to access the render and event
manager. Furthermore all extra functions available next to the swig wrapper functions
are exposed. Everything else can be added when needed.
2014-09-23 10:11:12 +02:00
Stefan Tröger
72cab0c002 Adaption of FreeCAD to QuarterWidget
-removes all soqtviewer references
-create a quarter adaptor class which implements missing functionality
-adopts freecad code to make use of SoRenderManager and changed View3DInventorViewer  interface
2014-09-23 10:11:11 +02:00
jriegel
a81308ab57 FreeCAD-VR: Small cleanups 2014-09-18 10:25:28 +02:00
jriegel
4c7fb2d0f0 FreeCAD-VR: Upright position and remembering render window position 2014-09-17 15:01:28 +02:00
jriegel
0d6ccb7654 FreeCAD-VR: Some fixes 2014-09-16 18:14:42 +02:00
jriegel
2a4626d27a FreeCAD-VR: Render the FreeCAD scene graph 2014-09-15 19:50:55 +02:00
jriegel
ad2406a763 FreeCAD-VR: First succesfull render on the Rift! 2014-09-13 20:03:57 +02:00
jriegel
c0152eeb68 FreeCAD-VR: command integration 2014-09-13 10:18:52 +02:00
wmayer
a252471625 + fix author notes, fix memory leak, fix build failure under Windows 2014-07-30 10:05:13 +02:00
wmayer
6ca580456b Squashed commit of the following:
commit 8853bf442b6e1a98699fa90fca5eb30b3f6d3a5e
Author: Ian Rees <ian.rees@gmail.com>
Date:   Tue Jul 29 15:46:59 2014 +1200

    Refactoring and small fix in constraint icon bounding boxes

commit c03e4c13d8fd657e18e3c78d16bbdef209f8c779
Author: Ian Rees <ian.rees@gmail.com>
Date:   Mon Jul 28 15:41:15 2014 +1200

    Implemented picking of individual constraints from combined icons

commit 254aaab450fe6646bee7542c532c454af91b6597
Author: Ian Rees <ian.rees@gmail.com>
Date:   Mon Jul 28 13:04:18 2014 +1200

    Added bounding boxes for combined constraint icons

commit 4f0738ec30220fbf1abdea14dd121d0a134e5dfd
Author: Ian Rees <ian.rees@gmail.com>
Date:   Sat Jul 26 18:53:33 2014 +1200

    Added screenCoordsOfPath() to View3DInventorViewer

commit 14e2dc7b4aa79db97cbacd2c848728a66276d644
Author: Ian Rees <ian.rees@gmail.com>
Date:   Sun Jul 20 14:24:27 2014 +1200

    Bit of code to make constraint icon text rendering nicer.

    This won't be useful unless the font changes, but wanted to add it while
    I was thinking about it.

commit 8020d2d62214d71875cbae101d5ac5e96d998201
Author: Ian Rees <ian.rees@gmail.com>
Date:   Sun Jul 20 13:54:51 2014 +1200

    Fixed an off-by-one in ViewProviderSketch::combineConstratintIcons

    Bug resulted in icons occasionally not being combined into groups,
    when they should've been.

commit 20d92a3ccc1f795be1cb86f6f92045518dc8eb81
Author: Ian Rees <ian.rees@gmail.com>
Date:   Tue Jul 15 19:38:20 2014 +1200

    Fixed a bug that was introduced two commits ago.

commit 69e1ea848e3bc3c8c372c539f30a7b4d2a563aa2
Author: Ian Rees <ian.rees@gmail.com>
Date:   Tue Jul 15 15:33:30 2014 +1200

    Fixed dumb copy-and-paste error

commit a998b75a905cc31e1f4f49869e81ecaef5858b69
Author: Ian Rees <ian.rees@gmail.com>
Date:   Sun Jul 13 18:39:22 2014 +1200

    Fixed crash reported by sponssi

    More info at http://forum.freecadweb.org/viewtopic.php?f=10&t=6965&p=56590

commit 27b7b804790dda5164c7ef0b9418f6c160228859
Author: Ian Rees <ian.rees@gmail.com>
Date:   Thu Jul 10 13:32:16 2014 +1200

    Cleaning up my git repo for FreeCAD.

    This branch now has just the Sketcher icon fixes, plus a few random comment edits.
2014-07-30 10:05:12 +02:00
wmayer
066fbfda0a + avoid unncessary calls of setSampleBuffer 2014-05-12 18:53:21 +02:00
wmayer
a5efc53bfc + fix transparency issue, disable sample buffers when using front buffer 2014-05-09 19:20:30 +02:00
wmayer
320fabfc98 + whitespace improvements 2014-05-09 12:18:58 +02:00
Stefan Tröger
571b6391ee Add multisampling anti-aliasing 2014-05-09 11:24:38 +02:00
wmayer
25d0242f97 + fixes #0001497: Implement getCameraOrientation similarly to getViewDirection 2014-04-02 11:40:36 +02:00
wmayer
cd5977b721 + fixes #0001289: Fit All option has not animation when Enable animation is active 2014-01-21 15:49:18 +01:00
wmayer
7813c5e5ed + Fix regressions by merge of draw style branch 2014-01-16 14:30:42 +01:00
tanderson
3b8176535b implemented 2014-01-16 10:27:21 -02:00
blobfish
59e69bbe0e Part Dimension: alterations to existing files
Not sure what is happening with View3dInventorViewer.h.
    The only REAL change, beyond the addition of dim functions, is
    the removal of the member arrowrotation. It wasn't referenced anywhere.
2013-12-17 10:05:46 -05:00
wmayer
c86b7e17c8 + A more reliable workaround for regression in SoQtViewer 2013-12-09 13:40:42 +01:00
wmayer
453d81aaae + Fix warnings because of invalid frustum with Coin 4.0 2013-12-07 19:22:13 +01:00
wmayer
1333cb8734 + Get exact point on data model when picking in 3d view 2013-11-21 12:50:49 +01:00
jriegel
bdd3575cd2 Undo some of the tried fixes which doesen't work 2013-07-10 23:13:27 +02:00
jriegel
c77d2c688e Again some fixes 2013-07-10 07:54:26 +02:00
jriegel
3f7f010041 some fixes of the fixes ;) 2013-07-10 07:45:39 +02:00
jriegel
1ce212160b move AxisCross code to the Viewer and make a Python binding 2013-07-09 23:28:21 +02:00
wmayer
f05be462bc Reduce redundant code in View3DInventorViewer class 2013-06-20 16:57:10 +02:00
wmayer
c6b02da648 Use framebuffer object as fallback for off-screen rendering 2013-06-19 17:42:28 +02:00
wmayer
1e2aface5a Fix for highlighting of edges 2013-05-08 18:56:55 +02:00
wmayer
cec94bdb6a Fix for highlighting of edges 2013-05-08 18:40:20 +02:00
wmayer
7bbe64f586 Fix gcc build failure 2013-05-02 18:07:06 +02:00
wmayer
746ab2ec78 Add framebuffer support to Inventor viewer 2013-05-02 17:37:56 +02:00
wmayer
ecc61ba784 Fix typo 2013-04-28 14:31:12 +02:00
wmayer
859cf78dba 0001087: Inventor Navigation continues with released Mouse Button 2013-04-27 22:10:59 +02:00
wmayer
420d10face Add a GLPainter class to do all the OpenGL drawing stuff 2013-04-27 19:24:39 +02:00
wmayer
60eeb81183 Implement a more user-friendly selection tool 2013-04-26 17:13:20 +02:00
wmayer
7c3e6fa50f 0001064: Crash occurs in version 0.13 when trying to use alignment tool 2013-03-30 14:46:51 +01:00
jriegel
d739a2e41b Add all base system changes from the Assembly branch 2013-02-10 20:02:33 +01:00
wmayer
9548d347a4 Use current background to save to image when not using color gradient 2012-12-24 13:00:30 +01:00
wmayer
e6d84af12d 0000912: Fit selection doesn't work as expected 2012-12-12 12:11:55 +01:00
wmayer
3347aa91e8 Fix view fit for perspective camera by setting height angle to 45 deg 2012-11-23 19:23:10 +01:00