View Full Version : importing a scene
07-06-2010, 10:04 AM
Just a simple question: how can I import a collada scene/object?
Is there a tutorial teaching this or can anyone tell me the code I have to use?
07-08-2010, 05:59 AM
how can I import a collada scene/object?
I don't think that there is a tutorial currently available. What I know are these 2 cases:
- GLGE (http://www.glge.org/) - it is a library develped on top of webGL, which has a Collada import (last information was also support of animations)
- Spore Creature demo (https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/demos/mozilla/spore/index.html) - this is a demo where is implemented a Collada import (the description says it is quite limited)
..Anyway,..if you are interested in making one I'm willing to help..
07-08-2010, 09:50 AM
That would be great. The fact is that i don't even know where to start! I took a look to the links but I can't figure out where the scene file is loaded in the code...
I'll try now with a deeper look...
07-22-2010, 06:55 AM
I found a tutorial which uses GLGE lib as a support
http://www.rozengain.com/blog/2010/06/2 ... -tutorial/ (http://www.rozengain.com/blog/2010/06/23/hands-on-webgl-basic-glge-tutorial/)
for importing a collada object or scene you can insert this line in the xml file describing the scene.
under the <scene> tag:
<collada document="colladafile.dae" animation="#spin" rot_x="1.57" loc_y="-15" scale="0.05" />
A first step is made :)
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.