Commit Graph

698 Commits

Author SHA1 Message Date
wmayer
39f2132029 + fix whitespaces 2014-10-10 15:48:31 +02:00
wmayer
4a3838fa44 + fix stack overflow error 2014-10-10 15:47:20 +02:00
wmayer
f02da38566 + fix Qt help problems 2014-10-01 17:16:43 +02:00
Stefan Tröger
3cbfb0a5c7 Prevent QPainter buffer swap
As the QGraphicsScene overlay does not work for all cards/drivers we disable the possible buffer swap of the qpainter, as this could be a potential source of the flickering. If the painter swaps buffers and we do it again the user will see first the correct picture (first swap) and then something uninitalized (second swap)
2014-09-29 10:11:29 +02:00
Stefan Tröger
4e63e11df6 Make stereo modes work again
Be aware that stereo rendering based on SoRenderManager does not allow background colors as the opengl buffers are cleared before rendering. As FreeCAD draws the background before the standart coin rendering the background gets erased again.
2014-09-29 10:11:28 +02:00
wmayer
e88b712ff9 + fix typos 2014-09-24 22:06:13 +02:00
wmayer
6e92028ca6 + add option to disable automatic fit to view when loading data file 2014-09-24 18:49:19 +02:00
wmayer
032c893183 + fix warnings with clang 2014-09-24 17:46:04 +02:00
wmayer
5201223da4 + fix warnings with clang 2014-09-24 16:00:10 +02:00
wmayer
003c2bf77d + fix warnings with clang 2014-09-24 15:55:36 +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
deda49b098 fix qt moc warnings 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
cc5c9f6031 ensure that the glwidget is returned 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
eb7f1bf3e5 Adopt mouse selection to quarter widget
Quarter Widget soes not allow to switch of multisampling on the fly, therefore we need to use glgraphicsitem instead of direct opengl xor rendering for mouse selection
2014-09-23 10:11:11 +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
Stefan Tröger
e1265c874d add default quarter files 2014-09-23 10:11:11 +02:00
wmayer
26e01e0900 + build with Qt < 4.7 and OCC < 6.5 2014-09-20 17:49:29 +02:00
Sebastian Hoogen
6a89b33816 fixes #1745 Encode Annotation Text using latin1
for Coin Versions <= 3
2014-09-20 16:26:59 +02:00
jriegel
6561b99347 Merge branch 'refs/heads/Rift' 2014-09-19 11:08:00 +02:00
jriegel
3d00535d57 FreeCAD-VR: Small fix for older compilers 2014-09-19 11:03:35 +02:00
jriegel
a81308ab57 FreeCAD-VR: Small cleanups 2014-09-18 10:25:28 +02:00
jriegel
719c6e9425 FreeCAD-VR: fix Z direction 2014-09-17 19:13:48 +02:00
jriegel
b5c2554378 FreeCAD-VR: Proper light handling 2014-09-17 18:55:51 +02:00
jriegel
9a19baa8f5 FreeCAD-VR: Positional light and fix in camera positioning 2014-09-17 18:35:11 +02:00
jriegel
4c7fb2d0f0 FreeCAD-VR: Upright position and remembering render window position 2014-09-17 15:01:28 +02:00
jriegel
1c741b6e0d FreeCAD-VR: Remove Tabs and add orientation for viewer position 2014-09-17 13:49:44 +02:00
Sebastian Hoogen
ed66ada1cf issue #1700 replace PyExc_Exception 2014-09-17 11:15:57 +02:00
Sebastian Hoogen
5e51a6cdf7 fixes #0001422: Subclass Exception
inherit Base.FreeCADError form RuntimeError
inherit Part.OCCError from Base.FreeCADError
inherit OCCDomainError from Part.OCCError
inherit OCCRangeError from Part.OCCError
inherit OCCConstructionError from OCCDomainError
inherit OCCDimensionError from OCCDomainError
Added PY_CATCH_OCC macro
replace PyExc_Exception
use FreeCADError in makeWireString
catch exception in BSplineCurve.increasedegree
2014-09-17 11:15:56 +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
0d2ce7073a FreeCAD-VR: Separating FreeCAD and Coin/Rift stuff 2014-09-15 17:14:44 +02:00
jriegel
069da65528 FreeCAD-VR: some fixes on FrameBuffer rendering portion 2014-09-15 16:27:40 +02:00
jriegel
66a58c40ad FreeCAD-VR: Some fixes... 2014-09-14 14:57:07 +02:00
jriegel
250426f792 FreeCAD-VR: Handling the safety warning 2014-09-14 13:54:02 +02:00
jriegel
ad2406a763 FreeCAD-VR: First succesfull render on the Rift! 2014-09-13 20:03:57 +02:00
Yorik van Havre
ce0f2452c8 Mis upgrades for the selection window - fixes #1737
* Added a search box that searches through object labels
* Added a context menu to selected items
* Allow to double-click an item to isolate
2014-09-13 12:02:45 -03:00
jriegel
c0152eeb68 FreeCAD-VR: command integration 2014-09-13 10:18:52 +02:00
jriegel
537d7edfd8 porting the offscreen rendering version to SDK 4.2 2014-09-12 20:15:04 +02:00
jriegel
6c170bce18 Merge branch 'refs/heads/master' into jriegel/Rift 2014-09-12 12:27:55 +02:00
wmayer
3d6ba6c5d6 + fixes #0001726: Dialog for saving document should indicate documentname 2014-09-03 14:45:19 +02:00
wmayer
2f4ce2bbc0 + Add StackWalker to get log messages on crashes (MSVC only) 2014-09-03 11:48:34 +02:00
wmayer
8f54360226 + minor fix 2014-09-02 17:43:25 +02:00
wmayer
e5a54d0791 + fixes #0001714: FreeCAD 0.14 Stable crashes when importing a step model 2014-09-01 19:11:46 +02:00
Yorik van Havre
850d0b5e82 Added Gui.showDownloads() py function to show the download manager, and allow to click https links in webgui browser 2014-08-31 16:51:51 -03:00