I haven't looked into window resizing with CEGUI yet, but I did submit some code to osg-submissions that has a working example of interfacing OSG 2.9.7 with CEGUI 0.7.1, so you can refer to that submission (still pending review) for a complete example.
To correct the mouse cursor, you need to do the following in the CEGUIEventCallback::handle: float x = ea.getX(); float y = ea.getY(); // CEGUI wants 0,0 in the top left corner; osg has 0,0 in the bottom left corner y = ea.getWindowHeight() - y; Alex -----Original Message----- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of PaweE GC3ralski Sent: Wednesday, May 12, 2010 5:08 PM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] [Solved] OSG and CEGUI 0.7 I've checked latest 0.7.1 snapshots and SVN. Problem with resize remains (crash when sending new window size to CEGUI system). I've also managed to display CEGUI controls with OSG (osg code appeared to be good, the problem was my framework based on Qt, I switched to SDL and everything begun to display correctly, though I have one issue with origin of y coordinates). When I move mouse up, CEGUI cursor moves down. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27830#27830 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g This communication, along with any attachments, is covered by federal and state law governing electronic communications and may contain company proprietary and legally privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, use or copying of this message is strictly prohibited. If you have received this in error, please reply immediately to the sender and delete this message. Thank you. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org