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

Feature: varying spacing on a structured volume #542

Open
paulmelis opened this issue Oct 24, 2022 · 1 comment
Open

Feature: varying spacing on a structured volume #542

paulmelis opened this issue Oct 24, 2022 · 1 comment
Labels

Comments

@paulmelis
Copy link

paulmelis commented Oct 24, 2022

I've had a few cases where I wanted to visualize volume data that's on a cartesian grid, but with non-uniform spacing per axis. I.e. the spacing is specified using an array per axis, giving the location of the coordinate planes for that axis.

In order to render in OSPRay I've so far either resampled such a volume to a uniform grid (not very attractive, due to extra preprocessing and storage requirements, plus loss of volume precision), or by setting up an unstructured hexahedral volume in OSPRay matching the spacing (which vastly grows the memory requirements). I was wondering if support for rendering such a non-uniform grid could be added, without doing either of those work-arounds?

@johguenther
Copy link
Contributor

An additional workaround to what you already described could be resampling to VDB or AMR volumes, which is would be accurate and less wasteful with memory than resampling to a uniform grid. Yet I agree, the best way is that we natively support rectilinear grids in OSPRay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants