va3c / viewer

3D Model Viewer with Three.js
http://va3c.github.io/viewer/
184 stars 115 forks source link

vA3C JSON Loader #3

Closed ibuilder closed 10 years ago

ibuilder commented 10 years ago

is there a loader for vA3C JSON files with three.js? It seems as though the normal three.js JSON loader does not have geometries and a breakdown like the JSON files exported from the vA3C plugins. Is there a JSON Loader file that I can add to my viewer for specifically vA3C files?

theo-armour commented 10 years ago

Matthew

I have generally been following the Three.js Editor loader code:

https://github.com/mrdoob/three.js/blob/master/editor/js/Loader.js

There will be a new revision - r5 - to the vA3C Viewer in the next day or so that will have much broader loading capabilities as well as much simpler, tighter code.

So you should soon have two locations to see how the loading can be handled.

If you have some sample files, I would be delight to see if the vA3C view can load them and to provide feedback on what I find.


BTW would you like to be added to the vA3C Google Group so that you hear about updates?

Theo

On Fri, Aug 1, 2014 at 11:05 AM, ibuilder notifications@github.com wrote:

is there a loader for vA3C JSON files with three.js? It seems as though the normal three.js JSON loader http://threejs.org/docs/#Reference/Loaders/JSONLoader does not have geometries and a breakdown like the JSON files exported from the vA3C plugins. Is there a JSON Loader file that I can add to my viewer for specifically vA3C files?

— Reply to this email directly or view it on GitHub https://github.com/va3c/viewer/issues/3.

ibuilder commented 10 years ago

@theo-armour Yes, That would be great!