SceneJS Quick Start
SceneJS is an extensible WebGL-based engine for doing high-performance 3D visualisation in the browser
without using plugins.
Let’s start easy, with an example that shows the essential concepts of this engine.
We’re going to render this spinning Utah teapot:
Download and unzip SceneJS and plugins
Download and unzip the SceneJS ZIP archive. Then we’ll have these files:
We have the SceneJS library, the SceneJS plugins bundle, and an example HTML page which renders our teapot.
Now let’s look at the essential bits of that
Link to the SceneJS library
Within the <head> tag of the page, we link to the SceneJS library:
Point SceneJS to the plugins
Within the <script> tag, the first thing we do is configure SceneJS to find those plugins:
Create a scene
Then we go wild and create our spinning blue teapot:
Spin the teapot
Finally, we start the teapot spinning:
Replace the teapot
Scenes can be built incrementally. Let’s add another teapot