Hello All,

I am trying, for the first time, to export a Blender model into OSG - 
specifically, present3D.

I have compiled OSG debug version with Collada,
Exported a DAE from Blender 'eye.dae'.
Run this in the standard plain vanilla way for present3D - within a slide/layer:
<slide>
        <background></background>
        <title>Eye Modelled in Blender</title>
        <duration>20</duration>
        <layer>
                <model coordinate_frame="slide"  
scale="1.0">images/eye.dae</model>
        </layer>
</slide>

Run with:
C:\2010-02-22_OSG\bin\present3Dd.exe C:\dropbox\tutorial\eye.p3d

(Some of the) console debug output:
SlideShowConstructor::addModel(images/eye.dae)
readNode(images/eye.dae)
itr='C:\2010-02-22_OSG\bin'
FindFileInPath() : trying C:\2010-02-22_OSG\bin\osgPlugins-2.9.7\osgdb_daed.dll 
...
FindFileInPath() : USING C:\2010-02-22_OSG\bin\osgPlugins-2.9.7\osgdb_daed.dll
DynamicLibrary::failed loading "osgPlugins-2.9.7/osgdb_daed.dll"
No valid object found for images/eye.dae
Warning: Could not find plugin to read objects from file "images/eye.dae".
end of SlideShowConstructor::addModel(images/eye.dae)

In the running application, a dialogue reports.
"This application has failed to start because libcollada14dom2l-d.dll was not 
found.  Re-installing the application may fix this problem."
( Technically, the application isn't installed, I didn't build 'INSTALL'.  Does 
this matter? )

The dll is in the folder C:\2010-02-22_OSG\bin\osgPlugins-2.9.7\osgdb_daed.dll, 
 however, libcollada14dom2l-d.dll is in
C:\OSG_dev\collada \dom\build\vc9-1.4-d\libcollada14dom21-d.dll  (miles away)
This directory \collada\ is at the same level, *but not inside* the OSG 
3rdParty dependencies folder.
I have an environmental variable COLLADA_DIR= C:\OSG_dev\collada
Also, have C:\OSG_dev\collada \dom\build\vc9-1.4-d\ in PATH variable.
I tried copying the DLL to C:\2010-02-22_OSG\bin\osgPlugins-2.9.7 - but, didn't 
help.


The minimal slide contains two things, and I don't think is the cause of the 
problem:
1.  The title which displays and handles as normal,
2. The DAE model (not) - which of course doesn't appear.

I would be grateful for any ideas what might be going wrong here, please?


:-)
John Montgomery, Glassel, Scotland.








The University of Aberdeen is a charity registered in Scotland, No SC013683.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to