Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebGL Framework

I'm planning to write a 3D FPS game, based on WebGL.

  • Should I use some WebGL framework?
  • What is the most active and popular WebGL library today? Does it support LOD, Heightmaps, COLLADA and some Materials system?

Thanks.

like image 654
Alon Gubkin Avatar asked Oct 08 '10 11:10

Alon Gubkin


People also ask

What is WebGL framework?

WebGL (Web Graphics Library) is a JavaScript API for rendering high-performance interactive 3D and 2D graphics within any compatible web browser without the use of plug-ins. WebGL does so by introducing an API that closely conforms to OpenGL ES 2.0 that can be used in HTML <canvas> elements.

Is WebGL the same as three Js?

WebGL is a JavaScript API for rendering 3D graphics in a web browser. three. js is a library for making 3D graphics with WebGL.

What is WebGL good for?

WebGL enables web content to use an API based on OpenGL ES 2.0 to perform 2D and 3D rendering in an HTML canvas in browsers that support it without the use of plug-ins. WebGL programs consist of control code written in JavaScript and shader code (GLSL) that is executed on a computer's Graphics Processing Unit (GPU).

What is replacing WebGL?

Unlike WebGL, WebGPU is not a wrapper around OpenGL. Instead, it refers to the current graphics rendering technology, a new cross-platform high-performance graphics interface. Its design is easier to implement by the three major graphics frameworks, reducing the burden on browser developers.


1 Answers

Surprised noone mentioned Three.js. It has strong community behind it which adds new features on regular basis. You can try it out and play with it on WebGL playground:

http://webglplayground.net/

There is a Three.js template for new projects.

like image 112
krychu Avatar answered Nov 08 '22 22:11

krychu