Hello all,

This isn't a solution, but just for cross-reference Delta3D has a custom osg::Drawable that we use to intergrate CEGUI. Perhaps the implementation can help since we do not see this problem in any of our apps. The code can be found in our source tree at:

delta3d/inc/dtGUI/ceuidrawable.h
delta3d/src/dtGUI/ceuidrawable.cpp

-chris

Robert Osfield wrote:
HI Manuel,

I haven't done any more work on the osgcegui example, so it still
fails, but then I have close to zero experience with CEGUI... which is
why I was hoping that other kindly soles might be able to get it
working.

The general approach of using a custom Drawable would certainly be the
easist route to adding CEGUI to an OSG application, as it encapsulates
both the rendering and the event handling in an encapsulated why - all
you need to do is add the drawable to your scene and your done, no
messing around integrating it with your viewer code.

Robert.

On 8/14/06, Manuel A. Fernandez Montecelo <[EMAIL PROTECTED]> wrote:


Anything new about this? I keep getting this error, which I think that it's
what you mean by "didn't change the results":

------------------------------------------------------------------------------
DI5
Warning: detected OpenGL error 'invalid value' at
CEGUIDrawable::drawImplementation
DI6
------------------------------------------------------------------------------

As I told you in another mail, I used my own files, known to work with 0.4.1, so it's not a problem with your data files but with something else. Anyway, you can get working files from Samples/datafiles/, TaharezLook is the default
theme.

I could get it kind of working with test applications a few days ago (using a camera, as osghud example); but in one of them the background of the window
was transparent, and in the other one the whole viewport is rendered with
brown color (but if I move the window or change from fullscreen to window, I can see for a fraction of a second the proper scene rendered below). Now I
switched to CEGUI 0.5, and in one of the test apps I can get a background
image with CEGUI rendered (although it should use more stuff).

Is your CEGUIDrawable really a better approach? I'd like to know before I
invest much time in my "gui-camera" solution, trying to get it to work
properly :)

Greetings.


On Saturday 05 August 2006 13:13, Robert Osfield wrote:
> On 8/4/06, Jeremy Moles <[EMAIL PROTECTED]> wrote:
> > I don't actually see the source file in CVS--just the directory...
>
> It is now checked in.  I also added a state.disableAllVertexArrays()
> but alas this dindn't change the results.
>
> Robert.
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/

--
Manuel A. Fernandez Montecelo <[EMAIL PROTECTED]>
_______________________________________________
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/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to