Commit Graph

19 Commits

Author SHA1 Message Date
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
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
Stefan Tröger
19344f7f01 fix blocking datum plane
BrepFaceSet implementation was faulty, if normal cache locks have been aquired they need to be released
2016-04-12 18:12:04 +02:00
Mateusz Skowroński
6942c23895 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
wmayer
96611d0a71 + correctly handle toggle selection in BRep shape nodes 2015-11-28 16:21:20 +01:00
wmayer
5b08fa453b + add security checks to SoBrep nodes 2015-10-07 23:08:03 +02:00
wwmayer
6bf065c097 + fix many minor warnings, activate -Wall for gcc 2015-08-02 22:32:18 +02:00
wmayer
00d92f7646 + fixes #0001363: VRML export can produce corrupt files 2014-12-02 15:40:36 +01:00
wmayer
2ca282b0c5 + Split SoBrepShape into three files 2013-11-09 13:16:42 +01:00
wmayer
97d6d8c38c #0001093: Improvements for Brep Inventor nodes (disabled atm) 2013-06-15 23:07:26 +02:00