Re: [osg-users] [osgPlugins] Implementing ReaderWriter in a class within application binary

2010-09-19 Thread Robert Osfield
Hi Thomas, In svn/trunk there is support for extensible native binary format, the serialization scheme that underpins this also support reading/writing to ascii and xml format as well. This will of be part of the 2.9.9 I'll make next week. The author of this work is Wang Rui, and he's wirtten a

Re: [osg-users] Blending Multiple Texture on one triangle mesh with coordinate control

2010-09-19 Thread Robert Osfield
Hi Brian, To do multi-texturing you simple need to assign a texture coordinate array per texture unit you want to address, with a texture coord per vertex. So if you want two texture's you'll need to assign two texture arrays. The method to use is osg::Geometry::setTextureCoordArray(unit,

[osg-users] Hint for appropriate export format?

2010-09-19 Thread Werner Modenbach
My application is creating a scene with standard Geodes (vertex arrays, normal arrays etc.) I would like to export the 3D structure for further processing in external programs like ansys or to convert it in external converter programs into appropriate formats. I was advised to use IGES as

Re: [osg-users] Get objects nodes in *.obj file

2010-09-19 Thread John Kush
Hi, There are 3 objects in *.obj file. Is it possible to get their nodes in OSG in order to set different transformations? Thank you! Cheers, John -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=31757#31757

[osg-users] Mac OSX and osgversion

2010-09-19 Thread Daryl Lee
Hi, I just began familiarizing myself with OSG, and immediately ran into an installation problem. I downloaded the OSG version 2.8.0 Mac OSX installer, since it was the most recent version with a Mac installer. It seemed to install okay, and the two-pyramid starter project worked perfectly

[osg-users] The problem of translucent dialog with MFC+OSG

2010-09-19 Thread Hunjun Lu
Hi,everyone I have a program with VS2005+OSG2.8.2, use MFC SDI to display OSG 3D scene. When pick a certain object in 3D world, I want use a modeless dialog to show the infomation. In the function of OnInitDialog, I do something below: Code: BOOL CDlgDataView::OnInitDialog() {

Re: [osg-users] Hint for appropriate export format?

2010-09-19 Thread Trajce (Nick) Nikolov
Hi Werner, the OpenFlight writer seam to work good, and lately there were improvements posted for the 3ds as well. The first one format is pretty well supported in the vis-sim, the later is well supported in 3D in general -Nick On Sun, Sep 19, 2010 at 4:34 PM, Werner Modenbach

Re: [osg-users] [osgPlugins] Implementing ReaderWriter in a class within application binary

2010-09-19 Thread Thomas Dickerson
Hi Robert, Thank you for the time you take to make your response, and the level of information you included in it. Unfortunately I think you may have misunderstood my original question. I was not inquiring about the possibility of serializing my own classes into the native binary format, but

[osg-users] DatabasePager and CompileContext

2010-09-19 Thread Guy Volckaert
Hi, I think there are a few problems with compiling GL objects with the DatabasePager (in OSG 2.8.2). The following topic sums it up pretty well: http://forum.openscenegraph.org/viewtopic.php?t=1032start=0postdays=0postorder=aschighlight=compilecontext So far, I was able to compile all the

Re: [osg-users] DatabasePager and CompileContext

2010-09-19 Thread Guy Volckaert
I noticed a huge discrepency between loading an FLT with and without the DatabasePager. Before loading any database model, the number of TextureObject created is 16. When I load a model via readNode(), the number of TextureObjects created increases to 112 (for 96 textures objects for the

[osg-users] DatabasePager and TextureObjects

2010-09-19 Thread Guy Volckaert
I noticed a huge discrepency between loading an FLT with and without the DatabasePager. Before loading any database model, the number of TextureObject created is 16. When I load a model via readNode(), the number of TextureObjects created increases to 112 (for 96 textures objects for the

[osg-users] No dynamic Model load

2010-09-19 Thread Theo Diefenthal
Hi, we made a little driving simulator with different levels and we have a problem with dynamic loaded models from the ReaderWriter. We'd like to load all models when the level is changed and the scenegraph is created. After loading the models into the scenegraph, the simulation should start.

Re: [osg-users] [build] Problem Building OSG 2.8.2 with CMake 2.8 and VS2008

2010-09-19 Thread Elliott Dicus
Hello, Well, I realized I could use the precompiled version of osg for osgART... :-* (That worked great!) I'd still like to know what I was doing wrong if anyone has any answers! Good luck to anyone else using osg and osgART! :D Thanks again, Elliott -- Read this topic online