I’m evaluating the DOM but I’ve a problem at a “HelloWorld”-like sample which is bad… for an experienced programmer.
I’m currently working with domTEST samples and more precisely with one named “export” in DOM 1.5.0. This sample should export a cube with one texture “texture.bmp”.
I’ve (dec2010) exactly the same problem as described above (2009)
the code in export.cpp is
testResult addImage(daeElement* root) {
SafeAdd(root, “library_images”, imageLib);
SafeAdd(imageLib, “image”, image);
image->setAttribute(“id”, “img”);
image->add(“init_from”)->setCharData("…/texture.bmp");
return testResult(true);
}
the .dae is
<library_images>
<image id=“img”>
<init_from/>
</image>
</library_images>
no trace of “…/texture.bmp”
If I add “…/texture.bmp” by hand I can’t even open the file in RT VIEWER