13 Commits

Author SHA1 Message Date
Remco Burema
c89b708525 Make grid-translucency depend on if machine has texture on BP.
part of CURA-12188
2024-11-05 20:44:25 +01:00
Remco Burema
0473d789ba Make the build-plate-grid render mostly opaque.
Some printers looked a bit weird with the previous value. Just completely remove the two altered lines if it's still not OK though.

part of CURA-12188
2024-10-24 11:27:07 +02:00
Remco Burema
32369e39e3 Fix z-fighting between build-plate-grid and printer-model.
Since both of them where a different render type (solid versus transparent) the sorting didn't work. Make them both transparent. (Though no changes where made there, see also UM/Scene/Platform -- which is not to be confused with UM/Platform.)

should fix CURA-12188
2024-10-24 09:48:36 +02:00
Remco Burema
ed6db6c9b0 Move multiplication from Python to shaders. (Needs the same-named Uranium branch.) 2019-04-19 16:58:38 +02:00
Jörg Walter
fa81ebeece GLES shader fixes 2018-03-29 21:07:51 +02:00
daid
1313e01f04 Fix the OpenGL shader for older (legacy?) OpenGL. As the grid shader was no longer working. 2017-10-06 15:44:10 +02:00
fieldOfView
4c9028b3d0 Remove z-fighting kludge
This was actually introducing z-fighting artefacts with the new shader and no added geometry.
2017-09-12 15:06:06 +02:00
fieldOfView
6658e1a9ae Draw grid lines using shader 2017-09-11 23:41:10 +02:00
fieldOfView
a4aa134f25 Revert "Merge branch 'feature_grid_lines'"
This reverts commit a0b7a2d165d4f973c69bf5fc7314726f19eeeb65, reversing
changes made to db640c6f3d7b32b4c387268e8ebeb0d4de1b461a.

# Conflicts:
#	cura/BuildVolume.py
2017-09-11 22:43:55 +02:00
Ghostkeeper
585b6ad8eb
Remove superfluous grid shader
The grid shader is now exactly equal to the colour shader, so let's just use the colour shader.

Contributes to issue CURA-4150.
2017-08-17 15:25:27 +02:00
Ghostkeeper
484740f2ff
Remove grid pattern
It'll be replaced by grid lines instead of grid surfaces.

Contributes to issue CURA-4150.
2017-08-16 13:26:17 +02:00
Jack Ha
e31a695061 WIP OpenGL 4.1 core profile. CURA-3273 2017-01-31 17:05:00 +01:00
Arjen Hiemstra
7395f37efe Update BuildVolume and ConvexHullNode to use new API 2015-12-14 13:56:32 +01:00