Skip to content

support visible parameter on volume and surface objects#338

Merged
jeffamstutz merged 1 commit intoKhronosGroup:next_releasefrom
jeffamstutz:helide_surface_volume_visibility
Feb 26, 2026
Merged

support visible parameter on volume and surface objects#338
jeffamstutz merged 1 commit intoKhronosGroup:next_releasefrom
jeffamstutz:helide_surface_volume_visibility

Conversation

@jeffamstutz
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings February 26, 2026 15:32
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a visible parameter to helide Surface and Volume objects so applications can toggle whether they participate in rendering (surface Embree BLS build / volume ray intersection).

Changes:

  • Add visible parameter plumbing to helide::Surface and helide::Volume (defaulting to true).
  • Skip invisible volumes during Group::intersectVolumes().
  • Skip invisible surfaces when constructing a Group’s Embree scene (BLS).

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/devices/helide/world/Group.cpp Uses isVisible() to filter surfaces/volumes during scene construction and volume intersection.
src/devices/helide/volume/Volume.h Adds isVisible() API and m_visible state.
src/devices/helide/volume/Volume.cpp Commits visible parameter and implements isVisible().
src/devices/helide/surface/Surface.h Adds isVisible() API and m_visible state.
src/devices/helide/surface/Surface.cpp Commits visible parameter and implements isVisible().

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jeffamstutz jeffamstutz force-pushed the helide_surface_volume_visibility branch from 95eb973 to 5dd4ecf Compare February 26, 2026 15:40
@jeffamstutz jeffamstutz force-pushed the helide_surface_volume_visibility branch from 5dd4ecf to 6a8b199 Compare February 26, 2026 15:41
@jeffamstutz jeffamstutz merged commit 8ba1860 into KhronosGroup:next_release Feb 26, 2026
8 checks passed
@jeffamstutz jeffamstutz deleted the helide_surface_volume_visibility branch February 26, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants