Hello,

the HDR stage init method is not working for my setup. The code in void 
HDRStage::initData(RenderAction *pAction) (OSGHDRStage.cpp)


         pData = setupStageData(
             pAction->getActivePartition()->getViewportWidth (),
             pAction->getActivePartition()->getViewportHeight());

         pData->setWidth 
(pAction->getActivePartition()->getViewportWidth ());
         
pData->setHeight(pAction->getActivePartition()->getViewportHeight());

seems to be not working with my WIN32 window.
With pAction->getActivePartition()->getViewportWidth ()/height I always 
get a size of 2x2 (also if reinitialized after the window is created).

I had to exchange it with this:
        pData = setupStageData(
             pAction->getWindow()->getWidth (),
             pAction->getWindow()->getHeight());

         pData->setWidth ( pAction->getWindow()->getWidth ());
         pData->setHeight(pAction->getWindow()->getHeight());


So, maybe a problem of WIN32Window?

Cheers,
Volker

(Windows7, OSG2 updated 04-24-2012, 32bit and 64 bit build)


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to