hello osg users,

Tips to create plugin vrml with Visual Studio 2008.

(1) compile openvrml 0.18.3 grab the svn version not the tarball.

Using OSG SVN version 296

(2) Within the Plugins Vrml C++->Preprocessor add OPENVRML_USE_LIB

(3) Line  203 with ReaderWriterVRML2.cpp
change
        const std::vector< boost::intrusive_ptr< openvrml::node > > & mfn = 
b->create_vrml_from_stream(vrml_stream);

to

        const std::vector< boost::intrusive_ptr< openvrml::node > > & mfn = 
b->create_vrml_from_stream(vrml_stream, "vrml_media_type" );

Thanks
Maya




Hotmail: Free, trusted and rich email service. Get it now.
                                          
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/171222985/direct/01/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to