Commit Graph

31 Commits

Author SHA1 Message Date
wmayer
93736cca48 Gui: [skip ci] add option to use software OpenGL 2020-12-17 16:27:36 +01:00
luz paz
298c677873 Gui: Fix header uniformity, whitespace, and doxygen fixes 2020-11-26 10:14:56 +01:00
arijeetbaruah
b1c5ddcf6d moved 'Pick Radius' from 'Color' to '3D View' fixes #0004147 2020-10-06 16:04:26 +02:00
Adrian
90bc7789d2 Improve Axis Cross behavior and expose parameter to 3D View preferences 2020-05-30 11:17:38 +02:00
wmayer
ea8d3bb242 Gui: [skip ci] add options to set one-pass and backface-pass rendering 2020-04-06 19:50:58 +02:00
wmayer
5d99fcb119 Gui: remove moved controls from 3D view settings page 2020-03-15 14:00:04 +01:00
0penBrain
62406e0ce4 Add ability to remember which workbench is active for each tab of the viewport
Can be enabled/disabled through preferences => Connected to 'SaveWBbyTab' parameter
Workbench is saved when it is changed or when a new subwindow is created
It is restored when subwindow is activated if one was previously saved
2020-03-02 11:59:30 -03:00
0penBrain
67e6b81a65 [NaviCube]Add 'NaviStepByTurn' parameter to 'View' preferences 2020-01-27 10:05:41 +01:00
wmayer
625d252cb1 Gui: implementation classes don't inherit from UI classes any more 2020-01-09 14:30:45 +01:00
DeepSOIC
ba8e964171 Gui: add preference to set 3d view scale for new documents
+ change default view orientation to Trimetric.
2019-09-11 21:39:08 +02:00
Zheng, Lei
c744157e9a Gui: add support of selection context
The patch implements context-aware selection and rendering in 3D view.

Please check [here](https://git.io/fjiY5) for more details, including
the following 'Render Caching' section.

The patch also includes modification of View3DInventorViewer to support
always-on-top selection rendering using the secondary selection context
and the new coin node SoFCPathAnnotation.

Another small change in SoQtQuarterAdaptor for more responsive frame
rate display. The original implementation reports skewed frame rate
in the presence of long idle period.
2019-08-17 14:52:10 +02:00
wmayer
85c7ac5abb fix build failure with old Coin3d versions 2019-01-14 10:10:15 +01:00
wmayer
15b854b2a0 allow to set user-defined standard orientation 2019-01-13 02:21:54 +01:00
DeepSOIC
82fd0a8db6 Gui: Gesture: add option to disable tilt
On Qt5, using pinch will inevitably cause tilt. It's annoying, so it is disabled by default.

In the future, it's best to introduce some kind of threshold to overcome for the tilt to be triggered.
2018-11-29 15:29:27 -03:00
wmayer
84aa87c852 keep corner of navi cube when changing language 2018-10-07 22:39:33 +02:00
wmayer
d4987d088f add option to drag at cursor instead of view center 2018-07-25 22:36:35 +02:00
JimStar
e5dc8bfffa Implemented a global setting for marker size and support of it for snapping in "Draft" workbench. In future this setting can be used for other markers too, to be able to set them all to comfortable size by just one global setting.
Before that (e.g. on MacBook Pro) it was very hard to see the microscopic selection-circle hidden behind much bigger cursor arrow when trying to snap e.g. a line to some vertex. Now this setting can be used for such displays to increase the marker size and make it clearly visible behind the cursor.
The already existing "sketcher marker size" property is intended to be used for sketcher only, so it's not suitable for global setup of all the markers' sizes uniformly...
2018-07-05 19:05:19 -03:00
wmayer
7c010ab9a4 implement option to change corner of navi cube 2018-05-26 18:51:53 +02:00
wmayer
d15c7d0673 + option to disable navi cube
+ handle destruction of GL context in 3d viewer class
+ fix for OpenGL error message: 'Texture is not valid in the current context. Texture has not been destroyed'
2018-05-26 15:33:45 +02: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
f944ab3846 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
wmayer
3f79dfffb6 + allow to get user friendly names for navigation styles 2016-03-10 18:37:48 +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
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
4e41e535ff + fix for MacOSX when changing anti-aliasing setting 2015-03-16 23:40:27 +01:00
wmayer
a0892a9c56 + show message when changing anti-aliasing 2015-03-15 20:02:21 +01:00
Stefan Tröger
571b6391ee Add multisampling anti-aliasing 2014-05-09 11:24:38 +02:00
wmayer
7430d7d11b + fixes #0001309: Revise Mouse Dialog Edit->Preferences->Display->CAD Navigation->[Mouse] 2014-03-09 15:36:33 +01:00
wmayer
12803c1de4 Set explicitly trackball as default orbit style 2013-10-30 10:34:09 +01:00
wmayer
2348a70d25 Support of customizeable zoom step and zoom-at-cursor 2012-02-20 19:52:56 +01:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00