Lukáš Hejl
894850f868
Reworked visualization of selected triangles by seed fill and bucket fill inside the multi-material painting gizmo. Now is drawn boundary around a selected area, and also all triangles inside the selected area are drawn with a darker color.
2021-08-10 21:38:48 +02:00
Lukáš Hejl
293da2ca9a
OSX specific: Fixed darker colors of objects inside multi-material gizmo on macOS running on Arm64 CPU.
...
For Apple's on Arm CPU computed triangle normals inside fragment shader using dFdx and dFdy has the opposite direction. Because of this, objects had darker colors inside the multi-material gizmo.
Based on https://stackoverflow.com/a/66206648 , the similar behavior was also spotted on some other devices with Arm CPU.
2021-08-02 14:59:03 +02:00
enricoturri1966
bc68e06292
Revert of b140709fa8 and new implementation of fixing picking for sinking objects
2021-07-21 11:56:39 +02:00
enricoturri1966
f36a10b689
ENABLE_ALLOW_NEGATIVE_Z -> Fixed picking of sinking object
2021-07-20 11:02:04 +02:00
Vojtech Bubnik
9f71626a0a
1) Shader manager: Allow to override #defines programatically
...
when loading a shader file.
2) Conditional compilation of environmental mapping in gouraud.fs
using 1)
2020-12-10 13:20:25 +01:00
enricoturri1966
8fd394acc2
GCodeViewer -> 1st iteration of rendering of extrude toolpaths as solid
2020-08-26 15:29:33 +02:00
enricoturri1966
d4d4bafc8f
Renamed shaders
2020-08-25 08:12:28 +02:00
enricoturri1966
7977d769ce
ENABLE_GCODE_VIEWER -> Removed options_120_solid shader
2020-08-19 11:25:12 +02:00
enricoturri1966
32e5d73a53
GCodeViewer -> Added imgui dialog for estimated printing times
2020-07-08 13:33:50 +02:00
enricoturri1966
3235d89927
GCodeViewer -> Pass vertex normal to shaders for toolpaths
2020-06-29 14:00:08 +02:00
enricoturri1966
6a1d3787e5
GCodeViewer -> Newer version of shader for options
2020-05-27 16:19:40 +02:00
enricoturri1966
1eb6ec97ed
ENABLE_SHADERS_MANAGER set as default
2020-05-22 16:08:02 +02:00
enricoturri1966
3ad1b66c94
GCodeViewer -> New shaders for options
2020-05-22 13:21:43 +02:00
enricoturri1966
a2459bbc52
ENABLE_SHADERS_MANAGER -> Small refactoring
2020-05-21 12:13:24 +02:00
enricoturri1966
a9b2773724
Fixed typo
2020-05-21 10:27:41 +02:00
enricoturri1966
3f675370fc
ENABLE_SHADERS_MANAGER -> Unified client code of new GLShadersManager and GLShaderProgram classes
2020-05-21 10:15:00 +02:00
enricoturri1966
4194c347ab
First installment of tech ENABLE_SHADERS_MANAGER, using class GLShadersManager as a central point to manage OpenGL shaders
2020-05-20 14:11:22 +02:00