Commit Graph

1149 Commits

Author SHA1 Message Date
wmayer
7e9da5e957 fix possible crash in view provider of boolean algorithm features 2017-03-27 22:43:13 +02:00
wmayer
b0cd0a5163 Qt5OpenGL: release context when finished 2017-03-21 20:37:03 +01:00
wmayer
2c9d5e3010 render full selection of huge part models in real time 2017-03-20 20:36:31 +01:00
Yorik van Havre
08d8f70691 Part: Support subcomponent transparencies in compounds 2017-03-08 15:54:44 -03:00
wmayer
84ac526f62 fallback handling if in VBO rendering no normals are set 2017-03-06 19:18:47 +01:00
wmayer
ed0727a606 move VBO rendering code into its own method 2017-03-06 18:36:11 +01:00
Yorik van Havre
6b66a38ee3 Updated translations with latest files from crowdin 2017-03-06 11:53:09 -03:00
wmayer
b1347ec12b support of highlighting and selection if shading is disabled 2017-03-06 09:29:26 +01:00
Kunda
99c99006b8 source typo fixes pt4 (only on py3 merged code) 2017-03-02 13:47:21 +01:00
Ian Rees
ac9f475702 Clean up clang inconsistent override warnings. 2017-03-01 22:00:41 +01:00
looooo
8b45976c8d py3: Part: Gui: gathering commits from python3-branch 2017-03-01 17:16:55 +01:00
wmayer
ed23c0d3c4 py3: ported Part to python3 2017-03-01 16:38:53 +01:00
AjinkyaDahale
2ecacef35e Sketcher: fix issue #0002788 2017-02-27 10:34:16 +01:00
wmayer
97c9174840 fix various warnings 2017-02-21 22:51:26 +01:00
Jean-Marie Verdun
4a3252e445 Fix Face color display issue with Vbo turned on 2017-02-20 18:54:07 +01:00
wmayer
399cdd803a use Coin API to deal with vbo and add methods to cleanup GL resources on destruction 2017-02-20 13:16:30 +01:00
wmayer
c1c4a90411 move vbo handling to private class 2017-02-19 19:40:37 +01:00
Bernd Hahnebach
4169e94b69 Part: code formating, white spaces 2017-02-18 15:57:54 +01:00
Bernd Hahnebach
54bbd79b03 Part: compound filter, GUI command 2017-02-18 15:57:54 +01:00
Bernd Hahnebach
ba9e342633 Part: compound filter, icon 2017-02-18 15:57:54 +01:00
wmayer
69e027a607 fix rendering problems by using the cache context 2017-02-12 14:41:55 +01:00
wmayer
6d6fbdcd8d implement correct way to query VBO status of viewer from SoBRepFaceSet node 2017-02-12 14:41:55 +01:00
wmayer
0700345049 make vboAvailable a static variable and extend interface of renderShape to avoid side effects 2017-02-12 14:41:55 +01:00
wmayer
8612c4f99f write custom action class to notify shape node about vbo changes 2017-02-12 14:41:55 +01:00
wmayer
56ff88ea46 cleanup experimental code, improve whitespaces 2017-02-12 14:41:55 +01:00
wmayer
968a597aa7 get VBO support for SoBrepFaceSet working on Windows 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
Yorik van Havre
d7ed8c4383 Part: Set per-face transparency in boolean ops - fixes #1029,#2806 2017-02-10 21:53:57 -02:00
Alexander Gryson
64b36a2801 Update Metadata 2017-02-07 10:50:00 -02:00
Alexander Gryson
5965f48867 Align Part workbench icons to guidelines 2017-02-07 10:50:00 -02:00
brawaga
58844feaa1 Update Part_ru.ts
Added translations, corrected some existed for grammar, syntax or style.
2017-01-07 23:55:55 +08:00
wmayer
96dc57c068 replace Qt keyword slots with Q_SLOTS 2017-01-05 14:27:19 +01:00
Yorik van Havre
86b3463ee1 updated ts files 2016-12-26 12:36:24 -02:00
wmayer
7e82bd1d7d fix drag and drop of boolean operations 2016-12-21 11:39:26 +01:00
wmayer
5e375a6238 Add switch to select between Qt4 and Qt5 2016-12-13 15:53:13 +01:00
wmayer
166fc624eb remove superfluous Qt includes 2016-12-13 15:40:49 +01:00
wmayer
57e71e5d55 port C++ code to Qt5 2016-12-13 14:22:59 +01:00
wmayer
07943d2a9a Qt4/Qt5 neutral changes:
+ move meta types to own header to avoid double declaration
2016-12-12 15:22:34 +01:00
wmayer
14e3221374 PartGui: set export macro to fix linking errors in PartDesignGui 2016-12-08 10:33:47 +01:00
Stefan Tröger
214722b435 PartDesign: prevent double deletion of TempVis 2016-12-07 06:41:40 +01:00
Stefan Tröger
b758df7193 Port attachment UI to Part for general use
Furthermore change PartDesign primitives to use the new task dialog
2016-12-07 06:41:40 +01:00
wmayer
fde9bded28 fix bottleneck in creation of sketcher grid 2016-11-27 14:36:08 +01:00
wmayer
e54e9515fc rename 2d tool classes to be consistent with 3d classes 2016-11-21 14:29:51 +01:00
wmayer
463106cb59 fix coverity issues 2016-11-20 17:11:32 +01:00
wmayer
8724eaed36 use indexed map to avoid iterating a face twice in case of a compsolid 2016-11-17 15:40:22 +01:00
wmayer
d259aa0784 issue #0002744: FR: check box to export STEP w/without pcurves 2016-10-22 19:44:11 +02:00
wmayer
68ea7fdac5 fix coverity issues 2016-10-08 17:43:30 +02:00
wmayer
c833136cde handle possible crashes with FaceMaker and fix a few coding flaws 2016-10-02 14:47:59 +02:00
DeepSOIC
c7f975279c Part: Offset2D: rewrite to use FaceMaker
new features supported:
* fill offset in collective mode when result wires are closed
* offsetting faces in collective mode

Remaining TODOs:
- collective offset of open wires in "skin" mode
2016-10-01 23:13:44 +03:00
DeepSOIC
86ada8e8ae PartGui: Face: support not only sketches 2016-10-01 23:13:44 +03:00