Re: [osg-users] openscenegraph openGL context error in Qt

2013-10-25 Thread Lokesh Kumar
gambr wrote: Hi Lokesh, you can find an osgviewerQT example in osg distribution. Anyway I attach an example of a CompositeViewer I'm using for testing that is a little bit different. It uses osgQt. Cheers, Gianni thanks gambr for reply. yeah.. i will give try to your attached osgQt

[osg-users] openscenegraph window in qt not showing

2013-10-23 Thread Lokesh Kumar
Hi, what i'm doing:- i'm creating an OpenSceneGraph based application by integrating openscenegraph scene with QT GUI windowing system. i'm using QML based UI navigation (QML views sits inside a QWidget which in turn sits inside Borderlayout(as center widget) of Parent QWidget(main window)).

[osg-users] How to apply multiple textures to a model in openscenegraph?

2013-07-31 Thread Lokesh Kumar
Hi, I have a flt model and multiple *.dds texture files in a Directory :- my folder directory structure:- my_folder |- terrain.flt |- road.dds |- city.dds |- building1.dds |- building2.dds |- building3.dds |- building3.dds

[osg-users] opengl errors in compiling Openscenegraph 3.1.8 with Qt 5.0.2

2013-07-31 Thread Lokesh Kumar
Hi, I'm trying to compile openscenegraph-3.1.8 with Qt 5.0.2 using mingw-32 compiler after configuring with cmake 2.8.11 on windows 7 (basic). But, in the compilation process i got the following errors :- Code: In file included from

[osg-users] How to apply textures to a model in openscenegraph?

2013-05-23 Thread Lokesh Kumar
Hi, I have a flt model and multiple *.dds texture files in a Directory :- my folder contains :- (1) terrain.flt (2) road.dds (3) buildings.dds (4) banners.dds I know how to read and apply single .dds texture file to my model (terrain.flt) :- osg::ref_ptrosg::Node terrainModel

Re: [osg-users] How to apply textures to a model in openscenegraph?

2013-05-23 Thread Lokesh kumar
Robert Osfield robert.osfield@... writes: Hi Lokesh, Your OpenFlight model references all the textures it needs, and if you want to replace or apply new ones you should simply reload the model in Creator or other compatible modelling tool and apply the changes you need then save

Re: [osg-users] How to apply textures to a model in openscenegraph?

2013-05-23 Thread Lokesh kumar
Robert Osfield robert.osfield@... writes: Hi Lokesh, The easist thing to do would be to use osgconv to convert the files to native OSG binary format .osgb and have osgconv do the compression for you. Use osgconv --help for the options. The other alternative to to write your own

Re: [osg-users] How to apply textures to a model in openscenegraph?

2013-05-23 Thread Lokesh Kumar
Sergey Kurdakov sergey.forum@... writes: Hi Lokesh in http://www.packtpub.com/openscenegraph-3-0-beginners-guide/book on support tab for the page of the book you may download sample code, in \2824_12_Code\2824_12_Code folder from download zip there is sharing_textures.cpp which has a