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
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
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,
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
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
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
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
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,
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
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
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
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:
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.
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?.
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
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
-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
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
[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
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
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
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
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
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()
{
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
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
-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
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
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
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.
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
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
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
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;
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;
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
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();
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
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
39 matches
Mail list logo