Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish voxel sandcastles #11909

Merged
merged 4 commits into from
Apr 1, 2024
Merged

Publish voxel sandcastles #11909

merged 4 commits into from
Apr 1, 2024

Conversation

jjhembd
Copy link
Contributor

@jjhembd jjhembd commented Mar 29, 2024

Description

This PR moves the two voxel-related Sandcastles from the /development subfolder into the main /gallery. These Sandcastles will now appear on sandcastle.cesium.com for easier testing and linking from documentation.

Along the way, some of the Sandcastle code was cleaned up to remove dead code and use more concise syntax.

The relevant Sandcastles are:
Voxels.html. This CustomShader was updated to render with transparency, to highlight our support of that feature.
image

VoxelPicking.html. This one renders the voxels fully opaque and demonstrates the lighting capabilities added in #11875.
image

Issue number and link

Resolves #11886.

Testing plan

Load the Voxels and Voxel Picking Sandcastles and verify that the different shapes and input data types are rendered correctly, and that Voxel Picking works, as described in #11828.

Author checklist

  • I have submitted a Contributor License Agreement
  • I have added my name to CONTRIBUTORS.md
  • I have updated CHANGES.md with a short summary of my change
  • I have added or updated unit tests to ensure consistent code coverage
  • I have update the inline documentation, and included code examples where relevant
  • I have performed a self-review of my code

Copy link

Thank you for the pull request, @jjhembd!

✅ We can confirm we have a CLA on file for you.

@jjhembd jjhembd marked this pull request as ready for review March 30, 2024 02:07
@jjhembd jjhembd requested a review from jjspace March 30, 2024 02:07
@jjspace
Copy link
Contributor

jjspace commented Apr 1, 2024

I spotted some warnings in the picking example but I can't reproduce... Might've been a weird one-off but figured I'd comment it
2024-04-01_10-56

Copy link
Contributor

@jjspace jjspace left a comment

Choose a reason for hiding this comment

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

As far as I can tell the code looks fine and the sandcastles behave as expected apart from the weird bug above that I haven't been able to reproduce.
Given that I don't know the voxel code as well I'd be more confident with a review from @ggetz too given it's release day. Gabby did you wanna merge the change from your comment above?

@ggetz
Copy link
Contributor

ggetz commented Apr 1, 2024

This is looking good to me! Thanks @jjhembd, and thanks @jjspace!

@ggetz ggetz merged commit d9d3618 into main Apr 1, 2024
9 checks passed
@ggetz ggetz deleted the voxel-sandcastles branch April 1, 2024 15:53
@jjspace jjspace mentioned this pull request Apr 5, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sandcastle example for voxel rendering
3 participants