Re: [osg-users] [build] Need help including COLLADA support
Update, After a bunch of tweaks I got the CMake config to bring in the Collada (DAE) plugin project and then got things compiled in both Debug and Release. I can now successfully use the osgconv program to convert models over to DAE!!! Now, a follow up question would be to ask if the osgconv, or similar, can also convert the images/textures used by the model from RGB or whatever format over to PNG? Thanks for the help Roland! Wally -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16278#16278 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] Need help including COLLADA support
Hi Wally, After a bunch of tweaks I got the CMake config to bring in the Collada (DAE) plugin project and then got things compiled in both Debug and Release. I can now successfully use the osgconv program to convert models over to DAE!!! There were instructions here, but they're obviously outdated: http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/VisualStudio/VisualStudioPlugins Could you please register to the wiki, and edit the instructions so they're up to date. That will help future would-be users of the Collada plugin. Thanks. Now, a follow up question would be to ask if the osgconv, or similar, can also convert the images/textures used by the model from RGB or whatever format over to PNG? There are many image converters, and most image viewers support some sort of batch convert. I use XnView for example. Hope this helps, J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [build] Need help including COLLADA support
Hi, I am having issues with adding the DAE (Collada) plugin to my project. I have been following the step-by-step instructions located here: http://www.openscenegraph.org/projects/osg/wiki/Support/KnowledgeBase/Collada I'm using VC++ 2008 Express Edition I have downloaded and built the Collada DOM I have set the environment variable on Windows I cannot get CMake to find the addition of Collada so I can add it to my OSG project. There must be something simple that I am missing. Any thoughts? Thanks, Wally -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16078#16078 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] Need help including COLLADA support
dfu23 wrote: http://www.openscenegraph.org/projects/osg/wiki/Support/KnowledgeBase/Collada Maybe there's fault in that documentation or the way the CMake file configuration works. There have been some changes to the CMake files after this wiki page was written. dfu23 wrote: I'm using VC++ 2008 Express Edition I have downloaded and built the Collada DOM I have set the environment variable on Windows Which of the COLLADA_* values are filled in by CMake? If the COLLADA_DIR environment variable points to the proper Collada DOM install directory all should be filled in by CMake automatically. If that does not work specify that directory by hand by setting the COLLADA_DOM_ROOT in CMake and selecting Configure. If that doesn't work you can always manually set the all files although it's a big list, but in this case the Collada CMake files contain an error. kind regards, Roland Smeenk -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16080#16080 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] Need help including COLLADA support
Currently I have this structure: Code: Z:\OpenSceneGraph-2.8.1\ - 3rdParty\ - applications\ - bin\ - CMakeFiles\ - CMakeModules\ - collada-dom-2.2\ - collada-dom\ - dom\ - fx\ - ... - doc\ - examples\ - include\ - lib\ - OpenScenGraph\ - packaging\ - PlatformSpecifics\ - src\ - Xcode\ - ALL_BUILD.vcproj - ... In CMake 2.6 it originally had COLLADA_DOM_ROOT set as dom/ but I have changed that several times trying to make it happy. Also, I have set the environment variable COLLADA_DIR to Z:\OpenSceneGraph-2.8.1\collada-dom-2.2\collada-dom\dom\ I appreciate your assistance, Wally -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16086#16086 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] Need help including COLLADA support
I have tinkered a little bit further and set a bunch of the COLLADA_*_LIBRARY values manually and appear to have gotten further. The only thing that it is saying now is: Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR) Should I add these entries? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16088#16088 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] Need help including COLLADA support
Hi wally, Which of the COLLADA_* values are filled in by CMake initially? And after you specify the proper COLLADA_DOM_ROOT manually? In your case COLLADA_DOM_ROOT should point to Z:/OpenSceneGraph-2.8.1/ collada-dom-2.2/dom -- Roland -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16089#16089 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org