Commit Graph

3021 Commits

Author SHA1 Message Date
Robert Osfield
6f03f991b3 Changed the color binding to better reflect the settings in the OpenFlight file. 2004-06-11 21:05:07 +00:00
Robert Osfield
eda1bf544d Added further checks for _node validity. 2004-06-11 21:00:06 +00:00
Robert Osfield
c63f0e2fce Added checks against null to prevent crashes when the terrain manipulator is set up before
a node has been attached.
2004-06-11 20:57:36 +00:00
Robert Osfield
09d585561a Added missing setColorBinding() into ConvertFromFLT::setMeshColors(). 2004-06-11 14:49:22 +00:00
Robert Osfield
343fa27fcd From Troy Yee, fixes to handling meshes.
From Robert Osfield, replaced assert(0)'s with error messages.
2004-06-10 15:43:56 +00:00
Robert Osfield
61a98ac95e Added CluserCullingCallback 2004-06-10 05:27:43 +00:00
Robert Osfield
8b2ba07653 Compile fix w.r.t new CoordinateSystemNode. 2004-06-09 20:18:58 +00:00
Robert Osfield
3adacbdeb7 Changed the *(itr++) instances with *(itr), *(itr+1) with a seperate itr+=n etc. This
has been done to avoid VC6.0 optimization ordering problems.
2004-06-09 16:28:51 +00:00
Robert Osfield
f75a7c6294 Added CoordinateSystemNode::set(const CoordinateSystemNode&) method to conviniently
set up a coordindate system.
2004-06-09 15:11:27 +00:00
Robert Osfield
84c66b7c2e Added proper mapping of format and coordinate system. 2004-06-09 15:06:19 +00:00
Robert Osfield
a8ce6b01d6 Added CoordinateSystem::s/getFormat(). 2004-06-09 15:00:03 +00:00
Robert Osfield
893eaaa3f4 Cleaned up float vs double types in Vec*d and Vec2f classes 2004-06-09 13:06:12 +00:00
Robert Osfield
81082648c3 Added --o_cs, --o_wkt and --o_wkt_file commandline options. 2004-06-09 10:03:01 +00:00
Robert Osfield
6f82b37dd0 Improved the precision of animation paths. 2004-06-08 14:30:48 +00:00
Robert Osfield
65d0293778 Added options for controlling mipmapping and aniso-tropic filtering. 2004-06-08 13:58:36 +00:00
Robert Osfield
ba7a7fe638 Updates to FlightManipulator 2004-06-08 12:31:33 +00:00
Robert Osfield
dbba29e35c From Boris Bralo, reimplementation of dereference_less functor to use
two input types, to attempt to avoid VC compile problems and redundent
copies of ref_ptr<>.
2004-06-08 09:29:56 +00:00
Robert Osfield
22ec86114d Updates to the terrain manipulator. 2004-06-08 07:32:08 +00:00
Robert Osfield
eec378a885 Moved the osg::ClusterCullingCallback into into own header and source file. 2004-06-07 15:05:22 +00:00
Robert Osfield
48d671352d Changed the terrain manipulator so the intersection ray is only
computed near to the current center point during panning.
2004-06-07 14:49:39 +00:00
Robert Osfield
727af69af5 Added sphere segment to osgsimulator. 2004-06-07 12:53:09 +00:00
Robert Osfield
67cb59dbef Added --RGB_16, --RGB_24 and --compressed options. 2004-06-06 14:28:29 +00:00
Robert Osfield
1f4417ab2b Fixed the Vec*d class so there have value_type set to double. 2004-06-04 16:32:00 +00:00
Robert Osfield
4bb147aed4 Added haveAppliedAttribute to allow draw callbacks to get access to the
current active lights.
2004-06-04 12:27:04 +00:00
Robert Osfield
bfd1286b25 Add clamping to 0..1 bounds for each of the r,g,b,a components in
the CubeMapGenerator::set_pixel() method.
2004-06-04 11:35:13 +00:00
Robert Osfield
c69a8a5b80 Added check to Quat::makeRotate(,,,) to catch zero lengh axis. 2004-06-04 10:05:18 +00:00
Robert Osfield
de52abcdd3 From Ulrich Hertlein & Iskander Prins, added rotation of skydown on
fixed handling of updating one image per frame.
2004-06-04 08:40:15 +00:00
Robert Osfield
2cf45b50c9 From Terry Welsh, added checks to incoming Geometry for existance of normals,
and if they are present use these to compute the tanget and binormals
vectors perpendicular to existing normals.
2004-06-04 08:24:13 +00:00
Robert Osfield
0fac56f56a From Max Behensky, fixes to the computation of the number of primitives 2004-06-04 08:13:36 +00:00
Robert Osfield
e8a3ba8a9f Fixed spelling of Equivalent. 2004-06-03 20:06:17 +00:00
Robert Osfield
a92a9d0f22 Added handling of case when only one colour is used. 2004-06-03 10:16:19 +00:00
Robert Osfield
5d97f7ec92 Added support for a single color in a ColorRange 2004-06-03 10:10:41 +00:00
Robert Osfield
1526281793 Added room for tail of text. 2004-06-03 09:36:49 +00:00
Robert Osfield
ac771894ad Added handling of skirt ratio, and extra docs on commandline args 2004-06-02 14:16:45 +00:00
Robert Osfield
b5366cbda6 Added DataSet::s/getSkirtRatio() method to allow control of how deep to
make the skirts around tiles.
2004-06-02 14:15:08 +00:00
Robert Osfield
344beecede Added derived reqiestRedraw() and requestContinueUpdate() methods for
debugging purposes.
2004-06-02 14:13:11 +00:00
Robert Osfield
7f94839e94 Added setPosition and setWidth methods into ScalarBar and changed the
implementation to use these values to position and set the size of the
scalar bar.  Also made the characterSize value a float rather than
the previous int.
2004-06-02 12:37:14 +00:00
Robert Osfield
673244a60c Fixed setCoordinateFrame method 2004-05-26 00:27:00 +00:00
Robert Osfield
205a6a105e Made the drive and flight manipulators more sensitive to de/acceleration 2004-05-26 00:26:43 +00:00
Robert Osfield
9236f6daa8 From George Tarantilils, add missing handling of alpha channel. 2004-05-25 20:40:26 +00:00
Robert Osfield
9990650cc9 Changed screen grab filename back to a saved_image.jpg 2004-05-25 20:39:49 +00:00
Robert Osfield
8edafc3b22 Updated clampProjectionMatrix methods 2004-05-25 20:35:14 +00:00
Robert Osfield
eb3917060f From George Tarantilis, fixes to DDS size computations.
From Robert Osfield, addition of constructors for internal DDS structures.
2004-05-25 16:10:28 +00:00
Robert Osfield
5312bcc54a Updates the movie support 2004-05-25 14:32:20 +00:00
Robert Osfield
6303b87e9a Added better handling of clamping of projection matrix 2004-05-25 07:40:18 +00:00
Robert Osfield
eac7fdff76 From Alberto Farre, fixes to the computation of sizes 2004-05-24 19:50:13 +00:00
Robert Osfield
ab2b817e61 Made improvements to the handling of small rotations in Quat and
TerrainManipulator
2004-05-20 23:25:26 +00:00
Robert Osfield
48d148601b Added HUD scalar bar. 2004-05-20 22:20:39 +00:00
Robert Osfield
fee33001fd Fixed warnigs on VS. 2004-05-20 13:54:53 +00:00
Robert Osfield
f8daf206ab Improved support for new double Vec* classes 2004-05-20 12:57:06 +00:00