Note that I have installed CG 1.5 beta. What’s the problem?
The problem could be that you installed the CG beta and not the final CG 1.5, which you can get here. Let me know if that helps.
Aside from that, you need to make sure to build all of RT’s dependencies. You need to build DOM, FX, and bullet (bullet is from the “external-libs” folder) before you can build RT. It’s a huge pain, but unfortunately I haven’t had time to fix it yet.
Yes, it solved my problem :o I also tested some models. There’s a problem in their lighting( maybe shininess or nomal vectors of the model ). Here you can see the dragon model in ColladaRT: http://zehneziba.ir/screenshots/dragon.jpg
Note that they look OK in ColladaLoader.
I’m also having trouble compiling the ColladaRT. sthomas, you mention that one needs the DOM, bullet and FX. I’ve found the bullet and I’ve got the Dom, of course, but I cant find FX. Is this its full name? Where can I find this one? Maybe this is a dumb question, but is there a way I can get my hands on a compiled version of ColladaRT, so I dont have to fuss with compiling all this stuff?
The installer for the last official release of the Collada DOM (from April, available here) includes pre-built binaries for RT. That’s old code though, so I’m going to include a full description of how to get RT building from the code on SourceForge, for anyone who needs it.
Make the directory you want to install to, then open a command line and cd to that directory. You need to checkout the DOM
svn co https://collada-dom.svn.sourceforge.net/svnroot/collada-dom/COLLADA_DOM/trunk COLLADA_DOM
the external libs folder (which includes bullet)
svn co https://collada-dom.svn.sourceforge.net/svnroot/collada-dom/external-libs external-libs
svn co https://collada-dom.svn.sourceforge.net/svnroot/collada-dom/COLLADA_FX/trunk COLLADA_FX
and Collada RT
svn co https://collada-dom.svn.sourceforge.net/svnroot/collada-dom/COLLADA_RT/trunk COLLADA_RT
You need some environment variables defined before you can build (very dumb, I know): COLLADA_EXTERNAL_LIBS_LOCATION should point to the external-libs folder, COLLADA_DOM_LOCATION should point to the DOM folder, and COLLADA_FX_LOCATION should point to the FX folder. Then build the DOM (the static libs, not the DLL), bullet, FX, and RT in that order via the provided .sln files, assuming you’re on Windows.
The only way to run RT is by calling it on the command line with the name of the file you want to open.
This question doesn’t refer to compiling the project, since I have compiled it before. As you suggested, I downloaded the latest version of Collada with Cygwin. Unfortunately, I can’t open the VC++7 project. When I open COLLADA_DOM.sln file with VC++ compiler,it reports the following errors:
failed to open $root_path/dae.vcproj
failed to open $root_path/dom1.4.vcproj
And $root_path is the path of the sln file.
both files exist there, but VC++ can’t open them.
I downloaded the files again, But it didn’t solve my problem.
What exactly do you mean by this? Do you just mean that you used a Cygwin shell to download the code from SourceForge? That should be fine, although I usually use a standard Windows command prompt.[/quote]
Yes, I use Cygwin shell instead of Windows command prompt. 3 years ago, Fabrice Jaubert( OpenML moderator ) suggested me to use Cygwin instead of Windows command prompt, So I started to work with Cygwin shell