[osg-users] window contents into osg::Image

2015-05-13 Thread Shayne Tueller
Hi, I have a window (windows 7) that is updated by another application's output at a 60Hz rate. The other application is embedding its output into this window based on the window's HWND handle. I would like to capture the window's contents and pipe it to an osg::Image to display on a textured

[osg-users] Window stucks while using 2 pass technique

2012-10-16 Thread Peterakos
Hello. I add to the viewer the following scene graph: Group MyEffect Model MyCamera Model The effect uses a 2 pass technique. In the first pass i render to texture the contents of color buffer 0 using MyCamera. In the second pass, i use the previous texture and i render

[osg-users] Window Event Queue not being fully processed?

2012-09-10 Thread Preet
Hi, I'm using GraphicsWindowEmbedded to draw a 3d viewport in a QtQuick application (osgQt is not applicable here). I pass mouse events from Qt over to OSG by adding them directly to the window's event queue (myGWE-getEventQueue()-mouseButton...). This seems to work as expected for the most part,

Re: [osg-users] window-in-window terrain view

2012-08-23 Thread Robert Osfield
Hi Dan, Have a look at the osgcompositeviewer example as this demonstrate how you set up multiple views that have separate or shared scene graphs. Robert. On 19 August 2012 18:55, Dan Marshal dash...@gmail.com wrote: Hi, I am using OSG to create a simple flight sim app. I want to have a

Re: [osg-users] window-in-window terrain view

