Skip to content

Commit

Permalink
test depthsorting too
Browse files Browse the repository at this point in the history
  • Loading branch information
ffreyer committed Dec 18, 2023
1 parent 64d68b4 commit 7246d78
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions GLMakie/test/glmakie_refimages.jl
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,15 @@ end
scatter!(scene, xs, ys, zs, color = :blue, markersize = 40, fxaa = false)
ys = fill(130, length(xs))
scatter!(scene, xs, ys, zs, color = :blue, markersize = 40, fxaa = true)
ys = fill(90, length(xs))
scatter!(scene, xs, ys, zs, color = :blue, markersize = 40, depthsorting = true)

# lines/linesegments shader
xs = 20:10:270
ys = [70 + shift for _ in 1:13 for shift in (-10, 10)]
ys = [50 + shift for _ in 1:13 for shift in (-10, 10)]
zs = range(3, 1, length=length(xs))
lines!(scene, xs, ys, zs, color = :blue, linewidth = 4, fxaa = false)
ys = [30 + shift for _ in 1:13 for shift in (-10, 10)]
ys = [20 + shift for _ in 1:13 for shift in (-10, 10)]
lines!(scene, xs, ys, zs, color = :blue, linewidth = 4, fxaa = true)

# create some harder contrasts
Expand Down

0 comments on commit 7246d78

Please sign in to comment.