Where to find any example loading json model in scenejs?

1k views Asked by At

I've a JSON model with vertices, uvs, indices etc which is exported using Blender. It works fine with other frameworks. I also want to try it using ScenejS. But couldn't find decent example implementing JSON model using SceneJS. It would be helpful if someone redirect me to place where I can study and work on SceneJS using JSON model. I really wonder, is there any demo available using JSON model in SceneJS?

1

There are 1 answers

3
xeolabs On BEST ANSWER

Examples are on the website, as well as bundled with the sourcecode at github (which you'll need to build).

http://scenejs.org/dist/v2.0.0/extr/examples/index.html

This example shows how to define geometry using the JSON API:

http://scenejs.org/dist/v2.0.0/extr/examples/custom-geometry/index.html

Documentation on geometry definition on the wiki:

https://github.com/xeolabs/scenejs/wiki/geometry