cube export sample in COLLDA DOM 1.5

  1. I have a problem with DomTest (v 1.5)

in export.cpp :
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);
}

resulting “export.dae” excerpt is

<library_images>
	<image id="img">
		<init_from/>
	</image>
</library_images>

so it seems image->add(“init_from”)->setCharData("…/texture.bmp"); dos not work

  1. RT Viewer can’t open the file