Results 1 to 2 of 2

Thread: COLLADA DOM with big dae file

  1. #1

    COLLADA DOM with big dae file


    I want to read and write collada files with 1 million nodes and 1 million animations.
    I use colladadom with the functions
    DAE * dae=new DAE;
    daeElement *element;
    daeElement *child;

    daeElement* root = dae->open(fileName.);
    // Node
    if ((element=root->getChild("library_visual_scenes"))==NULL){
    ... etc

    // save file

    I test with 100 000 nodes and animations.
    My PC wit 1M RAM is full and I is very slow.

    I suppose that colladadom create all nodes and animations in memory : characterics of DOM

    Can I use COLLADADOM in SAX mode ???

    For very big collada files, do I search a SAX XML parser ????


  2. #2
    Senior Member
    Join Date
    Aug 2004
    Sorry the COLLADA DOM does not support SAX style parsing at this time.

    Performance improvements are being made to the DOM that will become available, before the end of the year, that may help your use case. Be sure to watch for updates to the SVN and packages at the COLLADA DOM Project on sourceforge.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean