The relationship and difference between WebGL and MapBoxGL and three.js

First of all, WebGL is just a standard. Based on this standard, you can write MapBox-GL or three-GL. . .

They are all about rendering 3D graphics on the web anyway. . (Rendering) engine

On difficulty, thingjs(framework)<threejs(engine)<webgl(interface)

https://blog.csdn.net/thingjs/article/details/110440537

If you publish a two-dimensional map or a three-dimensional map through arcgis, then call json on the client to implement webgl rendering.

1. Why do we need WebGL?

Although html5 supports Canvas, it can only draw two-dimensional graphics on it, so WebGL is needed to draw three-dimensional graphics.

2. Why do we need mapbox-gl and three-gl with WebGL?

Because the WebGL basic class library is like the basic functions in C++, it needs to be encapsulated by another layer before it can be provided to 3D users for various purposes.

Guess you like

Origin blog.csdn.net/nmj2008/article/details/112479134