Simple object rendering and lighting in WebGL
Made to learn the basics of WebGL and consequently OpenGL
This application can open .obj files and show them in 3d space using webGL.
It can use an orthographic or a normal perspective
-
Objects do not cast shadows. Only normals are used for lighting
-
We use the Blinn-Phong shading model
-
Textures can be mapped to objects with the provided texture coordinates or with generated texture coordinates (plane, cylindrical, spherical) on all 3 axis
-
Bump mapping is also implemented
Made for an assignment for computer graphics
class at FERI