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 light, zoom and camera controls to Model3D #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

hannahblair
Copy link

@hannahblair hannahblair commented Sep 25, 2023

Screenshot 2023-09-25 at 14 53 09 Screenshot 2023-09-25 at 15 06 56

Notes:

  • the gradio-component create command didn't work seamlessly with Model3D; I had to npm install babylonjs, and tweak the import syntax from import * as BABYLON from 'babylonjs' to import BABYLON from 'babylonjs'
  • testing this has also raised the issue around our current Model3D - it doesn't seem to support files up until a certain size. haven't properly debugged this yet though
  • uploading files isn't working, so I hardcoded the value to Duck.glb in the frontend dir

shiny3dmodel/demo/app.py Outdated Show resolved Hide resolved
@hannahblair hannahblair changed the title Add light, zoom and camera controls Add light, zoom and camera controls to Model3D Sep 25, 2023
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.

None yet

1 participant