Alvaro Saburido
TresJS a new declarative ThreeJS as Vue components
#1about 3 minutes
Introducing TresJS for declarative 3D in Vue
TresJS allows you to build complex Three.js scenes declaratively using standard Vue components and composables.
#2about 4 minutes
Motivation for a modern Three.js library for Vue
Existing Vue wrappers for Three.js struggle with updates, inspiring a new library similar to React Three Fiber but without a custom renderer.
#3about 4 minutes
Getting started with the TresCanvas and basic scene setup
Install TresJS as a plugin and use the TresCanvas component as the root for your 3D scene, which handles the renderer and camera setup.
#4about 5 minutes
Creating 3D objects with auto-generated components
TresJS automatically generates components from Three.js constructors, allowing you to compose objects by nesting geometry and material components.
#5about 4 minutes
Animating objects using the onLoop composable
Use template refs to get the Three.js instance and the `onLoop` composable to animate object properties on every frame.
#6about 2 minutes
Extending TresJS with non-core Three.js modules
Use the `extend` method from the `useCatalog` composable to add components for Three.js modules that are not part of the core library, like OrbitControls.
#7about 4 minutes
Applying materials and textures to objects
Enhance object appearance by using different material components and loading complex PBR textures with the `useTexture` composable.
#8about 5 minutes
Implementing realistic lighting and shadows in a scene
Add various light types like ambient and directional lights, and enable shadows by setting properties on the canvas, lights, and objects.
#9about 3 minutes
Configuring the environment and handling pointer events
Fine-tune the rendering environment with canvas props and handle user interactions like clicks and hovers using built-in pointer events.
#10about 6 minutes
Introducing Cientos for loading models and other utilities
The Cientos package provides helpful abstractions and components for common tasks like loading GLTF models, adding controls, and debugging.
#11about 4 minutes
Exploring the TresJS ecosystem and future roadmap
TresJS is designed as an ecosystem with packages for core functionality, utilities, performance, and post-processing, with a roadmap including HMR improvements and a Nuxt module.
#12about 3 minutes
How to contribute and get involved with the community
Support the project by sharing your work, contributing code, joining the Discord community, or providing sponsorship.
#13about 10 minutes
Answering community questions about TresJS
Topics covered include tree-shaking, script setup usage, custom shaders, and compatibility with Nuxt 3.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
02:29 MIN
The motivation behind Nuxt 3 and the UnJS ecosystem
Modern Web Development with Nuxt3
01:26 MIN
Rethinking frameworks with Nuxt, Nitro, and UnJS
Building for the Edge - Crafting a Next-Gen Framework
23:37 MIN
Enhancing the developer experience with modern tooling
Modern Web Development with Nuxt3
03:41 MIN
Exploring the core technologies behind Vue 3 reactivity
Under The Hood of Vue 3 Reactivity
32:03 MIN
Using web components in Angular, Vue, and React
Extending HTML with Web Components
00:02 MIN
Understanding the Nuxt 2 foundation and its benefits
Modern Web Development with Nuxt3
21:17 MIN
Extending functionality with the Nuxt module ecosystem
Modern Web Development with Nuxt3
1:04:01 MIN
Exploring modern tools for web interaction and analysis
WeAreDevelopers LIVE - the weekly developer show with Chris Heilmann and Daniel Cranney
Featured Partners
Related Videos
Building Better with Nuxt 3
Daniel Roe
Vuejs and TypeScript- Working Together like Peanut Butter and Jelly
Rob Richardson
petite-vue - Progressively enhancing every application?
Alexander Lichter
Under The Hood Of Vue 3 Reactivity
Marc Backes
Under The Hood of Vue 3 Reactivity
Marc Backes
Vue3 practical development
Mikhail Kuznetcov
TDD for Vue.js Developers
Markus Oberlehner
Fast & Furious - Going headless with Nuxt.js!
Samuel Snopko
From learning to earning
Jobs that call for the skills explored in this talk.


Fullstack Developer (.NET + Vue.js)
Antal International
Municipality of Madrid, Spain
API
GIT
.NET
REST
Azure
+6
Développeur·se Full Stack (WordPress & Vue.js)
EcloLINK
Canton of Dijon-2, France
Remote
€22K
Intermediate
PHP
CSS
DNS
+12


