Hi Christian,
> I am running an eqOSG software version for performance studies on my
> computer. One of my demos is a CT of a human body made out of 9 ply
> files.
> 
> I encountered the problem that OSG doesn't support ply format, as
> some of you also did (I watched around in some OSG forums). I got
> that some of you implemented the native eqPly-loader into esOSG as a
> file plugin for the osgDB-class.
> 
> I downloaded the source files and now I don't know how to install
> this plugin.
If you use the latest developer release from OSG (2.9.5) it comes with 
the package so you don't have to compile it by hand. Anyways if you were 
able to build it successfully you don't need to worry about this.

> My question now is: How do I get it done so that this plugin is
> installed in the osgDB library ? Does that then work simply like
> calling "osgDB::readfile(bone0.ply);" and it loads the file or how do
> I then handle with this new plugin ?
You can use osgDB::readNodeFile(bone0.ply)
osgDB searches and loads the library automatically. It works the same 
way for all file extensions. The only thing that could go wrong in this 
step is that something (osg build, your library path) is not configured 
properly and OSG will fail loading the plugin. But if you can load other 
formats and your compiled dlls are in the same directory as the rest of 
the plugins that shouldn't be the case. When the library is loaded it 
registers a reader that can handle that type of files.

I've used that plugin to convert the Stanford repository models to .ive 
format succesfully in Linux. In Windows it should be the same,

Cheers,
Juan

_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to