Loading a 3D Model with ThreeJS - 1
In this example you can see how 3D model can be loaded to WebGL using ThreeJS library. A low polygon model of a Motor Cycle is used here. The 3D mesh is in OBJ format and texture as TGA files. To make
In this example you can see how 3D model can be loaded to WebGL using ThreeJS library. A low polygon model of a Motor Cycle is used here. The 3D mesh is in OBJ format and texture as TGA files. To make
An example of how a WebGL scene can be created using ThreeJS library. ThreeJS wraps the complex code required to create WebGL graphics and helps us to build it using much simpler API functions. This s
A simple experiment with particle animation in WebGL. In working example below, click and drag mouse to see the animation. Open the Javascript tab and the see the code with inline explanation.
Basic 3D transforamtion in WebGL. In the working exampel below, click on the buttons to see the changes when applying the transformations. Open the Javascript tab and the see the code with inline exp
This example shows how simple texture can be applied to a 3D shape in WebGL. Texture is loaded from an image file an applied to a cube. Open the Javascript tab and the see the code with inline explana
This example shows how a 3D shape can be drawn and rotated in WebGL. In the working example belwo you can see a rotating cube with different colors on each face. Open the Javascript tab and the see th
This example shows how vertices can be painted in WebGL. Open the Javascript tab and the see the code with inline explanation.
This example shows how you can draw a circle with the mode LINE_LOOP. Open the Javascript tab and the see the code with inline explanation.
This example shows how you can draw a triangle with the mode LINE_LOOP. Open the Javascript tab and the see the code with inline explanation.
This example shows how you can draw a rectangle as a WebGL element with the mode TRIANGLES. Open the Javascript tab and the see the code with inline explanation.
A computer game is basically an interactive animation. Different animation loops are played based on the key inputs given by the user.In this example
Adding shadows to a 3D scene gives it a better realistic feel. In this example you can see how shadow can be applied to a Collada 3D model using Three
A 3D viewer tool is always useful when you work with 3D content. You can load and test diffrent models in a grid and play with it. In this example you
An example of loading an animated 3D model and allowing camera to be controlled using mouse in WebGL using ThreeJS library. Sample model created using
An example of loading an animated 3D model in WebGL using ThreeJS library. Sample model created using Mixamo To make this work, the scripts listed bel
ul.table-list{ list-style: none; list-style-type: none; overflow: auto; } ul.table-list li{ float: left; width: 256px; height: 276px; margin-right: 38
ECMAScript 2015, also known as ES6, introduced significant changes in the way Javascript is written. It supports ‘Classes’ and ‘Modules’ and with a nu