WebGL basics: the project

08/12/2020

WebGL Animation

Concept

Right after developing the Praça do Comércio in Blender, the next project of my Bachelor's Degree Computer Graphics course, was to create 3D objects entirely by coding them, with a static camera view. Then, the challenge changed to animating the objects in the scene, changing the lighting algorithm, and mixing multiple animations together.

Availability

It is currently not public, and due to it being simply the essentials of WebGL programming, it won't be. If you think there is a specific use for which you believe this to be relevant feel free contact me.

The Project

For the project itself we had to turn trigonometrical math functions into operable WebGL code, then how to create 3D animations from those, and finally changing the lighting algorithm to a Phong lighting one.

To check out the animations look here:

Conclusion

This project gave me the tools to better understand lighting (object source lighting, the difference between ambient, diffuse and specular light, alongside how to calculate them) within a 3D environment, as well as some practical knowledge on implementing movement vectors to 3D objects, and general WebGL experience.