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

Enhancement: Selective block rendering #14

Open
ConnorBP opened this issue Nov 8, 2024 · 0 comments
Open

Enhancement: Selective block rendering #14

ConnorBP opened this issue Nov 8, 2024 · 0 comments

Comments

@ConnorBP
Copy link
Contributor

ConnorBP commented Nov 8, 2024

Use case:

I have structures of defined block types that I want to create renderings of without occlusion by other world blocks.

For this purpose I think it would be convenient if there was some way of selecting which blocks to render on.

One way of achieving this might be an optional "blocktype whitelist", which if set, would have the renderer first check a blocks material for inclusion in this list before continuing the render.

Another option would be to allow an override of the blocks to check against by either passing of a list of blocks with positions or through a callback function to override the hit-check function.

I think having this kind of interface would make for a nice flexible and multi-purpose block rendering tool. This type of direction could even enable some additional optimization if you pass a bounding box where it could quickly check for ray intersection with that box before testing blocks.

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

No branches or pull requests

1 participant