Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Recommended API and IDE to work with WebGL

I'm about to use WebGl in a academic project to preview some 2d and 3d models in a given format.

While I'm reading some documentation, I would like to know, from your experience, what would be the best API to speedup development and abstract some low-level calls and also the best IDE to work with it.

Cross browser compatibility is not a major problem.

I've decided about WebGl because I would like to create a web interface for my project to help sharing my progress. Do you even recommend using WebGl for that?

like image 286
Hugo Pinto Avatar asked Jun 16 '13 16:06

Hugo Pinto


People also ask

Is WebGL an API?

WebGL is a graphics application programming interface (API) created for use in web applications. It is based off the open graphics language (OpenGL) embedded standard (ES).

Is OpenGL faster than WebGL?

WebGL is much slower on the same hardware compared to equivalent OpenGL, because of the high overheard for each WebGL call.

Is WebGL a framework?

A WebGL framework for Web development. Lightweight Javascript WebGL library for handling Context, Meshes, Textures and Shaders.


2 Answers

At the end of the day, an IDE is only meant to help a little, you do the hard hauling, having said that, the best editor(s) I use for javascript are Sublime Text and Netbeans IDE

Then as it was already stated, Chrome DevTools is your best bet for debugging.

like image 193
epoch Avatar answered Oct 17 '22 14:10

epoch


API

Three.js is really awesome to work with regarding developing WebGL apps. It makes creating what you want very easy (create a scene object, create some things you want to show, then add them to the scene and render. No need to mess around with GLSL and low level stuff right off the bat, although you could if you really wanted to).

IDE

Chrome's console and various tools are great for debugging in general. You can use whatever text editor / IDE for javascript that you want.

like image 28
jh314 Avatar answered Oct 17 '22 16:10

jh314