Re: [osg-users] Read dae files with osg.

2012-02-27 Thread Kim Bale
You'll need to make sure that you have a dll called "osgdb_dae.dll" in your
plugins folder and that your OSG binary can find it.

Generally speaking this problem is caused because you haven't set up the
environment variables correctly so OSG can't find it's plugins on the path.

Hope that helps,

Kim.



On 27 February 2012 01:16, Peterakos  wrote:

> Hello.
>
> First of all thnx for your answer.
> Watchig the list with projects in open scene graph solution, i notice
> there is a "Plugins dae" project.
> Even after building everything (using the all build project), my
> application is still unable to load dae files.
> I build for both release and debug mode.
> I get the same warning as before.
> My 3rd party binaries are visible and well recognized by CMake.
>
> Any ideas?
> Thnx.
>
>
> On 26 February 2012 17:54, Kim Bale  wrote:
>
>> You will need to point CMake to the Collada libraries when you build the
>> OpenSceneGraph project. I believe there's a copy of them in the prebuilt
>> 3rd party dependencies that are distributed along side OSG. After that you
>> you should get a DAE plugin inside of the OSG projects list. This will
>> enable you to load collada files.
>>
>> Regards,
>>
>> Kim.
>>
>>
>>
>>
>> On 26 February 2012 15:47, Peterakos  wrote:
>>
>>> Hello.
>>>
>>> I have to load a .dae model in my scene and i was wondering if there is
>>> any code example.
>>>
>>> I use the following code
>>> osg::ref_ptr root = osgDB::readNodeFile( "bmw.dae" );
>>> but i get a warning: Could not find plugin to read objects from file
>>> "bmw.dae".
>>>
>>> I have built OpenSceneGraph code, but there isn't any project for this
>>> extension in the solution's plugin project list.
>>>
>>> How can i proceed ?
>>>
>>> Thank you for your time.
>>>
>>> ___
>>> osg-users mailing list
>>> osg-users@lists.openscenegraph.org
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>
>>>
>>
>> ___
>> osg-users mailing list
>> osg-users@lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Read dae files with osg.

2012-02-26 Thread Peterakos
Hello.

First of all thnx for your answer.
Watchig the list with projects in open scene graph solution, i notice there
is a "Plugins dae" project.
Even after building everything (using the all build project), my
application is still unable to load dae files.
I build for both release and debug mode.
I get the same warning as before.
My 3rd party binaries are visible and well recognized by CMake.

Any ideas?
Thnx.


On 26 February 2012 17:54, Kim Bale  wrote:

> You will need to point CMake to the Collada libraries when you build the
> OpenSceneGraph project. I believe there's a copy of them in the prebuilt
> 3rd party dependencies that are distributed along side OSG. After that you
> you should get a DAE plugin inside of the OSG projects list. This will
> enable you to load collada files.
>
> Regards,
>
> Kim.
>
>
>
>
> On 26 February 2012 15:47, Peterakos  wrote:
>
>> Hello.
>>
>> I have to load a .dae model in my scene and i was wondering if there is
>> any code example.
>>
>> I use the following code
>> osg::ref_ptr root = osgDB::readNodeFile( "bmw.dae" );
>> but i get a warning: Could not find plugin to read objects from file
>> "bmw.dae".
>>
>> I have built OpenSceneGraph code, but there isn't any project for this
>> extension in the solution's plugin project list.
>>
>> How can i proceed ?
>>
>> Thank you for your time.
>>
>> ___
>> osg-users mailing list
>> osg-users@lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Read dae files with osg.

2012-02-26 Thread Kim Bale
You will need to point CMake to the Collada libraries when you build the
OpenSceneGraph project. I believe there's a copy of them in the prebuilt
3rd party dependencies that are distributed along side OSG. After that you
you should get a DAE plugin inside of the OSG projects list. This will
enable you to load collada files.

Regards,

Kim.




On 26 February 2012 15:47, Peterakos  wrote:

> Hello.
>
> I have to load a .dae model in my scene and i was wondering if there is
> any code example.
>
> I use the following code
> osg::ref_ptr root = osgDB::readNodeFile( "bmw.dae" );
> but i get a warning: Could not find plugin to read objects from file
> "bmw.dae".
>
> I have built OpenSceneGraph code, but there isn't any project for this
> extension in the solution's plugin project list.
>
> How can i proceed ?
>
> Thank you for your time.
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Read dae files with osg.

2012-02-26 Thread Peterakos
Hello.

I have to load a .dae model in my scene and i was wondering if there is any
code example.

I use the following code
osg::ref_ptr root = osgDB::readNodeFile( "bmw.dae" );
but i get a warning: Could not find plugin to read objects from file
"bmw.dae".

I have built OpenSceneGraph code, but there isn't any project for this
extension in the solution's plugin project list.

How can i proceed ?

Thank you for your time.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org