Thanks Wang,
actually I figured it out. I study the code and yes, I am seeing the
Drawable calling the rendering method (doOneFrame()). However, the
OpenGLRenderManager in it's override of begin() is calling glClear() so no
matter I was doing mygui was keeping clearing the background even if ther
So is Github going to be the new official home of osg?
On Tue, Nov 10, 2015, 5:12 AM philippe renon
wrote:
> Thanks a bunch :)
>
>
> > I've provided Robert with the necessary security tokens to take over the
> > openscenegraph user account on github. Things should go smoothly from now
> > on.
>
For everyone who wants to use a bump map shader in osg you can find a working
code in the lines below.
The source file:
>
> #include
> #include
> #include
> #include
> #include
> #include
> #include
> #include
> #include
> #include
>
> #include
> #include
> #include
> #include
>
Hi Trajce,
This should be easy because MyGUI window is encapsulated in derived
osg::Drawable class and displayed in a HUD camera. You may simply set the
camera ortho matrix to a different value like (0.0, 0.4, 0.0, 0.4) to have OSG
scene as background.
Wang Rui
-- Original
I never thought, that I can say this. But I resolved my problem. Thank you
Scrawl for your tip using an own shader. I used the shaders from
http://fabiensanglard.net/bumpMapping/index.php (Vertex shader + Fragment
shader) and modified it in addition from
http://forum.openscenegraph.org/viewtopi
On 11 November 2015 at 16:55, Gianni Ambrosio
wrote:
> Hi Robert,
> I removed the xrandr version check just for a try.
>
> Some old RedHat and CentOS distributions (at least 5.9) uses an xrandr
> version 1.1.1.
>
> I also verified that width, height and refreshRate are correct even with
> xrandr
Hi Robert,
I removed the xrandr version check just for a try.
Some old RedHat and CentOS distributions (at least 5.9) uses an xrandr version
1.1.1.
I also verified that width, height and refreshRate are correct even with xrandr
1.1.1.
Regards,
Gianni
--
Read this topic online
Hi Gianni,
I don't recall the decision making process w.r.t the xrandr 1.2 version
check, it'll have been quite a few years back. My guess that was the
minimum version that looked appropriate at the time.
Just throwing away the version check is unlikely to be generally safe.
It'd only be safe if
Hi Anders,
here is what I do for this on Windows
while (!viewer->done())
{
#if defined(_WIN32)
MSG msg;
if (::PeekMessage(&msg,NULL,0,0,PM_NOREMOVE))
{
::GetMessage(&msg, NULL, 0, 0);
if (wins.size())
{
osgViewe
Hi,
I'm trying to get the screen refresh rate from
GraphicsWindowX11::getScreenSettings(...). Looking at the code I realized the
point is the xrandr version. In fact supportsRandr() methods require xrandr
version at least 1.2. But since I found the line:
OSG_NOTICE << "You must build osgViewer
Hi.
Trying the 3DConnexion SpaceNavigator with OSG. However I would like to
stay away from VRPN and such dependencies...
I was wondering how to best intercept Windows messages from the
GraphicsWindowWin32 class.
This class has a virtual method handleNativeWindowingEvent which I would
like to ove
11 matches
Mail list logo