Files
OpenSceneGraph/include/osg
Robert Osfield c481f022e9 From Wojciech Lewandowski, "Building on earlier Paul's submission "[osg-users] Main branch MSFBO support change", I have added implicit buffer mask variables to DisplaySettings for setting global defaults for Camera FBOs. These mask variables are named after variables in Camera class. In Paul's submission they were named _renderBufferMask & _resolveBufferMask but I renamed them to _implicitBufferAttachmentRenderMask & _implicitBufferAttachmentResolveMask. DisplaySettings implementation includes reading of environment vars and command line options. Setters and getters follow typical OSG naming convention. I also updated names of ImplictBufferAttachment enum bits to match changed naming scheme.
DisplaySettings now define COLOR and DEPTH as defaults for implicit buffers. Consequently Camera by default uses the same defaults through USE_DISPLAY_SETTINGS_MASK. However, particular Camera mask can be easily overriden through Camera::setImplicitBufferAttachmentMask method. I hope, that in this way we can have global control over implicit buffer defaults, and we can still retain fine grained control at Camera level.

I have also replaced original unsigned ints used to store masks to signed ints because complier resolves enums as signed integer (I got a number of warnings with unsigned int)."
2009-11-19 10:10:50 +00:00
..
2009-02-11 10:41:55 +00:00
2006-07-18 15:21:48 +00:00
2009-10-07 09:39:45 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2007-05-14 16:16:22 +00:00
2006-07-18 15:21:48 +00:00
2009-11-13 09:56:47 +00:00
2009-01-30 10:55:28 +00:00
2008-05-12 10:16:40 +00:00
2009-03-11 15:12:46 +00:00
2009-01-30 10:55:28 +00:00
2006-07-18 15:21:48 +00:00
2009-07-28 06:00:23 +00:00
2006-07-18 15:21:48 +00:00
2009-01-30 10:55:28 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2008-08-18 10:47:43 +00:00
2009-11-18 12:50:03 +00:00
2009-01-30 10:55:28 +00:00
2009-01-30 10:55:28 +00:00
2008-12-17 16:13:23 +00:00
2009-01-07 10:32:59 +00:00
2009-11-13 09:56:47 +00:00
2008-10-27 13:09:43 +00:00
2008-12-17 16:13:23 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2008-12-17 15:32:35 +00:00
2009-01-30 10:55:28 +00:00