Robert Osfield
81213d47d8
From Andy Skinnder, warning fix
2006-12-14 14:44:10 +00:00
Robert Osfield
3177494aa4
From Bryan Thrall, "Currently, the DatabasePager always loads requested Nodes using the
...
default Registry Options object, but it would be useful to be able to
request loading with a different Options object. The attached files
allow you to do that (based off the OSG 1.2 source).
For example, I'm implementing a loader that requires context information
when it pages in subgraphs, which becomes significantly complicated when
multiple scenegraphs are requesting subgraph loads with different
contexts (the loader needs to know which context to use, and the
Registry Options needs to be carefully managed so the context settings
don't clobber each other, especially in multithreaded situations). Being
able to pass an Options instance along with the Node request resolves
this problem."
2006-12-05 14:50:46 +00:00
Robert Osfield
afa96fff0e
Added more accurate computation of local height above sea level in the plane intersections routines
2006-12-05 12:58:29 +00:00
Robert Osfield
56b7268c72
Added copying of plane to surface intersections in the osgUtil::PlaneIntersector class, and update wrappers.
2006-12-03 11:44:12 +00:00
Robert Osfield
8d85636b50
Fixed typo and updated wrappers
2006-11-30 18:42:38 +00:00
Robert Osfield
ab7d1ecc42
Further work on PlaneIntersector
2006-11-29 14:21:59 +00:00
Robert Osfield
3f0c9caa48
Cleaned up inheritance
2006-11-29 10:51:10 +00:00
Robert Osfield
b6e1924192
Fixed build errors in osgViewer
2006-11-28 20:35:31 +00:00
Robert Osfield
a2e79f6a38
Moved osgUtil::PolytopeIntersector, osgUtil::PlaneIntersector and osgUtil::LineSegmentIntersector out from include/osgUtil/IntersecionVisitor into their own seperate files.
2006-11-28 16:30:38 +00:00
Robert Osfield
345810ef22
Added support for float or double osg::Plane, and the default osg::Plane to double.
...
Performance tests on big models did not indicate any performance penalty in using doubles over floats,
so the move to doubles should mainly impact precision improvements for whole earth databases.
Also made improvements to osgUtil::PlaneIntersector and osgSim::ElevationSlice classes
2006-11-28 16:00:52 +00:00
Robert Osfield
05bffbe9c4
Added beginnings of osgUtil::PlaneIntersector and osgSim::ElevationSlice
2006-11-27 20:25:36 +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
4ab9c6f5f4
Removed check from objectDeleted(void*) method as this was not catching cases
...
where the registered ptr was different from the deleted ptr - something that
can happen with multiple inheritance.
2006-11-26 22:27:09 +00:00
Robert Osfield
426fd9eaf7
Missed check of changes to the RemoveRedundentNodesVisitor
2006-11-26 14:17:22 +00:00
Robert Osfield
2a8c48c13c
Added isIdentity() method
2006-11-24 21:10:57 +00:00
Robert Osfield
5044a85c9e
Improved handling of bounding polytope
2006-11-24 17:20:01 +00:00
Robert Osfield
006435e679
Added support for positional lights into computeShadowVolumeGeometry code and cleaned up OccluderGeometry interface.
2006-11-24 11:37:57 +00:00
Robert Osfield
51744272d5
Improved the ShadowVolumeGeometry orientations.
2006-11-23 21:32:49 +00:00
Robert Osfield
e7ef0ca846
First cut at generating the ShadowVolumeGeometry
2006-11-23 16:55:46 +00:00
Robert Osfield
156cf1e97f
Added basic silhoette detection
2006-11-23 11:22:49 +00:00
Robert Osfield
1f3a851cfc
From Farshid Lashkari, Added missing initialization of the _scaleByTextureRectangleSize
...
variable in two of its constructors.
2006-11-22 20:39:44 +00:00
Robert Osfield
0a696dbdc7
Added removeNullTriangles() method to help removed triangles with coincedent corners.
2006-11-22 15:38:59 +00:00
Robert Osfield
8483624646
Added compute and visualization of triangle and vertex normals
2006-11-21 16:59:34 +00:00
Robert Osfield
91a9a87dd4
Added removeDuplicates function
2006-11-21 16:16:56 +00:00
Robert Osfield
b400a2738b
Reordered methods to make associated functions clearer.
2006-11-21 16:15:42 +00:00
Robert Osfield
b67de41991
Rearranged the #ifdef's to prevent compile problems under NVidia 2.1 OGL drivers
2006-11-17 20:45:29 +00:00
Robert Osfield
c24289315a
Fixed comment
2006-11-15 20:24:09 +00:00
Robert Osfield
d0cc014f1b
Further migration to using RenderInfo
2006-11-14 12:51:31 +00:00
Robert Osfield
7cb1bcbd7d
From Farshid Lashkari, "This patch adds a CoordOriginMode to the osg::PointSprite attribute.
...
The mode needs to be changed to LOWER_LEFT when rendering point
sprites to pbuffers or FBOs, otherwise the points will be transformed
on the CPU."
2006-11-14 12:29:54 +00:00
Robert Osfield
c3f3093ecc
From John Kelso, add support for default frame time for children of a Sequence node
2006-11-10 15:25:04 +00:00
Robert Osfield
8983544a86
Further work on osgShadow::GeometryOccluder
2006-11-10 15:07:13 +00:00
Robert Osfield
d23c04018b
Updated wrappers
2006-11-08 11:49:35 +00:00
Robert Osfield
530e9e08d4
Added better handling of writeNode operations that arn't successful.
2006-11-07 17:00:56 +00:00
Robert Osfield
5ac6ea9a8d
Ben van Basten, "1 Bug fix in reuseParticle where originally an old particle that was already killed would be killed again, but instead should have been placed on the dead stack for future reuse.
...
2 Getter/setter for _maxNumberOfParticlesToSkip that is used for filtering of particles during draw. This enables you to turn the filtering of by setting this value to zero.
3 Getter for retrieval of the first particle in the trail. This allows you to directly manipulate the trail from your application by walking from the start particle towards the end of the trail."
Submitted on Ben's behalf by Roland Smeenk.
2006-11-07 13:48:20 +00:00
Robert Osfield
c9fed221a5
Added initial cut of osgShadow::OccluderGeometry
2006-11-07 13:43:01 +00:00
Robert Osfield
06cca16a2a
Added convinience constructors to help support picking with the new osgUtil::Intersector classes.
2006-11-02 17:05:46 +00:00
Robert Osfield
1c91b505dd
Fixed bug in Polytope::contains(const std::vector<Vec3>& vertices) which resulted
...
in false positives.
2006-11-02 15:22:38 +00:00
Robert Osfield
e0f395fd07
Moved SimpleViewer and GraphicsWindow into their own osgViewer library, updated simpleviewer examples to reflect this change
2006-11-02 12:27:15 +00:00
Robert Osfield
f9fb99dc43
Added prelimnary work on PolytopeIntersector.
2006-11-02 12:17:06 +00:00
Robert Osfield
15f7abe100
Improved handling of projected coords in new intersection classes
2006-11-01 17:18:45 +00:00
Robert Osfield
75169ad16f
Added support for osgUtil::Intersectors being in WINDOW, PROJECTION, VIEW or MODEL coordinates
2006-11-01 14:41:32 +00:00
Robert Osfield
a253e17d3e
Implemented HeightAboveTerrain and added usage into osgintersection
2006-10-31 12:59:51 +00:00
Robert Osfield
e9b501002c
Added LineOfSight and HeightAboveTerrain classes
2006-10-31 08:41:24 +00:00
Robert Osfield
16c238fc60
Added osgSim::LineOfSight and osgSim::HeightAboveTerrain classes
2006-10-30 20:29:06 +00:00
Robert Osfield
baeb41a416
From Michael Henheffer, "There's a problem with OverlayNodes where the texture will not display
...
if continuous updating is set to false.
The problem was being caused by the camera update call never being made
if continuous updating was not set to true. This fix adds a flag that
is set when dirtyOverlayTexture() is called and checked in the update
visitor section of the traversal to determine if the camera should be
updated.
I tested the fix by making some changes to the osgAnimate example
program so it has continuous updating off and calls dirtyOverlayTexture
for each frame. The overlay texture now displays properly."
2006-10-30 12:19:41 +00:00
Robert Osfield
358b96e953
Added osgUtil::IntersectorGroup to handle groups of osgUtil::Intersectors
2006-10-27 15:11:17 +00:00
Robert Osfield
ce3929fd5f
Added beginings of new osgUtil::IntersectionVisitor and osgintersection class
2006-10-26 16:03:17 +00:00
Robert Osfield
44a77dda7c
Tweaked doxygen docs.
2006-10-24 16:24:24 +00:00
Robert Osfield
85dc696c09
Added FadeText::setFadeSpeed and made internal data structures protected.
2006-10-24 09:06:28 +00:00