Commit Graph

58 Commits

Author SHA1 Message Date
wmayer
450e409c9b code cleanup 2018-01-13 21:57:14 +01:00
luzpaz
5973d8d67e Part: typos 2017-12-25 11:03:11 +01:00
wmayer
c83664b159 increase minimum deviation for tessellation to avoid to freeze the GUI 2017-10-18 10:40:02 +02:00
luzpaz
f3bf8fe919 Misc. typos
+ some are doxy others are just comment code.  
+ some minor whitespace and grammatical tweaks. 
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
wmayer
11b187309b fix crash when Part model changes with VBO activated 2017-05-16 19:30:13 +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
wmayer
4866d3595f fix material binding of indexed lineset when highlighting an edge 2017-04-17 19:02:11 +02: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
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
wmayer
e85aa31d76 use indexed map to avoid iterating a face twice in case of a compsolid 2016-11-17 15:40:22 +01:00
wmayer
7d38edb065 fix -Wextra in Part 2016-09-22 11:49:28 +02:00
Yorik van Havre
bacb0867dd Do not get transparency from DiffuseColor if not set per face - fixes #2675 2016-08-16 23:45:17 -03:00
Yorik van Havre
407475b513 Part: Enabled per-face transparency 2016-07-07 12:46:25 -03:00
wmayer
cb73d010bb + port to OCC 7.0 2016-05-14 16:53:27 +02:00
wmayer
dc12e8b72b + methods to highlight points, edges or faces of a shape 2016-05-09 23:48:30 +02:00
wmayer
a1cccbc449 + issue #0002525: Line color of shapes are always black 2016-05-06 13:57:13 +02:00
wmayer
6380881b58 + fix warnings:
-Wsign-compare, -Wunused-variable, -Wunused-function, -Wswitch
+ fix Qt issues
2016-04-13 14:26:38 +02:00
Stefan Tröger
4f0f1449eb Part: Recalculate tessellation when requested 2016-04-12 18:12:23 +02:00
Stefan Tröger
628a0279cd visualize the primitive add/sub shape in edit 2016-04-12 18:12:07 +02:00
jriegel
91cddd2a91 small warning fix 2016-04-12 18:12:03 +02:00
Jan Rheinländer
80329d3c75 Reference highlighting for fillets and chamfers 2016-04-12 18:12:00 +02:00
wmayer
8284ecc8e8 + clear highlighting when re-creating shape 2015-10-06 00:19:43 +02:00
wmayer
f11160a75e + fix whitespace, fix notification of changed property in view provider 2015-09-13 18:46:06 +02:00
wmayer
dcda84c00e + re-insert removed line 2015-08-03 10:53:36 +02:00
wwmayer
6bf065c097 + fix many minor warnings, activate -Wall for gcc 2015-08-02 22:32:18 +02:00
Sebastian Hoogen
7cc178adf5 add angularDeflection property to ViewProvider
issue #1868
2015-03-21 19:27:43 +01:00
Stefan Tröger
7a33e812ee implement correct vertex normals
- use mesh vertices uv value to get correct normals from face
- remove unused normal and shading options for parts
2015-02-28 15:09:38 +01:00
wmayer
2698f9bc60 + fixes #0001736: Parts with multiple colors are displayed in a single bad color after hiding 2014-12-04 14:36:43 +01:00
wmayer
bcd5e9d206 + fixes #0001779: memory leak 2014-10-16 18:57:53 +02:00
wmayer
a50743041b + fix -Wnull-conversion, -Woverloaded-virtual, -Wlogical-not-parentheses, -Wsometimes-uninitialized 2014-08-26 19:14:13 +02:00
Sebastian Hoogen
29ea3d1a14 remove all references to BRepMesh 2014-07-18 10:43:16 +02:00
wmayer
57d257d87e + include missing header file 2014-07-15 10:27:02 +02:00
wmayer
abe46d5ce7 + do meshing of shapes in parallel 2014-04-01 16:38:44 +02:00
wmayer
5b2039aadd + make sure to keep the same order of lines inside a line set as the edge order 2014-03-18 11:11:08 +01:00
wmayer
6a066553e4 + use more speaking variable names 2014-03-18 10:59:20 +01:00
wmayer
6317190686 + use more speaking variable names 2014-03-18 08:15:21 +01:00
wmayer
ac93eae55b + Return an emtpy array if something fails inside getPickedPoints() 2013-11-22 10:18:14 +01:00
wmayer
10a8c462b8 + Get exact point on data model when picking in 3d view 2013-11-21 12:50:49 +01:00
wmayer
2ca282b0c5 + Split SoBrepShape into three files 2013-11-09 13:16:42 +01:00
wmayer
3cd69c46d4 + Special view provider to display splines 2013-10-22 17:56:24 +02:00
jriegel
00ea24e07e Integrate Werners & Jans double branch
Move from float to double
Further suggestions for float -> double move
Moved Tools2D from float to double
More suggestions for float->double move from Gui subdirectory
Changes to FEM constraint visuals for float->double move
Suggested changes for float -> double move
Suggestions for Part module moving float -> double
2013-09-24 11:00:57 +02:00
wmayer
700359fddb 0001025: wireframe mode should include vertices in display 2013-07-01 14:00:55 +02:00
wmayer
97d6d8c38c #0001093: Improvements for Brep Inventor nodes (disabled atm) 2013-06-15 23:07:26 +02:00
jriegel
adada37807 remove some loging for release 2012-12-20 22:23:08 +01:00
wmayer
851e999eac 0000545: Undo revolve causes crash illegal storage, fix disappearing shape after undo/redo 2012-09-21 13:05:37 +02:00
wmayer
00284beb71 0000833: Color-per-face info lost when you set transparency 2012-09-14 14:01:24 +02:00