Перевод не завершен. Пожалуйста, помогите перевести эту статью с английского.

При попытке узнать, что такое WebGL и родительская технологияOpenGL, чаще всего ее описывают как технологию для рисования 3D графики и применение спецэффектов, таких как освещение, текстуры, тени, и так далее. Это, наверное, наиболее частое ее использование.

WebGL is much more than that. It is a Web API that allows you to directly communicate with graphics hardware, the GPU. It comes with its own small programming language, called GLSL, which means you can now wield the computational power of the GPU, using it as you wish. 2D and 3D graphics, image processing, procedural texturing, terrain generation, visual effects such as reflections, refraction, smoke, fire, and fluids, or even non-graphic general computing that takes advantage of powerful GPU features, are all possible. You are limited only by the power of the hardware, and by your imagination.

With great power, comes great responsibility. It is the purpose of these tutorials, to give you the fundamental knowledge of how WebGL works, and how to use it correctly, enabling you to get the most from it.

The basics

Start here if you are not familiar with OpenGL or WebGL:

Required background:
Getting started with the web – In these tutorials, we are going to use very simple HTML and CSS, enough to have a basic understanding of these technologies.
JavaScript – WebGL is also a JavaScript API, and so we are going to play with lots of JavaScript. You should, therefore, have a solid grasp of the JavaScript language: particularly functions, arrays, and events. A good understanding of closures, objects, constructors, and the prototype chain would also likely help.
WebGL by example
This is a collection of live samples with short commentaries, sorted by topic, and level of difficulty. It aims at showcasing WebGL concepts, and capabilities, but it is not a substitute for the full tutorial.
Tutorial at API reference
This is the WebGL tutorial on the WebGL API reference pages. It is designed for those who are familiar with OpenGL, and wish to learn the equivalent JavaScript API.


Once you've mastered the basics, there is plenty more to explore:

WebGL API reference
The WebGL reference pages contain a detailed description of every interface, method, property, and constant in the WebGL API. In addition, you will find articles on advanced topics, more examples, and tips on using WebGL.
Guide to Graphics on the Web
This is the Web developer guide to Graphics on the Web. You will  learn about other graphics APIs, such as SVG, 2D graphics with HTML Canvas, and video.
Game development
These are the Game development pages on MDN. You will learn about integrating WebGL with other APIs and techniques, and building a completely immersive experience you can distribute to others.

Метки документа и участники

 Внесли вклад в эту страницу: MariyaSka
 Обновлялась последний раз: MariyaSka,