Robert Osfield
90ea0bd95f
From Michael Platings and Paul Palumbo, multi-sample FBO support
2008-06-18 14:09:11 +00:00
Robert Osfield
9724303f38
From Art Trevs, moved multile render targets support from RenderStage into FrameBufferObject.
...
From Robert Osfield, refactored the FrameBufferObejcts::_drawBuffers set up so that its done
within the setAttachment method to avoid potential threading/execution order issues.
2008-04-15 19:36:40 +00:00
Robert Osfield
db8cb2a644
From Jose Delport, added support for MRT via glDrawBuffers
2008-04-02 17:08:40 +00:00
Robert Osfield
64f8631d9d
Added Camera::s/getClearAccum, s/getClearStencil and s/getClearDepth.
2008-03-31 11:44:31 +00:00
Robert Osfield
1f0edca631
Added support into osg::RenderInfo for a stack of Cameras that allow querries
...
of which camera is currently active to be querried from within the draw traversal.
2007-07-14 17:07:59 +00:00
Robert Osfield
fd0ea388c2
Began work on providing support for threading camera cull traversals in parallel with
...
the previous frames draw traversal. Changes range from osg::State, through osgUtil::RenderBin, through to osgViewer
2007-01-29 22:44:29 +00:00
Robert Osfield
fd2ffeb310
Renamed osg::CameraNode to osg::Camera, cleaned up osg::View.
...
Added beginnings of new osgViewer::Scene,View,Viewer,CompositeViewer and GraphicsWindowProxy files.
2006-11-27 14:52:07 +00:00
Robert Osfield
b82e521444
From Mauricio Hofmam, added support for reading images from all osg::CameraNode attachments in RenderStage.
2006-11-27 11:25:40 +00:00
Robert Osfield
def74d3471
Introduced new osg::View, and osg::RenderInfo classes into the core OSG to help
...
handle scenes with multiple views with elements that need coordinating on a per view basis.
Added beginings of new osgText::FadeText class (not functionality yet).
2006-09-18 20:54:48 +00:00
Robert Osfield
625c0173b2
Missing part of Farshid Laskari's submission relating to CameraNode RenderOrder.
2006-09-04 13:35:26 +00:00
Robert Osfield
f1c2694c17
Updated copyright years.
2006-07-18 15:21:48 +00:00
Robert Osfield
2815622c35
Improved stats handling, and fixed a couple of stats bugs.
2005-12-15 17:14:40 +00:00
Robert Osfield
857b3e03c3
Added sorting and clearing of pre and post RenderStages stored in RenderStage,
...
and added some debugging comments which are currently commented out from compilation -
these are left in just in case future debug work requires them.
2005-11-08 11:46:52 +00:00
Robert Osfield
3402a5087c
Fixed setCameraRequiresSetUp so it properly uses the bool passed to it.
2005-11-02 11:55:02 +00:00
Robert Osfield
a380a49509
Improved the fallback mechanism from FBO, down to PBuffer_RTT down to PBuffer down to frame buffer.
2005-10-06 11:26:07 +00:00
Robert Osfield
5cb66efc86
Moved the testing and setting up of FBO/Pbuffer extension from CullVisitor to
...
support into RenderStage to allow better fallback implementations.
2005-10-05 16:21:51 +00:00
Robert Osfield
21cabaf5f6
Renamed osgUtil::RenderStageLighting osgUtil::PositionalStateContainer
2005-09-02 10:35:38 +00:00
Robert Osfield
ac07e07705
Further work on GraphicsContext/GraphicsThread
2005-08-20 08:59:03 +00:00
Robert Osfield
84618ffcb3
Merged RenderToTextureStage functionality into RenderStage
2005-08-17 10:12:49 +00:00
Robert Osfield
8dd013171c
Ported all the render to texture examples across to using the new osg::CameraNode.
...
Added support for texture cube maps in FBO + CameraNode.
2005-07-19 16:30:55 +00:00
Robert Osfield
71122ff38f
Work on the RenderToTexture usage of the new osg::CameraNode. Both osghud
...
and osgprerender now ported across to osg::CameraNode.
2005-06-14 20:51:35 +00:00
Robert Osfield
e229a8cb67
Updates to clean up wrapper generation, and to update wrappers
2005-05-24 15:34:23 +00:00
Robert Osfield
276dfbd0ad
Added support for setting the default render bin sort mode via the
...
env OSG_DEFAULT_BIN_SORT_MODE variable or via or RenderBin::setDefaultRenderBinSortMode()
method.
2005-05-19 15:17:53 +00:00
Robert Osfield
538ced579e
Removed deprecated API in preparation for 0.9.9 release.
2005-05-09 13:09:07 +00:00
Robert Osfield
678b22ce83
Updated Copyright notices to 1998-2005.
2005-04-14 21:41:28 +00:00
Robert Osfield
37c8b3a6fb
From Geoff Michel, typos and spelling fixes.
2004-09-26 18:39:34 +00:00
Robert Osfield
9b33dee6ac
Made the member variables in RenderStage and RenderBin protected
2004-08-02 12:19:50 +00:00
Robert Osfield
06aa06d686
Added support for setting texture units in the new TexGenNode.
2004-06-17 14:02:15 +00:00
Robert Osfield
b73d3c3e7f
Fixed typo in inline docs on the default value of the clear stencil value
2004-02-19 10:10:25 +00:00
Robert Osfield
1998bdef86
Moved osg::Statistics to osgUtil::Statistics and merged addition to it
...
fro Pavel Moloshtan.
2003-07-15 13:46:19 +00:00
Robert Osfield
48bda9cc79
Added new Copyright/License notice to header and source files.
2003-01-21 16:45:36 +00:00
Robert Osfield
f36bc69c58
Made the more of the OSG's referenced object desctructors protected to ensure
...
that they arn't created on the stack inappropriately.
Split the implemention of Matrix up so that it is a simple no referenced counted
class and can be safefly created on the stack. To support referenced counting a
seperate subclass now exists, this is RefMatrix which inherits from both Matrix and
Object.
2003-01-10 09:25:42 +00:00
Robert Osfield
00cc3a1833
Converted the instance of osgNew and osgDelete back to new and delete as part
...
of depecating the include/osg/MemoryManager
2002-12-16 13:40:58 +00:00
Robert Osfield
e1b084749e
Renamed the RenderBin::sort_local to sortImplementation(),
...
draw_local to drawImplementation() and added a new RenderBin::DrawCallback().
Added osgcubemap to the Make/ test scripts.
2002-10-17 13:48:46 +00:00
Robert Osfield
68384e984b
Made the calls to the drawing of the pre rendering stages exclit, using
...
a seperate method in RenderStage and associated calls in sceneView.cpp.
This fixes problems when doing stereo and prerender at the same time.
2002-09-19 09:52:50 +00:00
Robert Osfield
ed43d97ed3
Improved the sort callback support in osgUtil::RenderBin, and removed the
...
now rendundent DepthSortedBin class.
2002-09-17 15:47:23 +00:00
Robert Osfield
12226e4371
Converted the instances of const built in types being returned from methods
...
and passed as paramters into straight forward non const built in types,
i.e. const bool foogbar(const int) becomes bool foobar(int).
2002-09-02 12:31:35 +00:00
Robert Osfield
48b3be40e9
Various fixes to constructors to ensure that all variables are initialized.
2002-07-20 23:54:55 +00:00
Robert Osfield
3a964a6b93
Updated docs and added osgGA
2002-07-16 20:07:32 +00:00
Robert Osfield
ae8076f83b
dded osg::ClipNode class for managing OpenGL clipping planes, and osgclip demo.
2002-05-02 00:14:40 +00:00
Robert Osfield
9b2fe06896
Fixed compile problem related to missing includes (a result of removing include of Camera..)
2002-04-13 11:08:04 +00:00
Robert Osfield
6f65e86057
Further work on removing Camera references from NewCullVisitor and releted
...
classes, this work paves the way for making osg::Camera an optional
extra rather than a requirement for rendering.
2002-04-09 16:09:19 +00:00
Robert Osfield
386b87d4a0
Cleand up the root Makefile.
...
Moved CullVisitor/RenderStage/RenderStageLighting across to managing lights
entirely within RenderStageLighting, and changed the management of modelview
matrices so that RenderLeaf now stores the absolute modelview matrix, rather
than a model matrix as done previously. The later allows RenderLeaf's to do
a glLoadMatrix rather than a glPushMatrix/glMultMatrix/glPopMatrix.
2002-02-11 19:51:24 +00:00
Robert Osfield
4c5fcd3f61
Fixes for IRIX and Boris Bralo's TerraPage loader.
2002-02-08 09:30:02 +00:00
Robert Osfield
c1283c23e8
Removed the trailing ; after namespace {...} declariations in headers
...
which was being picked as a warning under Codewarrior.
2002-02-03 12:33:41 +00:00
Robert Osfield
02ef10fcfa
Moved all references to osg::Cloner to osg::CopyOp.
2002-01-29 14:04:06 +00:00
Robert Osfield
f612924a45
Added support for shallow and deep copy of nodes, drawables and state, via a
...
copy constructor which takes an optional Cloner object, and the old
osg::Object::clone() has changed so that it now requires a Cloner as paramter.
This is passed on to the copy constructor to help control the shallow vs
deep copying. The old functionality of clone() which was clone of type has
been renamed to cloneType().
Updated all of the OSG to work with these new conventions, implemention all
the required copy constructors etc. A couple of areas will do shallow
copies by design, a couple of other still need to be updated to do either
shallow or deep.
Neither of the shallow or deep copy operations have been tested yet, only
the old functionality of the OSG has been checked so far, such running the
viewer on various demo datasets.
Also fixed a problem in osg::Optimize::RemoveRendundentNodesVisitor which
was not checking that Group didn't have have any attached StateSet's, Callbacks
or UserData. These checks have now been added, which fixes a bug which was
revealled by the new osgscribe demo, this related to removal of group acting
as state decorator.
method
2002-01-28 21:17:01 +00:00
Robert Osfield
34a4c18a26
Beginings of support for quad bufferd, red/green, and slit screen stereo.
2001-12-02 22:20:46 +00:00
Robert Osfield
b45aa55555
Integrated updates to stats sent in my Geoff Michel.
2001-11-04 19:29:20 +00:00
Robert Osfield
25c8b05914
Integrated Geoff Michel's updates to Stats code, whilest move all text rendering
...
back in the viewer from the Statistics header.
Added a osg::State::captureCurrentState(StateSet&) method and a copy constructor
to osg::StateSet.
2001-10-22 22:02:47 +00:00