[Back from travel]
Hello Johannes,
On 2015-12-01 07:18, Johannes wrote:
> what is the state of affairs?
> Are you waiting for me to proceed or on a response from Gerrit?
I had hoped for an opinion/reason to go one way or the other :) Thinking
some more about this now the most convenient default behavior should
perhaps be:
// Fill FBO but only up to size of viewport. This will not scale the
// captured image unless it is larger than the destination.
w = osgMin(
static_cast<Int32>(_sfFrameBufferObject.getValue()->getWidth ()),
pEnv->getPixelWidth ());
h = osgMin(
static_cast<Int32>(_sfFrameBufferObject.getValue()->getHeight()),
pEnv->getPixelHeight());
osgGlBlitFramebuffer(
pEnv->getPixelLeft (),
pEnv->getPixelBottom(),
pEnv->getPixelRight ()+1,
pEnv->getPixelTop ()+1,
0, 0, w, h,
Which is what I'm going to commit for now. If I've overlooked a use-case
where this behavior is problematic/not helpful let me know and I'm happy
to adjust it.
Thank you for your contribution,
Cheers,
Carsten
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users