Commit Graph

1038 Commits

Author SHA1 Message Date
Robert Osfield
060975a05c Fixed small typo. 2003-01-04 20:44:17 +00:00
Robert Osfield
1317f6feaf Added usage info in -O option. 2003-01-04 20:43:53 +00:00
Robert Osfield
7b6d802131 Fixed options code. 2003-01-04 20:43:27 +00:00
Robert Osfield
141f065b17 Removed the dual inheritance from the AnimationPathCallback, moving the
NodeVisitor implemention into the .cpp.

Small tweak to the lighpoint drawable implmenentation to improve the additive
blending and state resotoration.
2003-01-03 21:42:02 +00:00
Robert Osfield
fe64942c54 Added a AnimationPathCallback which can update both a MatrixTransform and a
PositionAttitudeTransform, removed the equivialnt callbacks once found in these
transform classes.

Changed the NodeCallback class so its derived from osg::Object instead of
osg::Referenced to allow it to be saved out in the .osg format.

Added support for Update and Cull callbacks into the .osg file format.

Added support for AnimationPathCallback into the .osg file format.
2003-01-02 20:10:04 +00:00
Robert Osfield
6ee563ad55 Updates the terrapage to try and make it thread "safer" when used with the OSG. 2002-12-21 19:41:27 +00:00
Robert Osfield
e9287afd5e Turned display lists off in the osg::Geomety created by the terrapage loader,
this is done because terrapage will dynamic page in and out geometry so we
don't want to keep creating and deleting display lists.
2002-12-21 11:30:54 +00:00
Robert Osfield
3113fe360b Tweaked the colours in the logo. 2002-12-20 10:48:22 +00:00
Robert Osfield
20a0cc5445 Renamed the app method update. 2002-12-20 09:43:15 +00:00
Don BURNS
454c0480c0 update for ia64 2002-12-19 19:50:16 +00:00
Robert Osfield
adf5c91808 Renamed all instance of AppCallback/AppVisitor to UpdateCallback/UpdateVisitor
inline with the decision to rename the "app phase" the "update phase".
2002-12-19 15:55:40 +00:00
Robert Osfield
eb42926ab1 Changed the remaining #include <> to #include "" to get things compiling under VS. 2002-12-19 10:32:02 +00:00
Robert Osfield
a2e76e4ab0 Removed the reference of Sequence from Switch. 2002-12-18 11:43:39 +00:00
Robert Osfield
30a665288e Removed the osg:: from the front of the Group::computeBound() method to keep
things compiling under Windows.
2002-12-18 10:17:52 +00:00
Robert Osfield
677764bed9 Changed the <*.h> to "*.h> in the terrapage plugin to get it compile under Windows. 2002-12-18 09:50:36 +00:00
Robert Osfield
6d4e13ab1b From Daniel Sjölie, support for reading comment records into description fields. 2002-12-17 17:22:06 +00:00
Robert Osfield
c82927293e Moved the include/osgTXP back into src/osgPlugins/txp as a seperate include directory is no longer required.
Removed the osgtxp demo as it is no longer required.
2002-12-17 16:07:59 +00:00
Robert Osfield
ee3348afc9 Added txp::TerrapageNode to the txp plugin, and implemented the node so that it
automatically assign handles the updates of eye points and database merges.
2002-12-17 15:41:05 +00:00
Robert Osfield
8f81cf2ac6 Moved TriangleFunctor from Drawable into its own header file. 2002-12-16 17:00:05 +00:00
Robert Osfield
ddbf2ad8a0 Removed the redundent export symbol. 2002-12-16 16:57:47 +00:00
Robert Osfield
1c34b83e11 Fix for a warning. 2002-12-16 14:52:48 +00:00
Robert Osfield
7bcef50e3b Removed reference to osg/MemoryManager. 2002-12-16 14:12:48 +00:00
Robert Osfield
89269463ef Removed the memory manager. 2002-12-16 13:44:35 +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
a37e3551e6 Fixed the traverse method so it calls Transform::traverse() instead of
MatrixTransform::traverse() which was recursive..
2002-12-16 13:14:27 +00:00
Robert Osfield
98648105f9 Added seperate Referenced.cpp implementation. 2002-12-16 10:28:14 +00:00
Robert Osfield
884b2730e8 Added a DeleteHandler into osg::Referenced so that it can delete objects
via a seperate delete handler.  Useful for making unref()/ref() thread safe if
the users needs to address this issue.
2002-12-16 10:25:31 +00:00
Robert Osfield
cb87e7b3bc Integrated further updates from Geoff on the Geo loader. 2002-12-16 10:22:37 +00:00
Robert Osfield
88424530b4 Changed the std::hex and std::dec to hex and dec to get it compile under VisualStudio,
and added a using namespace std to keep it compiling on all other compilers!
2002-12-16 10:05:55 +00:00
Robert Osfield
c6b6e200a4 Added supported for setting animation path on MatrixTransform's. 2002-12-16 09:55:30 +00:00
Don BURNS
22ada7ee6b Uncommented fix for returning to non-stereo from stereo to get color mask
back to normal.
2002-12-16 00:33:48 +00:00
Robert Osfield
c32585a046 Added a check for extension of a filename to the gif loader, since it looks
like the isn't reconginizing rgb files as not being gif.
2002-12-14 06:42:56 +00:00
Don BURNS
a8ce4e9c0d Added TrPageViewer.[h,cpp] to Demos/osgtxp (moved from the plugin directory)
and modified Makefile accordingly
2002-12-13 20:33:05 +00:00
Don BURNS
25b333b05b Move TrPageViewer.cpp to src/Demos/osgtxp 2002-12-13 20:28:58 +00:00
Robert Osfield
a388800c95 Merged fixes to warnings in geo plugin from Geoff. 2002-12-13 19:41:59 +00:00
Robert Osfield
ffb200e4f4 Added the axis alignment into the Outline and Texture fonts drawing. 2002-12-12 11:36:08 +00:00
Robert Osfield
93973c09ad Turned lighting off for whole of logo. 2002-12-12 11:35:09 +00:00
Robert Osfield
4cc0ffbbf8 Changed the osglogo demo to use arial texured font. 2002-12-12 11:25:25 +00:00
Robert Osfield
449418a8e9 Changed the colour of the text to be the same as the OpenGL logo. 2002-12-12 10:03:05 +00:00
Robert Osfield
75676f026c Removed redundent std:: 2002-12-11 22:39:59 +00:00
Robert Osfield
591ab7c52e Removed erroneous character from end of file. 2002-12-11 16:27:01 +00:00
Robert Osfield
b8faa9b6f7 Added the afteresher.geo demo to osgtest.bat and debugtests.bat.
Converted the osgtxp demo to use straight string comparison instead of case sensitive string
comparion to help cross platform portability.
2002-12-11 16:24:42 +00:00
Robert Osfield
2e3bf33ce6 Removed the duplicate file out from the GEO plugin.
Changed the osglogo to reference a jpeg instead of a tiff one.
2002-12-11 14:30:27 +00:00
Robert Osfield
c19a236561 Added code to the path to the executable, adding it into the libary and data
file paths.
2002-12-11 14:24:44 +00:00
Robert Osfield
0e6d702906 Fixes for Win32. 2002-12-11 10:07:14 +00:00
Robert Osfield
442fa34aaa From Ulrich Hertlien, fix for new changes in osg::Switch interface.
Small clean to changes by Robert.
2002-12-10 20:26:56 +00:00
Robert Osfield
530b85c807 Updates from Geoff Michel to geo loader and demo. 2002-12-10 20:00:56 +00:00
Robert Osfield
64c5fb644a From Micheal Gronager, fix to osg::Quat::getRotate(..) to handle zero rotations.
Port of Sequence to subclass directly from osg::Group.
2002-12-10 19:58:03 +00:00
Robert Osfield
97a4775b7e Updates to the light points support to improve the control of the blending of
light points with their background.
2002-12-10 19:56:14 +00:00
Robert Osfield
6efe79c33c Changed cout to notify. 2002-12-09 09:26:49 +00:00