Commit Graph

195 Commits

Author SHA1 Message Date
Robert Osfield
9bb18750c7 Removed the ScalarBar:: from the from of the ScalarPrinter::printScalar() calls. 2003-11-21 20:21:41 +00:00
Robert Osfield
9d883176f9 Changed the main to create a Group and then add the loaded scene and HUD scene
into this.  This has been done to rework code nearer to what Stephan Huber
used to get round a crash under OSX when a model was passed in.  This crash
suggest a problem in dynamic_cast<> perhaps?
2003-11-21 14:17:26 +00:00
Robert Osfield
c41221f2ac Added usage of object cache + fixed handling of projection matrix. 2003-11-12 19:05:54 +00:00
Robert Osfield
e043f6c89d Added code to load the bluemarble.ive database instead of the texture mapped
sphere for the earth model in the logo.
2003-11-05 10:24:51 +00:00
Robert Osfield
5f5677dcee Made all positioning transform DYNAMIC to avoid the osgUtil::Optimizer flattening
them.  Flattening of static transforms was affecting the PagedLOD nodes.
2003-11-04 19:26:16 +00:00
Robert Osfield
54a8ea33ce Added support to slideshow3D for -s commandline option allow the size of
the display to be specified.

Also implementaited some code for display position and speed info in
osgProducer::Viewer, not fully implemented yet.
2003-11-04 16:38:10 +00:00
Robert Osfield
8ed0f3ea95 Changed the slide coordinates system so that the bottom left hand corner of the
slide is 0,0,0 and the top right is 1,1,0, and the eye point is at the
appex of a frustum at x,y,1.
2003-11-04 15:07:42 +00:00
Robert Osfield
7f7a51b1ca Fixed positioning of images. 2003-11-03 23:26:17 +00:00
Robert Osfield
2e59f65fc9 Fixed positioing of text. 2003-11-03 23:22:58 +00:00
Robert Osfield
bc7622149d Updated to slideshow3D to support animation + pausing of animation.
Updated associated osg/osgUtil classes that provide animation pausing.
2003-11-03 23:13:31 +00:00
Robert Osfield
1991aa597c Added support for <duration>float</duration> to the slideshow3D .xml format
to allow the time for autostepping between layers/slides.

