Commit Graph

203 Commits

Author SHA1 Message Date
Robert Osfield
db66abd6d6 Implemented duplicate removal code into TriStripVisitor and added an
extra pass to doing tri stripping in the osgUtil::Optimzer.

Added validity checks into osg::TexEnvCombine to catch eronous enumarant values.

Improved the efficient of CullingSet's handling of new transforms.

Added a copy shared subgraphs and subdivision code into osgUtil::Optimizer.
2003-12-03 21:45:32 +00:00
Robert Osfield
bd4a1cd601 From Pavel Moloshton, addition of AlphaFunc support to .ive. 2003-12-01 14:31:56 +00:00
Robert Osfield
1c2ef7d508 Updates to osgdem. 2003-11-28 14:26:51 +00:00
Robert Osfield
e7f9a51f0f Updates to osgdem + BoundingBox to support graph iterators 2003-11-27 15:13:55 +00:00
Robert Osfield
a0375f58da Added a f after 2.0 definitions in atan2 to get round stupid MS errors. 2003-11-26 13:21:40 +00:00
Robert Osfield
032909f8c7 Work in progress on osgdem example and osgTerrain::DataSet class 2003-11-25 11:40:10 +00:00
Robert Osfield
871d9c9237 Moved the unrecognized options check to after loaded 2003-11-25 11:05:22 +00:00
Robert Osfield
8fd4bbe510 Changed the shadow colour so that it is now controlled via the emissive
light material rather than ambient, this allows it to bypass any of the
osg::Light values and control the resulting shadow colour more directly.
2003-11-24 10:01:02 +00:00
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