Topic - Webgl: Mayur Tyagi 09btcse093 Asif Khan 09btcse121 Saldeep Kumar 09btcse12
Topic - Webgl: Mayur Tyagi 09btcse093 Asif Khan 09btcse121 Saldeep Kumar 09btcse12
Topic - WebGL
Mayur Tyagi 09BTCSE093 Asif Khan 09BTCSE121 Saldeep Kumar 09BTCSE12
Index
Introduction Description Features Hardware & Software Requirements Advantages Future Scope Conclusion References
Introduction
WebGL is an immediate mode 3D rendering API designed for the web. It is derived from OpenGL 2.0, and provides similar rendering functionality, but in an HTML context. WebGL is designed as a rendering context for the HTML Canvas element. The HTML Canvas provides a destination for programmatic rendering in web pages. WebGL is designed to allow browsers to render 3D scenes within the 2D canvas element. More importantly, the WebGL implementations currently deployed take advantage of the 3D hardware on your machine, fully accelerating both 2D drawing and compositing, with excellent results.
Description
Prior to WebGL the only practical way of drawing 3d objects in a web-browser was through a plugin like Flash or Java (not the same as Javascript). Plugins are slow because the when the plugin code decides to draw a line, it must ask the plugin, which must ask the webbrowser, which must ask the operating system, which must ask several other layers of the computer, to draw the line onscreen. This journey through the grapevine is inevitably slow. WebGL skips these layers by allowing Javascript access to the GPU, meaning WebGL can send data straight to your videocard to be rendered.
Features
WebGL allows developers to put real-time interactive 3D graphics in the browser. WebGL can be applied to interactive music videos, games, data visualization, art, 3D design environments, 3D modeling of space, 3D modeling of objects, plotting mathematical functions, or creating physical simulations. Using WebGL, applications can now run and modify fairly complex 3D web-based applications.
Architecture
In WebGL, like in most real-time 3D graphics, the triangle is the basic element with which models are drawn. Therefore, the process of drawing in WebGL involves using JavaScript to generate the information that specifies where and how these triangles will be created, and how they will look (colour, shades, textures, etc). This information is then fed to the GPU, which processes it, and returns a view of the scene.
Advantages
WebGL isn't based on a plug-ins. It runs directly in the browser. It even already runs on several mobile devices WebGL also has the advantage that it is native to the browser, so users dont need to download or install any additional plug-ins to view 3d content. It already is available in Google Chrome, Firefox, Safari and soon in Opera
Future Scope
WebGL is bringing hardware accelerated 3D to modern web browsers. This means you can launch a full game or any other rich 3D experience by simply clicking a link your friend sent you in an email. With the rise of WebGL, the graphic rendering portion of those applications will become easy and more web based Graphics Application and Games will come to existence.
Conclusion
So, We can conclude that WebGL is the technology which helps us in creating and manipulating 3D Graphics on the Web Browser without the use of any Plugin or Flash. In short, We can say WebGL is future of Web based Graphics.