Original Post
hello.
I would understand how work a mesh viewer gallery with webgl.
I have created in c++ a project that create a text file with all the geometry (normal,uv,position ecc..) from sketchup and his api.
I inserted it in a mysql db with his path on the server.
How work now?
when i select the mesh (clicking a link for example) i get the path of the file on the server and next?
i must transfer the text file from server to client?
How?
in ajax?
I also think that i can create the html in the php page with all the vbo filled in js, so i can don't open and parse the file in js on the client.
and for the textures?
web
I would understand how work a mesh viewer gallery with webgl.
I have created in c++ a project that create a text file with all the geometry (normal,uv,position ecc..) from sketchup and his api.
I inserted it in a mysql db with his path on the server.
How work now?
when i select the mesh (clicking a link for example) i get the path of the file on the server and next?
i must transfer the text file from server to client?
How?
in ajax?
I also think that i can create the html in the php page with all the vbo filled in js, so i can don't open and parse the file in js on the client.
and for the textures?
web