-
Here's how I'm actually using it. This code, I hope, will show you the extra methods and functionality I added to further extend your code to better manipulate the manipulator camera.
I've inclucde the subclass of CCompositeViewerGtkmm, called CCompositeViewerGtkmmExt and I've included my version of the Trackball Manipulator called CSceneMatrixManipulator
************ HEADER...
2009-05-29 15:14:28 UTC by allensaucier777
-
Fantastic!
but I don't see a way to "attach" a file for you, so I'll post the code here in this message:
******** HEADER ************
/**
* *************************************************************************
* \file CCompositeViewerGtkmm.h
* \brief Header for the composite viewer gtkmm class
*
*
* This class is based on Rick L. Vinyard, Jr. code for his osgGtk...
2009-05-29 15:09:14 UTC by allensaucier777
-
Sure. Send it along and I'll get it or a modified version or something incorporated.
2009-05-15 20:48:40 UTC by rvinyard
-
Well, I've certainly got something, however, it's based ENTIRELY on your code. Would you mind if I sent it to you so that you can put your thumb print on it? As it stands, I don't want my company to "own" the code since I really didn't write it.
But, I've certainly got an example that works.
2009-05-15 19:53:39 UTC by allensaucier777
-
I haven't messed with that, although I've seen a few examples floating around. IIRC they used a common opengl context and let OpenSceneGraph do the work.
That's probably the best approach to take.
If you get something working it would be great to incorporate a small example.
2009-05-11 18:15:23 UTC by rvinyard
-
I need to know: Does your code support having multiple cameras controlled by the same viewer but each "camera" being controlled separately from the others?
I've actually got code that opens a new gtkmm window with a new graphics window that is a separate camera into the same scene but when I move one camera in one window, both cameras (primary and the slave I just added) move the...
2009-05-07 18:53:02 UTC by allensaucier777
-
I got it. It works!! :-)
2009-05-07 18:48:02 UTC by allensaucier777
-
Thanks! I will.
2009-05-06 22:03:04 UTC by allensaucier777
-
> Is there a better way?
Give this a shot:
./configure --enable-gtkmm
make install.
2009-05-06 14:46:13 UTC by rvinyard
-
Partial Solution:
I just put the required file: osgGtkmm.h into the /usr/local/include/osgGtk-0.1 directory.
Also copied the osgGtkmm directory from the tar.gz into the same osgGtk-0.1 directory so that those headers were found, too.
Is there a better way?
--Allen.
2009-05-06 14:25:13 UTC by allensaucier777