• Advertisement
Sign in to follow this  

json and webgl

This topic is 2570 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm working on a simple engine for webgl in javascript.
I have a c++ collada reader that builds a scenegraph of the scene with nodes, meshes , trasformations and materials.
The shaders are already in js.
Now i would create a json from the read classes and send they to javascript for the deserialization.
My question is :
json is only an interchange format that must be parsed after the eval or can be a deserializable format that with eval creates ex novo the instances of the javascript classes and fills it with properties?

I use c++ for reading from collada, which json c++ library you advice to me?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement