Skip to content

Tree components #204

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
wants to merge 9 commits into
base: dev
Choose a base branch
from
Open

Tree components #204

wants to merge 9 commits into from

Conversation

AlbertoCasasOrtiz
Copy link
Collaborator

@AlbertoCasasOrtiz AlbertoCasasOrtiz commented Jul 1, 2025

Implemented:

Note: I had to remove the "Bounds" Component around OpenSimScene as it was causing problems. This makes the viewer start too far away from the scene, so we have to zoom in. We need a solution for this.

@aymanhab
Copy link
Member

aymanhab commented Jul 1, 2025

Thanks @AlbertoCasasOrtiz The tree looks good. I'm trying to figure out how to avoid the view totally zoomed out on loading a model from the gallery, is there a specific hook or function that you call to adjust the default camera on loading?

@aymanhab
Copy link
Member

aymanhab commented Jul 1, 2025

@AlbertoCasasOrtiz I started a document describing the layout of the scene. Basically when using the GUI (using my own component that pulls from the viewer and communicates with the GUI) I create groups as shown here

<group name='OpenSimEnvironment' ref={envRef}>

At the end of loading I adjust the camera to fit to the models group. I started a google doc to discuss/refine this design so we're on the same page and shared it with you

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