Re: [osg-users] [osgPlugins] osgb and external models
Hi, I just wanted to tell that I wrote some visitor code that converts all proxynodes files to osgb, and I had to change the existing proxynode to reference the new osgb file. Works fine. If you need some help to test any of your submissions with regards to this, or maybe you want a openflight file to test tour code with please tell me! Thanks, Morten -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30671#30671 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] osgb and external models
Hi Morten, Oh I'm busy writing my OSG beginners book these days. It will be nice if you could submit your changes to the osg-submissions. :) Cheers, Wang Rui 2010/8/10, Morten Hauknes mor...@hauknes.biz: Hi, I just wanted to tell that I wrote some visitor code that converts all proxynodes files to osgb, and I had to change the existing proxynode to reference the new osgb file. Works fine. If you need some help to test any of your submissions with regards to this, or maybe you want a openflight file to test tour code with please tell me! Thanks, Morten -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30671#30671 ___ 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] [osgPlugins] osgb and external models
The terrain tile is not using paged LOD. When converting the openflight file external models results in ProxyNodes with a reference to eg. house1.flt. The proxynode looks fine in the osgt format, and i guess the reader should have used the openflight reader when loading the converted osgt/b file, but this does not happen even if i copy all external models into target directory. In the case of .ive the option to select to include external models in converting or not is noWriteExternalReferenceFiles. This is later used in ProxyNode::write where some code writes the external files as 'ive files, line 75 to 98. I guess you maybe have a idea on how this should work on the new reader/writer? Cheers, Morten -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30513#30513 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] osgb and external models
Hi Morten, I'll think of it and try to have a submissions as soon as possible. The option seems to affect ProxyNode only in current implementations of the ive and osg formats. I'd like to consider if it can work for PagedLOD nodes, too. Cheers, Wang Rui 2010/8/4 Morten Hauknes mor...@hauknes.biz The terrain tile is not using paged LOD. When converting the openflight file external models results in ProxyNodes with a reference to eg. house1.flt. The proxynode looks fine in the osgt format, and i guess the reader should have used the openflight reader when loading the converted osgt/b file, but this does not happen even if i copy all external models into target directory. In the case of .ive the option to select to include external models in converting or not is noWriteExternalReferenceFiles. This is later used in ProxyNode::write where some code writes the external files as 'ive files, line 75 to 98. I guess you maybe have a idea on how this should work on the new reader/writer? Cheers, Morten -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30513#30513 ___ 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] [osgPlugins] osgb and external models
Hi, I'm using the new native osg binary format (osgb), and I have noticed that compared to the old binary native ive format external files are not converted. Is this something that will be/is supposed to work? At present when loading a openflight terrain tile any building models is not converted to osgb, with ive these was converted by default as well. If this is how it is supposed to work I will write a simple visitor to save the external models as well :) Thank you! Cheers, Morten -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30485#30485 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] osgb and external models
Hi Morten, The osgb format is still in its early time so it may not support all the functionalities required by various developers. But it is always appreciated if somebody could provide suggestions and code to improve this new native format. It depends on wrappers of the src/osgWrappers/serializers directory, so the only work is to rewrite some of the wrapper classes. Could you please give more information about the issue of not converting external files? For example, when it happens, during loading paged LODs? (I myself am not familar with the OpenFlight terrain format) Could you help me locate the related implementing code in the ive plugin? :) Cheers, Wang Rui 2010/8/3 Morten Hauknes mor...@hauknes.biz Hi, I'm using the new native osg binary format (osgb), and I have noticed that compared to the old binary native ive format external files are not converted. Is this something that will be/is supposed to work? At present when loading a openflight terrain tile any building models is not converted to osgb, with ive these was converted by default as well. If this is how it is supposed to work I will write a simple visitor to save the external models as well :) Thank you! Cheers, Morten -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30485#30485 ___ 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