jsc3d
jsc3d copied to clipboard
Load obj file Url
Hi, I want a question:
2 method replaceSceneFromUrl and SceneUrl require url finish by ".obj".
Example:
viewer.setParameter('SceneUrl', 'http://example.com/models/ptero.obj');
It's work.
viewer.setParameter('SceneUrl', 'http://example.com/models/ptero.file');
Not work
viewer.setParameter('SceneUrl', 'http://example.com/models/ptero');
Not work
But 3 file: ptero.obj, ptero.file and ptero has response same return is obj file
Original issue reported on code.google.com by [email protected] on 15 Jul 2014 at 2:09
As in its implementation, Jsc3d meeds the file extension name to identify type
of a data file and selects a proper loader for it. See
http://code.google.com/p/jsc3d/source/browse/trunk/jsc3d/jsc3d.js#975 and
http://code.google.com/p/jsc3d/source/browse/trunk/jsc3d/jsc3d.js#4846 for
details.
Original comment by [email protected] on 16 Jul 2014 at 5:49
Thank. I config routing format: 'http://example.com/models/ptero.obj' and this
return stream. It's work
Original comment by [email protected] on 16 Jul 2014 at 10:46