2012-08-20 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
that you want to render. Hope this helps... -Shayne -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Dan Marshal Sent: Sunday, August 19, 2012 11:56 AM To: osg-users@lists.openscenegraph.org Subject: [osg-users

[osg-users] window-in-window terrain view

2012-08-19 Thread Dan Marshal
Hi, I am using OSG to create a simple flight sim app. I want to have a terrain 'window-in-window' to show the aircrafts path over the earth. The terrain view would have its own coordinates. Is there a simple way to create a view inside another view? Thank you! Cheers, Dan

Re: [osg-users] window position and size

2011-12-12 Thread Guy Volckaert
you caj also use the environment variable OSG_WINDOW, e.g.: set OSG_WINDOW = 40 40 640 480 Note: space delimited. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=44341#44341 ___ osg-users mailing

[osg-users] Window update

2011-10-21 Thread Filip Arlet
Hi, i have a big scene and it takes really long time to compute and draw everything. Is in osg some tool, that enables step by step rendering, so user can see that program is not frozen, but actually does something ? I dont need speeding things up, that is not an issue. No realtime rendering,

Re: [osg-users] Window update

2011-10-21 Thread Robert Osfield
Hi Filip, There isn't an option built into the OSG that you can just switch on to do the rendering incrementally and provide user feedback. If you want want to dig down into internals of the rendering backend you can implement something like this but it's not trivial, very much an advanced topic

Re: [osg-users] Window Position of Widget

2011-03-11 Thread Jeremy Moles
On Fri, 2011-03-11 at 01:17 +0100, Andrew Kos wrote: I have a widget button--which is essentially a label--inside a widget box which is placed somewhere within a viewer, say at 100x150. This button should open up, right below it, a dropdown menu, which is another box. The issue I'm having

[osg-users] Window Position of Widget

2011-03-10 Thread Andrew Kos
I have a widget button--which is essentially a label--inside a widget box which is placed somewhere within a viewer, say at 100x150. This button should open up, right below it, a dropdown menu, which is another box. The issue I'm having is that if I use getOrigin() or getPosition() for the

Re: [osg-users] Window re-size in osgOcean

2011-02-22 Thread Kim Bale
Hi Mahendra, You need to provide your own resize handler but within it you can call setScreenDims to resize the framebuffers. See: http://code.google.com/p/osgocean/source/browse/trunk/include/osgOcean/OceanScene#255 K. On 21 February 2011 14:55, Mahendra G.R mahen...@mahendragr.com wrote:

Re: [osg-users] Window re-size in osgOcean

2011-02-22 Thread Mahendra G.R
Hi Kim, Yes, i solved it, my mistake, didnt look at the screenDims function. Thanks, Regards On Tue, Feb 22, 2011 at 2:02 PM, Kim Bale kcb...@googlemail.com wrote: Hi Mahendra, You need to provide your own resize handler but within it you can call setScreenDims to resize the framebuffers.

[osg-users] Window re-size in osgOcean

2011-02-21 Thread Mahendra G.R
Hi, Is there a way to make the osgOcean handle the resize events for the window?, i tried adding an event handler in the example file, but it only resizes the window or makes it full screen but the ocean scene remains the same size, where can i find the resize or wiindow handler for osgOcean?.

Re: [osg-users] Window re-size in osgOcean

2011-02-21 Thread Mahendra G.R
Hi agian, I found another problem with osgOcean (or im missing something), i have loaded a model(.ive) along with the ocean(using the osgOcean example) however, i dont see any of the model's material properties displayed, but when i display the model with osgViewer, itseems fine. Thanks, Regards

Re: [osg-users] Window content stretching when resized after updating from 2.6.1 to 2.8.3

2010-12-02 Thread Robert Osfield
Hi Jasper, There is chance that the issue comes from a fix to a bug rather than introduction of a bug, with your original code working around the bug. Removing the workaround could well just fix things. The reason why I suggest that is that I recall merging fixes to the way the projection

Re: [osg-users] Window content stretching when resized after updating from 2.6.1 to 2.8.3

2010-12-02 Thread Jesper D. Thomsen
-Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield Sent: 2. december 2010 14:40 To: OpenSceneGraph Users Subject: Re: [osg-users] Window content stretching when resized after updating from

Re: [osg-users] Window content stretching when resized after updating from 2.6.1 to 2.8.3

2010-12-02 Thread Robert Osfield
Subject: Re: [osg-users] Window content stretching when resized after updating from 2.6.1 to 2.8.3 Hi Jasper, There is chance that the issue comes from a fix to a bug rather than introduction of a bug, with your original code working around the bug.  Removing the workaround could well just fix

Re: [osg-users] Window content stretching when resized after updating from 2.6.1 to 2.8.3

2010-12-02 Thread Jesper D. Thomsen
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield Sent: 2. december 2010 16:05 To: OpenSceneGraph Users Subject: Re: [osg-users] Window content stretching when resized after updating from 2.6.1 to 2.8.3 Hi Jasper, I don't understand the details of what you are attempting

Re: [osg-users] window position and size

2009-06-30 Thread Robert Osfield
Hi Guy, To set the size and position of a window you use the osgViewer::GraphicsWindow method: /** Set the window's position and size.*/ void setWindowRectangle(int x, int y, int width, int height) The GraphicsContext::resized() method only informs the context that the window

Re: [osg-users] window position and size

2009-06-30 Thread Guy Volckaert
You're the man!!! Thanks. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=14697#14697 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] window position and size

2009-06-29 Thread Guy Volckaert
Hi, I've implemented the osg::GraphicsContext::ResizedCallback to get notified when the user resizes the window via the mouse. That work perfectly. However, I also need to change the window size programatically (when the user presses a button, for example). I tried calling

Re: [osg-users] window

2008-05-13 Thread Robert Osfield
On Tue, May 13, 2008 at 8:33 AM, Miriam D'Elia [EMAIL PROTECTED] wrote: Hi Robert, we apologise, but only yesterday I noticed that pressing the button f you switch from full-screen display to display in a window. osgProducer::Viewer is a everything and the kitchen sink viewer so does contain

[osg-users] window

2008-05-12 Thread Miriam D'Elia
Hi, I design my scene with osgProducer and I want to bring up the design inside a window. I design my scene with osgProducer and I want to bring up the design inside a window. With the code that I wrote, the window appears, the scene rather not see. How can I do? Miriam int main() {

Re: [osg-users] window

2008-05-12 Thread Robert Osfield
Hi Miriam, I don't really understand exactly what you are after. The best I can do is suggest you have a look at the OSG examples to see how they set up windows. If you need Producer specific support then you question is probably best logged on the Producer mailing list. The other alternative

[osg-users] Window-viewport-FBO-texture

2008-01-11 Thread HUTTERER ARIEL
Hi: I try to render to a texture Through FBO. I want to render to a big texture. I see that the viewport and the texture must have the same size. The Viewport could be bigger than a window??? The viewport couldn't be bigger than a Graphic Context? Could the graphic context have different size than

Re: [osg-users] Window-viewport-FBO-texture

2008-01-11 Thread HUTTERER ARIEL
-Original Message- From: HUTTERER ARIEL Sent: Friday, January 11, 2008 12:09 PM To: 'osg-users@lists.openscenegraph.org' Subject: Window-viewport-FBO-texture Hi: I try to render to a texture Through FBO. I want to render to a big texture. I see that the

Re: [osg-users] Window titlebar icon/text

2007-11-17 Thread sherman wilcox
The most straightforward way is platform specific. Look for SetWindowText and WM_SETICON On Nov 16, 2007 6:49 AM, Robert Balfour [EMAIL PROTECTED] wrote: I'm using the osgViewer class on WinXP. Is there a straightforward way to set the application icon and text on the window titlebar? (or do I

[osg-users] Window titlebar icon/text

2007-11-16 Thread Robert Balfour
I'm using the osgViewer class on WinXP. Is there a straightforward way to set the application icon and text on the window titlebar? (or do I get the native window handle and do it platform-specific) Thanks. Bob. -- Robert E. Balfour, Ph.D. Exec. V.P. CTO, BALFOUR Technologies LLC 960 South

[osg-users] Window resize

2007-10-15 Thread Johan Johnsson
When the process runs in windowed mode, it is not possible to modify the size of the window. It should be possible to resize the window by standard MS Windows conventions. why does this occur and how can i fix this irritating problem? has it something to do with the traits struct? -- Mr.

Re: [osg-users] Window resize

2007-10-15 Thread Adrian Egli
UNIX/OSX/LINUX export OSG_WINDOW=50 50 200 50 Windows set OSG_WINDOW=100 100 512 512 2007/10/15, Johan Johnsson [EMAIL PROTECTED]: When the process runs in windowed mode, it is not possible to modify the size of the window. It should be possible to resize the window by standard MS Windows

Re: [osg-users] Window resize

2007-10-15 Thread Adrian Egli
Look into the source code, who it's done there. 2007/10/15, Adrian Egli [EMAIL PROTECTED]: UNIX/OSX/LINUX export OSG_WINDOW=50 50 200 50 Windows set OSG_WINDOW=100 100 512 512 2007/10/15, Johan Johnsson [EMAIL PROTECTED] : When the process runs in windowed mode, it is not possible to

Re: [osg-users] Window resize

2007-10-15 Thread David Callu
Hi Johan, HI Adrian Can you give more info on your platform? Can you develop why now the dimension is locked? Which method did you use ? David 2007/10/15, Johan Johnsson [EMAIL PROTECTED]: On Mon, 15 Oct 2007 11:40:53 +0200, Adrian Egli [EMAIL PROTECTED] wrote: think you got

Re: [osg-users] Window resize

2007-10-15 Thread Johan Johnsson
Platform: Mindows OS // Fill the traits structure and get the GraphicsContext for the MAIN window osg::ref_ptrosg::GraphicsContext::Traits traits = new osg::GraphicsContext::Traits; traits-screenNum = 0; traits-doubleBuffer = true; traits-sharedContext = 0;

Re: [osg-users] Window resize

2007-10-15 Thread Stephan Maximilian Huber
Johan Johnsson schrieb: Platform: Mindows OS // Fill the traits structure and get the GraphicsContext for the MAIN window osg::ref_ptrosg::GraphicsContext::Traits traits = new osg::GraphicsContext::Traits; traits-screenNum = 0; traits-doubleBuffer = true;

[osg-users] window border

2007-10-02 Thread Claudio Arduino
hi! this is my code: osg::ref_ptrosg::viewer v=new osg::viewer(); v.setUpViewInWindow(515,0,512,512,0); viewer.frame(); the window that wil be created has the borders, is it possible to create a window without borders? thanks! ___ osg-users

Re: [osg-users] window border

2007-10-02 Thread Robert Osfield
HI Caludio, If you want fine grained control over window set up you'll need to specify the window traits yourself. See the osgwindow example. Robert. On 10/2/07, Claudio Arduino [EMAIL PROTECTED] wrote: hi! this is my code: osg::ref_ptrosg::viewer v=new osg::viewer();

Re: [osg-users] window border

2007-10-02 Thread maruti borker
you mean to say borders which come by default in the desktop enviornment you are working in ??? On 10/2/07, Claudio Arduino [EMAIL PROTECTED] wrote: hi! this is my code: osg::ref_ptrosg::viewer v=new osg::viewer(); v.setUpViewInWindow(515,0,512,512,0); viewer.frame(); the window that

Re: [osg-users] window restored to center of screen

2007-09-19 Thread David Callu
Hi Johan, This done by the osgViewer::WindowSizeHandler::toggleFullScreen() method. You can reimplement your own Handler to do what you want like you want :-) Cheers David 2007/9/17, Johan Johnsson [EMAIL PROTECTED]: as i press f in fullscreenmode the windowmode arrives, the window