Robert Osfield
df2d0e1ceb
Removed explict definition of osgUtil::Optimizer::StateVisitor to attempt
...
to get round VS 6.0 cruddiness.
2006-07-06 14:50:38 +00:00
Robert Osfield
88609a5eee
Updated version numbers for 1.1 release
2006-07-06 10:28:12 +00:00
Robert Osfield
e8a3444b88
From Brede Johansen,
...
"The attached file corrects two small typos in MultiSwitch.cpp. The
local "values" reference and the "_values" member attribute are of
different types but both are vectors so the size() operator happily
compiles. A renaming of _values to _masks or similar may be a more
future proof solution but the submission only removes the underscore
in two places.
The switch_1701.flt model part of the Creator gallery revealed this bug."
2006-07-04 13:33:19 +00:00
Robert Osfield
2e2684c05a
From Paul Martz, added support to textured light points into osgSim and OpenFlight loader, as part of the OpenFlight v16.0 spec.
2006-06-08 14:32:02 +00:00
Robert Osfield
732ca180d1
Added missing clip against maximum azimuth.
2006-06-05 16:25:29 +00:00
Robert Osfield
34cdf22794
Fixed popping of state frustum.
2006-05-02 09:18:36 +00:00
Robert Osfield
3246dde716
From Brede Johansen, new OpenFlight plugin!!!!!
...
By default the original flt plugin is still used, to select at runtime
the new plugin set the env OSG_OPEN_FLIGHT_PLUGIN=new
2006-03-08 21:38:37 +00:00
Robert Osfield
7d5c81bf5e
From Ulrich Hertlein, spelling corrections and a few Doxgen comments.
2006-02-20 21:05:23 +00:00
Robert Osfield
22d5390784
From Louis Hamilton, fix to LightPoint's under 64 bit build, changing longs to ints in
...
colour conversion code.
2005-12-06 10:16:21 +00:00
Robert Osfield
e1454d22a7
Attempt at build fixes for IRIX.
2005-12-05 10:24:02 +00:00
Robert Osfield
0e16b64665
Coverted tabs to space in core libraries.
2005-11-17 13:35:53 +00:00
Robert Osfield
6268001c66
Warning fix.
2005-11-15 08:43:24 +00:00
Robert Osfield
258425d649
Bumped the version numbers up to 1.0 in preparation for 1.0-rc1.
2005-11-09 10:49:56 +00:00
Robert Osfield
a742cb682e
Added RenderTargetFallback option into osg::CameraNode.
2005-11-01 10:42:54 +00:00
Robert Osfield
b61a8a6603
From Brede Johansen, "some tweaks to the osgSim lightpoints.
...
- The first change is to start fadeing a lightpoint just before the
maximum distance of a light is reached.
- The second change is to start fading a lightpoint when pixelSize is
less than _minPixelSize instead of 1.0."
2005-10-31 11:43:54 +00:00
Robert Osfield
89f6753492
From Farshid Lashkari, compile fix for VS 2002.
2005-10-14 21:40:03 +00:00
Robert Osfield
fb524952b6
Renamed osgUtil::RenderGraph to osgUtil::StateGraph
2005-10-13 12:51:00 +00:00
Robert Osfield
436521e205
Added a couple of (double) casts for VS7 build.
2005-10-03 19:24:12 +00:00
Robert Osfield
ef093bd5e5
Added closing of loops.
2005-10-03 19:18:53 +00:00
Robert Osfield
ba5c7cdc91
Added fusing of ends of lines
2005-10-03 16:13:26 +00:00
Robert Osfield
550bb4b74e
Improved handling of convex azim ranges.
2005-10-03 13:19:03 +00:00
Robert Osfield
024b43b017
Adding handling of case of convex azimuth side ways of sphere segment.
2005-10-01 12:23:10 +00:00
Robert Osfield
06401ba129
Changed the line intersection algorithm to computer full line intersections then
...
trim down to size by intersecting with the sphere segmenet sufaces
2005-09-30 19:36:22 +00:00
Robert Osfield
913dccc14c
Fix to intersection code.
2005-09-29 15:55:55 +00:00
Robert Osfield
7ac71b939f
Added setOverlayClearColor and setTexEnvMode and automatic set up of TexEnv.
2005-09-29 10:22:06 +00:00
Robert Osfield
d82d598115
Fixed typo of CameraNode::setRenderTargetImplementation(..)
2005-09-29 09:36:51 +00:00
Robert Osfield
600349dce8
Various improvements to the sphere segment intersection code.
2005-09-27 12:15:40 +00:00
Robert Osfield
5731ea2352
Set the defaul clear colour to 0,0,0,0.
2005-09-26 11:24:37 +00:00
Robert Osfield
0fb2e7adc0
From Mike Weiblen, fixes from VS 7.1 build.
2005-09-25 20:41:56 +00:00
Robert Osfield
f1125f7b4d
Improvements to the clipping of polygons at boundary edges.
2005-09-24 14:53:22 +00:00
Robert Osfield
e77ec7f96b
Further work on intersection code.
2005-09-21 14:38:36 +00:00
Robert Osfield
d13306e885
Added multiple intersect triangle visualization for testing purposes.
2005-09-19 19:49:23 +00:00
Robert Osfield
ea1ea88a17
Added countMultipleIntersections to help with debugging.
2005-09-19 13:15:59 +00:00
Robert Osfield
3a1ce55de6
Improved the region classifaction of the intersection code.
2005-09-17 18:50:26 +00:00
Robert Osfield
68d22f8de7
Improved accuracy of spheresegment to mesh intersections uses mathematical
...
models of surface geometry.
2005-09-16 14:52:56 +00:00
Robert Osfield
a154348d9a
Added Azimuth and Elevation intersector functors.
2005-09-16 09:28:22 +00:00
Robert Osfield
d2f98ef56e
Added line connectivity code.
2005-09-15 20:03:37 +00:00
Robert Osfield
4a47a79c23
Added more intersection testing code.
2005-09-10 12:51:03 +00:00
Robert Osfield
745834c329
Added triangle index functor to src/osgUtil/SphereSegment.cpp for computing
...
the intersection between an indivual geometry and the sphere segment.
Converted the terrain in osgspheresegment to be an osg::Geometry based
drawable rather than a osg::ShapeDrawable/osg::HeightField one to make it
more practicle to use as a test for the new SphereSegment intersection code.
2005-09-09 11:13:40 +00:00
Robert Osfield
67e8e0b287
Added PolytopeVisitor to SphereSegment.cpp to help cull down to only drawables
...
that intersect with the frustum of the SphereSegment. PolytopeVisitor may
eventually be pulled out to be more generally used along the lines of osgUtil::IntersectVisitor.
2005-09-08 18:56:37 +00:00
Robert Osfield
559219f519
Added initial interface for computing intersections between sphere segments
...
and terrain.
2005-09-08 13:10:04 +00:00
Robert Osfield
765db1998c
Added support for cullable state, that uses a polytope to define the extents
...
of objects that will be influenced by it.
2005-09-07 16:18:43 +00:00
Robert Osfield
4e6a8cfcd5
Added s/getContinousUpdate(bool) method to OverlayNode.
2005-09-06 19:54:29 +00:00
Robert Osfield
5283c11f8a
Added osgSim::OverlayNode to osganimate and osgspheresegment examples, and
...
added support for setting texture size hint and coping with scene graphs
with CoordinateSystemNode in them.
2005-09-06 15:48:18 +00:00
Robert Osfield
ce3bfff46a
Removed redundent code.
2005-09-01 19:55:41 +00:00
Robert Osfield
a420782199
Added osgSim::OverlayNode setup in osgsimulation, and added preliminary test
...
code to the osgSim::OverlayNode to test osgsimulation/the architecture.
2005-08-31 15:04:27 +00:00
Robert Osfield
f3be713d66
Added OveralyNode into VS project file, and fleshed out more code in the OveralyNode implementation.
2005-08-26 20:01:21 +00:00
Robert Osfield
42752347aa
Added beginings of new OverlayNode, for managing a render to texture which is
...
then used to overaly other parts of the scene such as terrain.
2005-08-26 14:00:02 +00:00
Robert Osfield
ee4d2128da
Added --num-components <num> option.
2005-08-26 13:26:02 +00:00
Robert Osfield
f07b24e56b
From Joseph Winston, removed #include <osgUtil/RenderToTexture>
2005-08-20 08:20:26 +00:00