Skip to content

Commit

Permalink
Increase axis limits in raytracing mesh example for better visualization
Browse files Browse the repository at this point in the history
  • Loading branch information
dominic-chang committed Feb 11, 2025
1 parent 5512d8d commit 147b88c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/raytracing-mesh-example.jl
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ ax3 = GLMk.Axis3(fig[2, 1], aspect = (1, 1, 1), title = "Isometric view of scene
ax = GLMk.Axis(fig[2, 2], aspect = 1, title = "Heatmap of ray intersections with mesh")

for a in [ax1, ax2, ax3]
GLMk.xlims!(a, (-10, 10))
GLMk.ylims!(a, (-10, 10))
GLMk.zlims!(a, (-10, 10))
GLMk.xlims!(a, (-20, 20))
GLMk.ylims!(a, (-20, 20))
GLMk.zlims!(a, (-20, 20))
GLMk.hidedecorations!(a)
end

Expand Down

4 comments on commit 147b88c

@dominic-chang
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release notes:

What's new?

  • Add AbstractLevelSetGeometry type that allows the definition of level set surfaces for raytracing.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/124944

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.4.0 -m "<description of version>" 147b88c14094acea7d68ed8daaf0f1ea7771ce62
git push origin v0.4.0

@dominic-chang
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release notes:

Breaking changes

  • Added returnTraits for raytracing to dispatch off. The return traits decide the resulting product that raytrace returns.

What's new?

  • Add AbstractLevelSetGeometry type that allows the definition of level set surfaces for raytracing.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/124944

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.4.0 -m "<description of version>" 147b88c14094acea7d68ed8daaf0f1ea7771ce62
git push origin v0.4.0

Please sign in to comment.