Scroll Along Spline Path in ThreeJS

Опубликовано: 22 Октябрь 2024
на канале: Class Outside
2,758
88

A spline, curve, or path can be useful to describe a track for a camera or object to follow. After setting up a spline in ThreeJS, an object can be positioned along that spline and moved across it over time as the mouse wheel is scrolled.

Project:
Camera_Follow_Curve_ThreeJS Github: https://github.com/ClassOutside/Three...

Downloads:
Blender default download: https://www.blender.org/download/
Blender 3.4 download: https://download.blender.org/release/...
Visual Studio Code: https://code.visualstudio.com/download
Blender Path to ThreeJS Project: https://github.com/ClassOutside/Blend...
Export Vertices to JSON Blender Add-on: https://github.com/ClassOutside/Expor...

Tutorials:
Create and Install Blender Add-ons:    • Create and Install Blender Add-ons  
Set up a local server with NodeJS and ExpressJS:    • Set Up a Local Server and Connect Fro...  
Import Blender Scene To Three JS:    • Import Blender Scene To Three JS - Us...  
Bundle with Webpack:    • Serve Only The Files You Need With We...  
Automate Bundling and Restarting The Server Using Webpack And Nodemon:    • Automate Bundling and Restarting The ...  

Tools:
-ThreeJS online editor: https://threejs.org/editor/

Media Used:
Restaraunt Model: "Resto ni Teo" (https://skfb.ly/oF7zL) by LowPolyBoy is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/b....
Rollercoaster image by OpenClipart-Vectors: https://pixabay.com/vectors/roller-co...
"1930's Movie Camera" (https://skfb.ly/6SKrW) by Daz is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/b....