Moved the tiles accross to the left hands side by default.
2003-10-30 16:22:21 +00:00
Robert Osfield
bb97900fe1 Changed the wrap mode from CLAMP to CLAMP_TO_EDGE to avoid artifacts under
OSX.
2003-10-30 00:10:54 +00:00
Robert Osfield
fd016af34b Added support for 565 textures to osgbluemarble.
Added a osg::Image::scaleImage() version which allows the datatype to be varied.
2003-10-29 23:10:11 +00:00
Robert Osfield
1d81edeaab Added option for 565 16bit textures. 2003-10-29 22:47:21 +00:00
Robert Osfield
f1caec8d6e Added -e -w -o and -l options to the osgbluemarble example. 2003-10-29 14:59:22 +00:00
Robert Osfield
f1c4dc3b0d Updates for osgdem. Including new read/writeHeightField() methods. 2003-10-29 11:11:17 +00:00
Robert Osfield
eb4ee3afad *** empty log message *** 2003-10-27 16:07:21 +00:00
Robert Osfield
8ad75d0ceb Fixed print on scalar bar example. 2003-10-20 09:01:16 +00:00
Robert Osfield
c199e74bfc Added support for generating compressed textures in osgbluemarble. 2003-10-17 15:26:30 +00:00
Robert Osfield
42a8ec7eb5 Adding clamping of the tree textures. 2003-10-17 10:22:46 +00:00
Robert Osfield
5d35daa970 Udates to Drawable + IVE plugin with support for new ClusterCullingCallack.
Improvement to osgbluemarble.
2003-10-10 12:54:21 +00:00
Robert Osfield
53081bc9c1 Fixed the setting of the offset so that it convert degrees to radians.
Added setting of FOV, however, it doesn't yet function, will need to look into Producer to work out why.
2003-10-10 09:41:04 +00:00
Robert Osfield
5aaa72438f Fixed missing osg:: 2003-10-09 20:50:21 +00:00
Robert Osfield
cf55858462 Added osgbluemarble data 2003-10-08 14:08:28 +00:00
Robert Osfield
a3d1e8dd0d Added -losgGL2 to link line for OSX. 2003-10-06 10:03:39 +00:00
Robert Osfield
5c17b5059a From Mike Weiblen, added support for OpenGL SL to osgFX::Cartoon. 2003-10-05 11:42:26 +00:00
Robert Osfield
ce15c880b1 From Mike Weiblen, updates to osgGL2 to support Uniform values 2003-10-05 11:30:54 +00:00
Robert Osfield
80d1e69e2c Added text hud instructions. 2003-09-30 15:50:46 +00:00
Robert Osfield
af8b5df0ae Added quad tree support into osgforest 2003-09-30 13:48:58 +00:00
Robert Osfield
7d69f8e193 Added getPerspective() method to Matrix* and SceneView 2003-09-29 13:14:34 +00:00
Robert Osfield
a1d0ebece0 From Clay Fowler, fixes to osgdemeter so that the whole terrain model
can be visualised at once.
2003-09-29 08:03:08 +00:00
Robert Osfield
32395ae98c Added a using namespace osgGA to keep things compiling under MipsPro + VS6.0 at
them same time.
2003-09-28 09:34:31 +00:00
Robert Osfield
f8df9991b2 Improves to CullStack.
From M.Grngr. options support for f=switching off internal imagery in .ive files
2003-09-26 11:20:43 +00:00
Robert Osfield
7fb9f6be4b Added the beginnings of a new osgforest example.
Added support into osg::TriangleFunctor for specifying whether the vertices
being generates are temporary or not.
2003-09-25 21:54:33 +00:00
Robert Osfield
16216b991f Added a local osg::State to the pbuffer implementation. 2003-09-24 18:54:28 +00:00
Robert Osfield
c342b29a04 Warning fixes for Win32. 2003-09-16 19:56:19 +00:00
Robert Osfield
776099312d Moved a local new StateSet into cull callback as a ref_ptr to prevent
memory leaks.
2003-09-16 11:54:56 +00:00
Robert Osfield
a2f9222753 Added support for handling of wordwrap in osgText::Text, so that whole words
are cut in two, but rather moved completely to the next line.
2003-09-15 21:43:54 +00:00
Robert Osfield
3ae5b72030 Added support for correct sizing of the created presentation w.r.t the
size of the scene, a default home position, handling of <ratio> field
in the slideshow xml file, and support for stereo image pairs.
2003-09-15 13:54:19 +00:00
Robert Osfield
a54537558c Added support for conrolling point size into slideshow3D. 2003-09-14 22:11:16 +00:00
Robert Osfield
02bde1b175 Added commandline usage docs. 2003-09-13 16:48:40 +00:00
Robert Osfield
c1166cf3d5 Addeed LIBXML2_INCLUDE defined to Make/makedefs to handle non standard placement of
libxml2 in OSX.
2003-09-10 19:55:14 +00:00
Robert Osfield
f5b4f7ace0 Changed OsgCameraGroup so that it shares osg::State between Producer::Camera's which
share the same Producer::RenderSurface.

Added support for more colors in slideshow3D's constructor code.
2003-09-10 19:25:36 +00:00
Robert Osfield
6c22afa51c Fixes for osgFX. 2003-09-10 12:38:28 +00:00
Robert Osfield
584f805327 Updates to osgFX, from Marco Jez, to map Effect across to being derived
from osg::Group rather than from osg::Node.
2003-09-09 11:54:05 +00:00
Robert Osfield
792bba05b9 Added new Matrixf and Matrixd implementations.
Made Matrix be a typedef to either Matrixf or Matrixd.  Defaults to Matrixf.

Converted the osgGA::MatrixManipulators and osgProducer::Viewer/OsgCameraGroup
across to using exclusively Matrixd for internal computations and passing betwen
Manipulators, Producer and SceneView. Note, SceneView still uses Matrix internally
so will depend on what is set as the default in include/osg/Matrix.

Added the ability to osgProducer::setDone/getDone(), kept done() as the
method that the viewer main loop uses for detecting the exit condition.
2003-09-05 22:35:34 +00:00
Robert Osfield
5b93250eb0 Added support for Matrixd and Matrixf implementations, with the default
Matrix typedef's to either Matrixd or Matrixf.
2003-09-05 20:48:42 +00:00
Robert Osfield
f8107a39b9 Build Fixes for IRIX. 2003-09-04 08:50:06 +00:00
Robert Osfield
bd44cfcfd8 Added a Matrix::value_type typedef'd trait into osg::Matrix, defaulting its
value to float, and converted the internal code across to use value_type.  This
allows Matrix to be converted to use double's simply by change the definition
of value_type.  Added Matrix::glLoadlMatrix and Matrix::glMultMatrix() to
help encapsulate the changes between float and double matrix usage.

Updated code that uses Matrix so it doesn't assume float or double matrices.
2003-09-03 10:47:25 +00:00
Robert Osfield
fe5e6d14de Added test of sizeof(types) - run osgunittests sizeof. 2003-09-02 20:03:01 +00:00