I'm considering using COLLADA_RT as the starting point for an importer as it seems to get the data closest to the target (OpenGL).
First off the installer from here http://sourceforge.net/project/showfile ... _id=211510
has missing libs in external_libs and also has compile errors.
The SVN version compiled and worked fine.
The next problem I'm having is getting the COLLADA_RT_COMMON project to link with my app. I don't really want to use RT to render anything - just to get access to the goodies in crtGeometry.cpp or whatever. It seems CG and the rest of the rendering system is not trivial to disable.
There is the following in the code:
// !!!GAC for compatibility with the new COLLADA_FX code, Init now forces UsingCg and UsingVBOs to
// !!!GAC false. It also calls CrtInitCg, creating the CG context and calling cgGLRegisterStates.
// !!!GAC All these things are currently required for the cfx rendering path to work, changing them
// !!!GAC may cause problems. This is work in progress and will be much cleaner when the refactor is done.
Is new code pending?
How do I get it to work (well, just link would be a start) without any CG,rendering etc
Is this even an intended use of the RT codebase?
Seems like considering he following is in the release notes:
1.) To link as a lib for and used to import COLLADA data. There are several
:ublic interfaces that allow for extraction of all need refactored COLLADA
data for real-time rendering. This has been tested successful within Unreal
Editor with actual Epic Game Data.
Anyways, any help/advice appreciated