Robert Osfield
2caf460300
Added missing #include <osgUtil/Export>
2008-01-06 17:53:21 +00:00
Robert Osfield
57475ed8fe
Added exports for Windows build
2008-01-06 10:52:23 +00:00
Robert Osfield
2aca19a4e6
From David Callu, further work in support of shapefile support in VirtualPlanetBuilder
2007-12-26 21:39:29 +00:00
Robert Osfield
5a79032599
Added copyright notice and tweaked genwrapper
2007-12-21 17:33:00 +00:00
Robert Osfield
095288bb47
Removed inappropriate inline
2007-12-21 15:46:50 +00:00
Robert Osfield
4889342c4a
From Paul Martz, Introduced osg::OcclusionQueryNode with support for OpenGL occlusion query extension
2007-12-21 14:45:16 +00:00
Robert Osfield
cf1a30841a
From David Callu, various classes in support of VirtualPlanetBuilder
2007-12-21 13:07:54 +00:00
Robert Osfield
2c0842c7b7
Added an optional use of doubles for computing error metrics to help investigate precision issues seen in VPB when working with small segments of geographic data.
2007-12-20 15:50:07 +00:00
Robert Osfield
c5704586f9
From Richard Schmidt, "attached you will find a set of small fixes and features.
...
CullVisitor/SceneView:
*Feature: This version supports multiple clearnodes in the graph, one per renderstage.
Text:
*Feature: Performance Enhancement when calling SetBackdropColor
Material:
*Fix: OpenGL calls are now made according to the OpenGL Standard
"
2007-12-10 20:30:05 +00:00
Robert Osfield
f4afa427a7
From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)."
2007-12-10 17:30:18 +00:00
Robert Osfield
65bef96a6e
From Peter Hrenka, "Due to popular demand I would like to submit this
...
enhanced version of PolytopeIntersector.
New features of PolytopeIntersector :
* Dimension mask: The user may specify the dimensions of the
primitives to be tested. Checking polytope-triangle and
polytope-quad intersections is rather slow so this can
be turned off.
* Reference plane: The resulting intersections are sorted
by the distance to this plane.
New memebers of PolytopeIntersector::Intersection :
* distance: Distance of localIntersectionPoint to the reference plane
* maxDistance: Maximum distance of all intersectionPoints to the
reference plane.
* intersectionPoints: The points intersecting the planes of the polytope
or points completely inside the polytope.
* localIntersectionPoint: arithmetic mean of all intersection points
* primitiveIndex: Index of the primitive that intersected
I added some more output to the example osgkeyboardmouse."
2007-12-08 16:37:05 +00:00
Robert Osfield
1b1c5bbdd1
Added support for new double Vec*Array classes in various functors.
2007-12-04 14:46:46 +00:00
Robert Osfield
8e7e6529be
From David Callu, warning fixes
2007-09-07 15:03:56 +00:00
Robert Osfield
b20d542317
From David Callu, improved consistency of Version strings and add version support
...
for osgIntrospection and osgManipulator.
2007-09-05 17:12:24 +00:00
Robert Osfield
efc7ff6b02
Rearrange _stateset member variable to avoid compile warning
2007-09-04 09:00:38 +00:00
Robert Osfield
4ba3f3c1a1
Changed RenderLeaf and StateGraph so that they use ref_ptr<> by default for Drawable and StateSet.
2007-08-31 16:05:24 +00:00
Robert Osfield
ac6140a33d
Fixed zfar setting
2007-08-17 16:10:45 +00:00
Robert Osfield
c2930e5ec1
Added getStart()/getEnd()
2007-08-12 13:18:50 +00:00
Robert Osfield
113805c78a
From Jean-Sebastien Guay, "adds osgUtil::LineSegmentIntersector::setStart(osg::Vec3d) and
...
setEnd(osg::Vec3d)."
2007-08-12 13:17:37 +00:00
Robert Osfield
9b04594126
Compile fix
2007-08-09 08:19:58 +00:00
Robert Osfield
e3b7b2f617
Added new statc prototype() and create() methods to CullVisitor and DatabasePager to allow overriding of the default implementations
2007-08-08 08:10:38 +00:00
Robert Osfield
8fa79e8c7e
Ported across Viewer's to use osgUtil::GLObjectOperation, added second option
...
in GLObjectOperation to handle cases when no subgraph is registered, in these
case the code now compile all Camera subgraphs.
2007-07-30 10:52:37 +00:00
Robert Osfield
6dec61842d
Introduce Camera::s/getRenderer().
2007-07-28 10:28:40 +00:00
Robert Osfield
da95b907f1
Added missing export symbol.
2007-07-18 09:05:11 +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
a28588a84c
Introduce GraphicsOperation subclass from osg::Operation, and osgUtil::GLObjectOperation
...
for compiling subgraphs.
2007-07-13 17:25:35 +00:00
Robert Osfield
691a49d0fa
From Paul Melis, fixes to spelling mistakes/typos.
2007-07-11 15:51:17 +00:00
Robert Osfield
e7d7c1dcc2
Changed the way that computeNearFar is computed to avoid inconsistencies when in stereo mode
2007-07-02 13:17:47 +00:00
Robert Osfield
9c3ae6f3c2
Addded missing namespace
2007-06-15 08:36:35 +00:00
Robert Osfield
191e12c4b1
Added const get*Matrix() methods
2007-06-08 09:17:42 +00:00
Robert Osfield
005268e982
Fixes to help C# binding dev.
2007-05-26 15:49:35 +00:00
Robert Osfield
1e0af35900
Added code to better compute the view frustum that is appropriate for a traversed
...
subgraph.
2007-05-15 17:04:57 +00:00
Robert Osfield
963cd837e3
Added s/getLightingMode and s/getLight to osg::View to allow control of the viewers
...
global light source.
2007-05-07 22:07:23 +00:00
Robert Osfield
5325653f30
Cleaned up numToTop method
2007-04-25 10:32:28 +00:00
Robert Osfield
9db23e0b22
Fixed bug associated with complex RenderBin setup.
2007-04-16 12:18:56 +00:00
Robert Osfield
9b5bbe862d
From Mike Wittman, C# build fixes
2007-04-04 08:05:23 +00:00
Robert Osfield
eb4ad4229f
Moved osgProducer and osgproducerviewer out into their own repository.
...
Clean up the source for remaining references to osgProducer/Producer.
2007-02-27 13:16:18 +00:00
Robert Osfield
47622e6134
Fixed the FlattenStaticTransform visitor so that it excludes subgraphs that
...
contain PagedLOD nodes
2007-02-08 15:47:05 +00:00
Robert Osfield
424bc9b997
Clean up getDrawable() method
2007-02-06 14:20:04 +00:00
Robert Osfield
6d9641a78b
Added a concrete osg::DeleteHandler implementation which provides support for
...
retain objects for several frames before deleting them. Also added RenderStageCache
into CullVistor.cpp that is used for handling RTT osg::Camera's that are being
used in double buffered SceneView usage.
2007-02-02 12:41:13 +00:00
Robert Osfield
8dfc5155f4
Further work on new threading model.
2007-01-31 22:24:20 +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
60b5c68221
From Vlad Danciu, fixed leaf depth sort functor
2007-01-28 09:30:11 +00:00
Robert Osfield
27f6f7c790
Added access methods to PositionStateContainer
2007-01-27 14:27:54 +00:00
Robert Osfield
5bf2dfe3b1
Added _sorted flag into RenderBin to prevent a bin being sorted twice in one frame
2007-01-27 12:54:33 +00:00
Robert Osfield
0c5e9e5a2e
Added Program pointer to help with uniform apply.
2007-01-26 16:08:52 +00:00
Robert Osfield
7232a831da
Added osg::FrameStamp::set/getSimulationTime().
...
Added setting of osg_SimulationTime and osg_DeltaSimulationTime to the uniforms set by SceneView
Added frame(double simulationTime) and advance(double simulationTime) parameters to
osgViewer::SimpleViewer, Vewer and CompositeViewer.
Updated various examples and Nodes to use SimulationTime where appropriate.
2007-01-25 12:02:51 +00:00
Robert Osfield
c4279bd5f1
Ported following examples to osgViewer:
...
osgparticleeffects
osgphotoalbum
osgpick
osgpoints
osgpointsprite
osgprecipitation
osgprerender
osgprerendercubemap
osgreflect
osgscalarbar
osgscribe
osgsequence
osgplanets
2007-01-10 13:52:22 +00:00
Robert Osfield
c5082cb85c
Added support for vertex ratios into LineSegmentIntersector.
2007-01-10 10:40:12 +00:00
Robert Osfield
4954262eb0
Added View::computeIntersection implementation for a node withing a scene graph.
2007-01-10 10:09:05 +00:00