Preparation of the environment – Global variables Let’s start by creating some global variables : wavespeed – Speed of the waves wavewidth – Width of […]
Continue readingTag: threejs
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 readingChapter 6 – Sprites and Particles in Three.JS
Introduction The Three.js Sprite class consists of a 2D surface always facing the camera, usually with a partially transparent texture.Note that Sprite type objects cannot […]
Continue readingChapter 1 – The Basic Concepts of Three.js
Are you ready to start our 3D adventure ? This first chapter details the basic concepts used in a Three.js project ! This simplified diagram […]
Continue readingThree.js : Introduction
What is Three.js ? Three.js is a JavaScript library created by Ricardo Cabello in 2010. Nowadays, many contributors help daily to develop it on Github. […]
Continue reading