~/talk

From Blender to the Web

Talkat CityJS Athens 2022 · 2022-05-25..05-27· [webxr, creative-coding]
slides:none on file

Brings a Blender model into a web React app, exporting export glTF with Draco compression and loading it as a component. Uses react-three-fiber + drei + three.js inside a Canvas, adds ambient and spotlight, enables shadows (noting their heavy cost), and animates with useFrame: a sine-wave bob for Y and small rotations, plus a lerp-based lookAt to follow the mouse. Live code demo runs with minor hiccups but the model renders, lights, shadows and animation all work.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:53Why Blender and 3D
  3. 3:19Blender interface overview
  4. 5:47Render engines in Blender
  5. 7:11Exporting to GLTF format
  6. 8:35Converting GLTF to React component
  7. 10:01Setting up React and dependencies
  8. 11:05Displaying the 3D model in React
  9. 12:08Adding lights to the scene
  10. 13:53Enabling shadows in 3D
  11. 14:56Using a stage for lighting
  12. 15:40Basic animation with useFrame
  13. 18:50Sine wave animation for movement
  14. 20:35Rotating the model
  15. 22:01Making the model follow the mouse
  16. 23:44Final adjustments and scaling
  17. 24:25Conclusion and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.