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

add a way for let the user au center and size the camera on the sdf. #23

Open
aiekick opened this issue Jul 30, 2024 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@aiekick
Copy link
Owner

aiekick commented Jul 30, 2024

maybe a code to add by the user like with space3d.

can be used only if this is the camera who control the rendering of the sdf (so using space3d)

a renderpack for render the sdf in a shader with an estimate of the min/max distance to cam of the sdf, at any points in grids of the sreen.

with these infos we can get the center of the visible sdf, and then with perspective angle, we can tune the camera pos for engloble the sdf in screen

@aiekick aiekick added the enhancement New feature or request label Jul 30, 2024
@aiekick aiekick self-assigned this Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant