Preparation of the environment – Global variables Let’s start by creating some global variables : wavespeed – Speed of the waves wavewidth – Width of […]
Continue readingCategory: Tips and Miscellaneous
Export a 3D model from Blender to Three.js – OBJ + MTL format
When creating our Three.js scene, we can natively generate basic 3D objects such as cubes.But, it is also possible to include 3D models created with […]
Continue readingSatellite : Placing a 3D object into Orbit around a Target
Orbiting around a fixed axis Creating the 3D object For starters, let’s create a simple 3D object in our scene. In this example, a sphere. […]
Continue readingControlling the Camera with OrbitControls
A newer version of this article is available ! In a 3D application, implementing camera control is an essential step to provide interactive and intuitive […]
Continue readingCreating shadows with Three.js
To create shadows in Three.js, we need a few things : A rendering engine capable of creating shadows An appropriate lighting A 3D object capable […]
Continue reading