Setup three.js
This commit is contained in:
parent
2105d05749
commit
f0fece522d
7 changed files with 201 additions and 36 deletions
12
TODO.md
12
TODO.md
|
|
@ -28,12 +28,12 @@ A step-by-step checklist for porting MatterControl's design features to a Vue +
|
|||
## Phase 2: 3D Viewport Foundation
|
||||
|
||||
### three.js Setup
|
||||
- [ ] Install three.js and `@types/three`
|
||||
- [ ] Create `Viewport.vue` component with canvas element
|
||||
- [ ] Initialize three.js Scene, Camera, and Renderer
|
||||
- [ ] Add resize observer for responsive canvas
|
||||
- [ ] Implement render loop with `requestAnimationFrame`
|
||||
- [ ] Add basic lighting (ambient + two directional)
|
||||
- [x] Install three.js and `@types/three`
|
||||
- [x] Create `Viewport.vue` component with canvas element
|
||||
- [x] Initialize three.js Scene, Camera, and Renderer
|
||||
- [x] Add resize observer for responsive canvas
|
||||
- [x] Implement render loop with `requestAnimationFrame`
|
||||
- [x] Add basic lighting (ambient + two directional)
|
||||
|
||||
### Scene Helpers
|
||||
- [ ] Add ground grid helper (XZ plane)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue