Friday 2 November 2012

Optimizing Graphics for Web development - WebGL


There is always an advancement taking place in web development. WebGL is one such introduction to the already existing development features. WebGL stands for web Graphics library. It was introduced and managed by a group named Khronos Group. It was developed originally by Mozilla foundation and is used for inducing 3D graphics.

WebGL is based on Java Scripts and hence also known as Java Scripts API. It is used to induce 2D and 3D graphics. It is based on the Open GL ES that provides gaming graphics. It is compatible with all web browsers. It is in conjunction with HTML and hence doesn't require any plug-ins to use it in web page.  It might seem as easy to implement but is difficult to learn. It is executed on Graphic Processing unit, which is java script port meant for Open GL, which has its own set of API for game development.

Implementation:
Since it is mainly used for game development, it consist of both control code which, has to be using Java Scripts and also code for shading purpose. The program thus generated is executed on Graphic Processing Unit. This graphic library makes use of HTML5 canvas element. It is accessed using the DOM interfaces i.e. Document Object Model interfaces. It also comes braced with Automatic Memory Management which is one of the features provided by Java Scripts.

Tools like Blender or Autodesk Maya provide an alternative to programming. They are the content creation tools which allow creating scene. The scenes thus created using such tools are then exported in the graphic library. There are tools for exporting like Inka3D which is meant for Maya.

No comments:

Post a Comment

No Spam please save your time we will remove it any way