Skip to content

Custom geometry for acceleration structures #7701

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

Open
gavrix32 opened this issue May 19, 2025 · 4 comments
Open

Custom geometry for acceleration structures #7701

gavrix32 opened this issue May 19, 2025 · 4 comments
Labels
feature: raytracing Issues with the Ray Tracing Native Feature type: enhancement New feature or request

Comments

@gavrix32
Copy link

I would really like to use acceleration structure for my custom AABB geometry (I am writing a voxel engine). Is it possible now? If not, I would like to know when this feature will appear.

@Wumpf
Copy link
Member

Wumpf commented May 19, 2025

it's not implemented yet and listed as part of the tracking issue:

Raytracing is an experimental feature that's still under development.
Keeping this open and linking on the tracking issue instead.

@Wumpf Wumpf added type: enhancement New feature or request feature: raytracing Issues with the Ray Tracing Native Feature labels May 19, 2025
@Vecvec
Copy link
Collaborator

Vecvec commented May 19, 2025

I think @Jaisiero had an implementation working (#1040 (comment)).

@Jaisiero
Copy link

I think @Jaisiero had an implementation working (#1040 (comment)).

Unfortunately it's not fully functional since procedural ray query is pretty involved (Niagara support?), so you need to iterate through your AS until you accept whatever you feel like it's a hit. Here's a code from Khronos fully testing:
rayQuery-allOps

@Vecvec
Copy link
Collaborator

Vecvec commented May 20, 2025

procedural ray query is pretty involved (Niagara support?

Naga support was added in #7047 (if that's what you're asking about).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: raytracing Issues with the Ray Tracing Native Feature type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants