Recommended WebGL API and IDE

I am going to use WebGl in a training project to view some 2d and 3d models in a specific format.

While I am reading some documentation, I would like to know from your experience what will be the best API for speeding up development and abstracting some low-level calls, as well as the best IDE for working with it.

Cross browser compatibility is not a major issue.

I decided on WebGl because I would like to create a web interface for my project to help share my progress. Do you even recommend using WebGl for this?

+4
source share
3 answers

API

Three.js is really amazing working with WebGL application development. This makes creating what you want very easy (create a scene object, create some things that you want to show, then add them to the scene and visualize. No need to mess with GLSL and low-level materials right off the bat, although you can if you really wanted to).

IDE

The Chrome console and various tools are great for debugging in general. You can use any text editor / IDE for javascript you want.

+3
source

At the end of the day, the IDE is only intended to help a little, you make a tough deadline by saying that the best editor (s) I use for javascript, Sublime Text and Netbeans IDE

Then, as already mentioned, Chrome DevTools is the best choice for debugging.

+5
source

API (Framework)

If three.js is difficult for you, or you are a professional developer who just does not want to spend his time on simple things (scene, camera, visualizer), you can try whitestorm.js .

The WhitestormJS structure is a wrapper around three.js (you can use both at the same time, for example, wrapping jQuery DOM). It has some additional features:

  • Built-in physics of bullet physics 3 , even soft-body physics (you can use the light version without physics.
  • It has a component structure (e.g. ReactJS) . You can share your plugins, components and use them from others.

* WhitestormJS is a nonprofit, open source project by three.js fans.

0
source

Source: https://habr.com/ru/post/1486483/


All Articles