hi dirk, thanks a lot for your hints, after a few tests, i came up using the tilecameradecorator solution.
i have tested the application in mono and it's working pretty fine. Now i am thinking about doing the same thing in stereo, so I stacked the decorators as u suggested and run my code: tiledecL->setdecorator (leftVP->getcamera ()); // jitter camera leftVP->setCamera(tiledecL); tiledecR->setdecorator (rightVP->getcamera ()); // jitter camera rightVP->setCamera(tiledecR); m_pMgr->redraw(); glAccum (GL_ACCUM, 1.0/8.0); // after the accumulation phase: glDrawBuffer(GL_BACK); glAccum (GL_RETURN, 1.0); right now the accumulated buffer is overvriting both channels and the ending result is that i have lost the stereo image. The first thing i came up with is to create two helping pixel buffers in which store the temporary left-right accumulated images and keep switching them at every accumulation step. Does opensg have some kind of facility that helps accumulating the channels in automatic way? thanks, enrico -----Messaggio originale----- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di Dirk Reiners Inviato: martedì 8 maggio 2007 17.01 A: [email protected] Oggetto: Re: [Opensg-users] R: antialiasing in opensg Hi Enrico, Enrico Borrione wrote: > Hi andreas, hi dirk, > > thanks for the quick answers. I have another little question for you > always regarding the camera management for the antialias. > Since i am working to an application that uses multiple viewports > depending on the same camera and that the application already uses a > stereocameradecorator, i'd like to know if i can achieve the same > results as the tiledcameradecorator just altering the original camera > projection matrix. You don't have to, you can cascade Decorators. So using the Tile in front of the Stereo should be fine. Dirk ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
