50 likes | 250 Views
WebGL. Applications Department. Application. C lient - application written in JavaScript. It shows 3D scene, generated by server, in user ’s webbrowser
E N D
WebGL Applications Department
Application • Client - application written in JavaScript. It shows 3D scene, generated by server, in user’s webbrowser • Server - application written in C++. It generates data and performs calculations of translations that were performed on objects in the user's browser
Diagram Server sends data to the client, which by means of WebGL are generated in the user's webbrowser. After data visualization user can translate object. Data connected with this operation are send to the server. Server calculates new positions of vertices and sends them to the client. After that translated object is drawn.
Data format Both server and client sends data in Collada schema It is well-known and easy to use data format Client and server parse received data to get needed information The file is sent in reduced form
Consequences All calculations are shifted to the fast server Advantageous while generating large scenes Connection occupancy depends on amount of data that are sent