Commit Graph

466 Commits

Author SHA1 Message Date
wmayer
00037b4d6c fix -Wsign-compare 2017-06-19 12:50:55 +02:00
Jean-Marie Verdun
b9ba167d92 Accelerate VBO rendering (bareleye model goes from about 18fps to 34fps on a Macbook Pro)
Fix crashes related to VBO buffer expansion by reallocating the buffers when needed
2017-06-19 12:40:04 +02:00
wmayer
729cfd8155 py3: fox compiler warnings
issue 0000995
2017-06-04 00:17:57 +02:00
wmayer
86e328a248 check for valid vertexes when measuring angles between two edges 2017-05-29 20:49:35 +02:00
Yorik van Havre
de4d33cb84 Updated translations 2017-05-25 10:04:05 -03:00
wmayer
11b187309b fix crash when Part model changes with VBO activated 2017-05-16 19:30:13 +02:00
wmayer
f001c3e16b fix crash when Part model changes with VBO activated 2017-05-16 06:03:22 +02:00
wmayer
736cd735ca fix possible freeze when creating sketch grid 2017-05-11 23:34:01 +02:00
wmayer
712766c3e8 fixes #0003000: View property Angular Deflection can freeze FC 2017-04-27 19:20:22 +02:00
wmayer
6e33aad6bc fix vertex highlighting 2017-04-24 17:19:21 +02:00
wmayer
fdf29399f4 rename material binding class member for faces to make clear its purpose 2017-04-24 14:53:05 +02:00
wmayer
fb3fb9643d implement highlighting of surface in filling task panel 2017-04-24 14:43:30 +02:00
Peter Lama
fa4bebf2e0 Use OCCT Handle macro for Handle_ classes
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
asiersarasua
4564e4f4a4 Fix typos 2017-04-20 09:49:19 +02:00
wmayer
4866d3595f fix material binding of indexed lineset when highlighting an edge 2017-04-17 19:02:11 +02:00
wmayer
ba9ffed16b fix scan coverity issues 2017-04-11 15:06:37 +02:00
wmayer
c526c18b94 fix scan coverity issues: uncaught exception 2017-04-11 14:03:08 +02:00
wmayer
f225f3e0cb fix possible crash in view provider of boolean algorithm features 2017-03-27 22:43:13 +02:00
wmayer
f8a14fc69e Qt5OpenGL: release context when finished 2017-03-21 20:37:03 +01:00
wmayer
0bb1fe3f3d render full selection of huge part models in real time 2017-03-20 20:36:31 +01:00
Yorik van Havre
002597b585 Part: Support subcomponent transparencies in compounds 2017-03-08 15:54:44 -03:00
wmayer
efe7599ae2 fallback handling if in VBO rendering no normals are set 2017-03-06 19:18:47 +01:00
wmayer
67a7f97abc move VBO rendering code into its own method 2017-03-06 18:36:11 +01:00
Yorik van Havre
9f44809e9e Updated translations with latest files from crowdin 2017-03-06 11:53:09 -03:00
wmayer
7d536947a9 support of highlighting and selection if shading is disabled 2017-03-06 09:29:26 +01:00
Kunda
9410e751e9 source typo fixes pt4 (only on py3 merged code) 2017-03-02 13:47:21 +01:00
Ian Rees
4303384667 Clean up clang inconsistent override warnings. 2017-03-01 22:00:41 +01:00
looooo
010f513205 py3: Part: Gui: gathering commits from python3-branch 2017-03-01 17:16:55 +01:00
wmayer
d5e9afa52b py3: ported Part to python3 2017-03-01 16:38:53 +01:00
AjinkyaDahale
ba0d29716b Sketcher: fix issue #0002788 2017-02-27 10:34:16 +01:00
wmayer
67fc7130cf fix various warnings 2017-02-21 22:51:26 +01:00
Jean-Marie Verdun
ff595e0b27 Fix Face color display issue with Vbo turned on 2017-02-20 18:54:07 +01:00
wmayer
778e6f6e48 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
5ef6f8ba15 move vbo handling to private class 2017-02-19 19:40:37 +01:00
Bernd Hahnebach
0c445bd115 Part: code formating, white spaces 2017-02-18 15:57:54 +01:00
Bernd Hahnebach
9c965137b1 Part: compound filter, GUI command 2017-02-18 15:57:54 +01:00
Bernd Hahnebach
826ff0de85 Part: compound filter, icon 2017-02-18 15:57:54 +01:00
wmayer
34df08e1b7 fix rendering problems by using the cache context 2017-02-12 14:41:55 +01:00
wmayer
c2f1bab784 implement correct way to query VBO status of viewer from SoBRepFaceSet node 2017-02-12 14:41:55 +01:00
wmayer
a48282071a make vboAvailable a static variable and extend interface of renderShape to avoid side effects 2017-02-12 14:41:55 +01:00
wmayer
fe15db6af3 write custom action class to notify shape node about vbo changes 2017-02-12 14:41:55 +01:00
wmayer
4a0720dd00 cleanup experimental code, improve whitespaces 2017-02-12 14:41:55 +01:00
wmayer
9da4da0ecd get VBO support for SoBrepFaceSet working on Windows 2017-02-12 14:41:55 +01:00
Jean-Marie Verdun
44af3629db 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
bc6b3914cb Part: Set per-face transparency in boolean ops - fixes #1029,#2806 2017-02-10 21:53:57 -02:00
Alexander Gryson
3ed4fb86a2 Update Metadata 2017-02-07 10:50:00 -02:00
Alexander Gryson
1519aa69aa Align Part workbench icons to guidelines 2017-02-07 10:50:00 -02:00
brawaga
933ff7e764 Update Part_ru.ts
Added translations, corrected some existed for grammar, syntax or style.
2017-01-07 23:55:55 +08:00
wmayer
18738afc1e replace Qt keyword slots with Q_SLOTS 2017-01-05 14:27:19 +01:00
Yorik van Havre
49c8d65bfe updated ts files 2016-12-26 12:36:24 -02:00