The VRML libraries are not currently included in the prebuilt
binaries.  you will build yourself from their sources, or find another
source for a prebuilt.

On Thu, May 8, 2008 at 1:08 AM, Jeongseok Lee <[EMAIL PROTECTED]> wrote:
> Thanks for your answer. :-)
>
> Then,
> in OSG(2.4) what I have does not include vrml plugin, even other plugin is 
> included.
> So, I can't complie vrml plugin or get complied vrml plugin.
> Did I miss some file?
>
> Jeongseok Lee
>
> -----Original Message-----
> From: Joakim Simonsson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 08, 2008 1:19 AM
> To: 이정석; OpenSceneGraph Users
> Subject: Re: [osg-users] How to load VRML file in OSG?
>
> On Wed, 07 May 2008 18:10:43 +0200, 이정석 <[EMAIL PROTECTED]> wrote:
>
>> Hi all.
>>
>> I encounter with VRML file (*.wrl)
>> I have to load this VRML file on OSG.
>>
>> How am I suppose to do?
>> Is there good example? even simple.
>>
>> Thanks to everybody read my naive questions. :-)
>>
>> Jeongseok Lee
>
> First, be sure that you compiled the vrml plugin, and that it resides in
> you environmet path.
>
> You don't say if you want to load your model from console or
> programmatical.
>
>  From a console, type:
>
> osgviewer.exe youfile.wrl
>
> To see how this is achieved programmatical, have a look in the source code
> to osgviewer (applications\osgviewer\osgviewer.cpp).
>
> This line is relevant for you:
>
> osg::ref_ptr<osg::Node> loadedModel = osgDB::readNodeFile("youfile.wrl");
>
>
> --
> Joakim Simonsson
>
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Mike Weiblen -- Austin Texas USA -- http://mew.cx/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to