Commit Graph

70 Commits

Author SHA1 Message Date
wmayer
378a1e4f58 Qt5: workaround for undocking of mdi view
fix minor issues reported by clang static analyzer
2017-05-03 22:01:46 +02:00
wmayer
d02a34c03b Qt5 port: workaround to keep multi-sampling when undocking mdi window 2017-05-01 18:53:58 +02:00
wmayer
1673ab801e use specialized exception classes 2017-04-28 18:49:11 +02:00
wmayer
4d9169faf7 Qt5OpenGL: add missing header for macOS/Linux builds 2017-03-21 20:37:03 +01:00
wmayer
3da36c1682 Qt5OpenGL: add missing header for macOS/Linux builds 2017-03-21 20:37:03 +01:00
wmayer
08a901a0d0 Qt5OpenGL: fix to make the 3d viewer fit into the mdi area after re-docking it 2017-03-21 20:37:03 +01:00
wmayer
3ac834c734 Qt5OpenGL: use OpenGL debug logger to locate problems, fix a couple of errors 2017-03-21 20:37:03 +01:00
wmayer
2c6f1fd56a Qt5OpenGL: fix transparency issue with framebuffer objects with old OpenGL API 2017-03-21 20:37:03 +01:00
wmayer
ed33adc35d Qt5OpenGL: make off-screen renderer working 2017-03-21 20:37:03 +01:00
wmayer
5bf326c1fb Qt5OpenGL: fix creating thumbnals, pdf, print preview and snapshot 2017-03-21 20:37:03 +01:00
wmayer
6638ff90d9 Qt5OpenGL: do not use pixel buffer for the moment 2017-03-21 20:37:03 +01:00
wmayer
a1dd462de9 move QuarterWidget to QOpenGLWidget 2017-03-21 20:37:03 +01:00
wmayer
56ff88ea46 cleanup experimental code, improve whitespaces 2017-02-12 14:41:55 +01:00
Jean-Marie Verdun
8383f7222f Accelerate 3D rendering with VBO support
*First step to move Part rendering using VBO instead of direct rendering
*Update comments inside the code
*Assume VBO is available if OpenGL > 3.0 is detected
*Add initial Color support to VBO rendering !
*Initial full feature VBO rendering implementation
*Modify some include issue for linux build
*Try to fix linux include header
*Reupdate header include for linux support
*Fix compilation on linux
*Fix linux and MacoOS build
*Fix glGetString definition
*Fix Windows build
*Add VBO support as an option into the Preference menu
*Fix crash while running FreeCAD test bench with new VBO rendering infrastructure (in both cases)
*Improve performances
*Compute material index only when a VBO update is required (improve frame rate by 10%)
*Clean the code
*Fix Travis compilation warning
*Try to fix Windows compilation issue
*Update include for Windows
2017-02-12 14:41:55 +01:00
wmayer
72ab17fb48 fix typos 2016-12-19 14:07:35 +01:00
wmayer
f19d424d8b fix -Wextra in FreeCADGui 2016-09-21 20:54:52 +02:00
DeepSOIC
93d5cf3f98 Gui: Selection: pick radius support 2016-08-10 18:46:45 +02:00
wmayer
b3abd0d4dd + fix drag and drop of Quarter viewer 2016-05-25 14:13:57 +02:00
jriegel
117238da50 make SoFCUnifiedSelection work with nested children in 3DView 2016-04-12 18:11:45 +02:00
Yorik van Havre
83f87ba3ea Turned Zoom At Cursor option True by default - fixes #2371 2016-02-26 13:51:39 -03:00
Mateusz Skowroński
3b463f2138 Qt::WFlags is obsolete in Qt5. Replace it with Qt::WindowFlags.
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:58 +01:00
Mateusz Skowroński
cd2db00f22 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński
9aa3cfb4f9 Add missing QMimeData.h includes.
This change is Qt4/Qt5 neutral.
2015-12-24 13:36:46 +01:00
wmayer
efd3a494d7 + fixes #0002297: 'Export to PDF...' from drawing view does not show an error if existing file can not be overwritten 2015-10-17 00:31:30 +02:00
wmayer
967eead27a + split file extension from descriptive text of file format to avoid that invalid translation breaks file dialog
+ add method to make image view unclosable for user
+ fix possible crash in MeshAlgorithm::GetMeshBorder
+ fix possible crash in MeshAlgorithm::ConnectLines
2015-10-06 17:28:52 +02:00
Mateusz Skowroński
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
Yorik van Havre
da2c497671 Added SaveCopy command
This command saves a copy of the current document under a new name,
without modifying the document itself.

Available in menu File -> Save a Copy or from python with
FreeCAD.ActiveDocument.saveCopy(filename)
2015-09-02 13:38:14 -03:00
wmayer
84a65a53ef + remove method View3DInventor::dumpSelection 2015-08-26 18:58:59 +02:00
wmayer
9431d301d3 + for VRML and OpenInventor export only selection, fix whitespaces 2015-05-17 13:53:22 +02:00
wmayer
58b54aa729 + code cleanup: remove NO_USE_QT_MDI_AREA 2015-05-01 23:27:20 +02:00
wmayer
bfce8c7991 + anti-aliasing for preview of 3d view 2015-03-08 23:10:13 +01:00
wmayer
d4a5249b4b + when creating picture check whether pbuffer is supported 2014-12-09 14:18:44 +01:00
wmayer
99caf6d015 + support of arbitrary background colors in snapshot function 2014-11-08 18:23:41 +01:00
wmayer
7422f073ea + share GL widgets when creating further 3d views of a document 2014-10-15 12:04:06 +02:00
wmayer
96e286a060 + fix anti-aliasing issue 2014-10-10 16:58:02 +02:00
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
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
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
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
3d00535d57 FreeCAD-VR: Small fix for older compilers 2014-09-19 11:03:35 +02:00
jriegel
c0152eeb68 FreeCAD-VR: command integration 2014-09-13 10:18:52 +02:00
wmayer
7a3ddd5bae + fix author note, fix various crashes, improve mesh selection stuff 2014-08-01 16:39:59 +02:00
wmayer
c4bd838c55 + fix broken copyright notice 2014-07-18 12:40:21 +02:00
Ian Rees
22278b7826 This branch adds a mouse cursor to the 'Measure Distance' tool. 2014-07-18 12:33:57 +02:00
Stefan Tröger
571b6391ee Add multisampling anti-aliasing 2014-05-09 11:24:38 +02:00
wmayer
4c23af2695 + undo bad fix and add a comment 2014-03-16 00:25:56 +01:00
wmayer
2db31c97ec + switch off mouse propagation of OpenGL widget 2014-03-12 14:01:35 +01: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