Has anyone got any examples on loading a Collada in the newest version.
The API documentation seems to indicate using the AWDParser, but i don’t seem to be having any luck with getting that working.
I’ve managed to load 3ds and Obj files fine.
Collada LoadingSoftware: Away3D 4.x |
||
EFFalcon, Jr. Member
Posted: 22 July 2011 08:10 AM Total Posts: 44 Has anyone got any examples on loading a Collada in the newest version. The API documentation seems to indicate using the AWDParser, but i don’t seem to be having any luck with getting that working. I’ve managed to load 3ds and Obj files fine. |
||
Richard Olsson, Administrator
Posted: 22 July 2011 10:25 AM Total Posts: 1192 [ # 1 ] COLLADA is not supported in Away4 (yet.) There are plans to support it eventually, but we encourage you to take a look at using another format if you can. COLLADA is a very poor file format when it comes to real-time applications (it’s verbose, complex and poorly implemented by most generators.) You should not use AWDParser for COLLADA files, although you should look into using AWD files instead of COLLADA files (in which case you would be able to use the AWDParser.) What are you trying to import? Just mesh/geometry, or animation as well? Note though that Away4 will choose the most appropriate parser depending on the file format (which it detects automatically) as long as you enable all of them using Parsers.enableAllBundled(). |
||
EFFalcon, Jr. Member
Posted: 22 July 2011 10:43 AM Total Posts: 44 [ # 2 ] Thanks for the speedy reply. There are no reasons i need to stick with Collada as the format of choice. I was just determining if i need to goto the effort of converting the meshes to another format. I’ll just start working with 3ds! Thanks again |
||
Richard Olsson, Administrator
Posted: 22 July 2011 10:46 AM Total Posts: 1192 [ # 3 ] Yeah, you really should convert them, for the sake of your application if nothing else. Never use COLLADA for simple geometry data. The file size can be up to ten times larger than with a more optimized format (like 3DS or AWD2.) Only when you need a COLLADA-exclusive feature should you use it. And we are working hard to make sure that AWD2 will completely remove the need to ever use COLLADA with Away3D. |
||
|
||
ge5, Newbie
Posted: 22 July 2011 10:10 PM Total Posts: 13 [ # 5 ] I find collada really useful because you can target “parts” (through the armature/bones) of the model and animate through code (i.e., the finger on a hand) to be interactive/ though for some reason much more useful in Papervision 3d, I am not yet able to get this working in away 3d//what else would you suggest as a replacement for this (3ds is WAY expensive)—would cinema 4d allow the proper exports for 3ds? (in blender you can export 3ds but NOT dependable). .obj is just numbers (vertices) so how to access “segments”? |