wmayer
c582b069ba
fix compiler warnings with py3 and msvc
2018-04-16 18:24:53 +02:00
wmayer
57128dd7ad
fix -Wsign-compare
2017-06-19 12:50:55 +02:00
Jean-Marie Verdun
d940bdc89e
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
e02db451dd
fix crash when Part model changes with VBO activated
2017-05-16 06:03:22 +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
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
wmayer
b1347ec12b
support of highlighting and selection if shading is disabled
2017-03-06 09:29:26 +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
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
Stefan Tröger
f357e045de
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
7d0e892d36
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
6111f55a89
+ correctly handle toggle selection in BRep shape nodes
2015-11-28 16:21:20 +01:00
wmayer
70d86ce907
+ add security checks to SoBrep nodes
2015-10-07 23:08:03 +02:00
wwmayer
e7441149f0
+ fix many minor warnings, activate -Wall for gcc
2015-08-02 22:32:18 +02:00
wmayer
351ad4f6c7
+ fixes #0001363 : VRML export can produce corrupt files
2014-12-02 15:40:36 +01:00
wmayer
8e6bd39857
+ Split SoBrepShape into three files
2013-11-09 13:16:42 +01:00
wmayer
d14d5cb2e4
#0001093 : Improvements for Brep Inventor nodes (disabled atm)
2013-06-15 23:07:26 +02:00