Here is a really simple Fox integrated viewer using SceneView.

http://philski.dyndns.org/code/osgFOX.tar.gz

It simply loads "cow.osg" (included with OSG) (must be in the same directory
or path), but shows how to set up (a very basic) Fox application with a very
basic layout and a FXGLVisual/FXGLCanvas.

(the OSG code is very similar under Qt ... place the "drawScene()" code into
"paintGL()" and the code that resides in FOX's constructor can be placed in
Qt's opengl widget constructor)

As Daniele said, do bear in mind the difference in licenses before you set
out to learn a toolkit.

Philip Hahn

On 11/16/06, Daniele Bellandi <[EMAIL PROTECTED]> wrote:


>
> > we don't familiar with any GUI toolkit for c++ in linux.
> > where can I download Qt? there is a explanation how to work with
> > it?(tutorials or something?)
> >  a friend suggest us to use CEGUI, but we have troubles to compile
> > it...( we are very newbies in linux.)
> >
Hi,
I use fox since a couple of years..it is a good toolkit, with a good
number of examples... but poor of documentation..
I haven't just tried to integrate with osg, as soon as I'll have a bit
of time I'll try and I'll let you know.

vxWidgets and qt are two good tookits, too; and some distribution(like
slackware) has got by default the qt-designer installed, that allows to
create widgets by graphical interface.
Try to type 'designer' in a shell :))

Pay attention..compile Qt may be not so simple...

If you want to produce a commercial application, pay attention to the
kinds of  licences!
QT is GPL,
FOX and vxWidgets are LGPL.



Bye,
Daniele
>
-- ------------------------------
Daniele Bellandi
BK S.r.l.

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to