TypeScript port of the original Depth Player project.
Built with modern Three.js and TypeScript for better performance and maintainability.
The application automatically loads default images and creates a 3D model on startup. You can also upload your own reference image and depth image (white is near and black is far) and create a new model by clicking the "Create model" button.
Controls:
Auto-reset: Camera resets to starting position after 3 seconds of mouse inactivity or 3 seconds after mouse leaves window.
Debug Mode: Press TAB to show transform controls. Yellow cube = center marker, Yellow wireframe sphere = directional light. Use T/R keys to switch between translate/rotate modes for the light.
Loading...
Loading...
You'll have to recreate the model (by clicking on the "Create model" button) for the changes to be effective.