Commit Graph

3769 Commits

Author SHA1 Message Date
Robert Osfield
d734d6d532 Added osgDB::Archive 2004-10-24 14:24:15 +00:00
Robert Osfield
7039e5cb98 From Rainer Oder, updates to osgplanets 2004-10-24 14:23:42 +00:00
Robert Osfield
2252e9e851 From Eric Sokolowsky, support for 2 channel tiff images 2004-10-24 14:19:27 +00:00
Robert Osfield
63e4587a88 Added s/getEventCallback support into osg::Node, and an EVENT_VISITOR
type into NodeVisitor.
2004-10-24 13:51:44 +00:00
Don BURNS
052b256267 don - Comment in makedirdefs was causing Mac build to stop short of
building all plugins
2004-10-24 06:12:29 +00:00
Don BURNS
12a1ef5552 don - Small changes to support Mac OSX CGL build
small unused variable warning fix.
2004-10-24 05:50:59 +00:00
Don BURNS
1e8ee75b66 Added default: case for both switch() statements 2004-10-22 21:01:10 +00:00
Robert Osfield
6821a80e14 Changed the ReferenceFrame enums to be RELEATIVE and ABSOLUTE, and
deprecated the RELATIVE_TO_ABSOLUTE and RELATIVE_TO_PARENTS.
2004-10-22 19:26:45 +00:00
Robert Osfield
8ab8fc762f Compile fixes 2004-10-22 18:47:39 +00:00
Robert Osfield
763d6399af Added Rainer's initial osgplanets example. 2004-10-22 16:39:24 +00:00
Robert Osfield
93c439ba01 Generalised the osg::ClusterCullingCallback so that it coud be attached
to Node as well as Drawables.

Changed the osgTerrain::DataSet so that it moves the ClusterCullingCallback
up to the Node level.

Added support to the .ive plugin for attaching the ClusterCullingCallback to nodes.
2004-10-21 09:36:34 +00:00
Robert Osfield
bba69b288b Checked in commented out gz plugin, will comment back in later once it
is fully checked in
2004-10-21 09:33:51 +00:00
Robert Osfield
54d3629974 Move the setting of the camera horizontal field of view to after the realize()
to avoid the CameraGroup's Lens be set when its NULL.
2004-10-19 13:52:46 +00:00
Robert Osfield
48a1fff041 From Alan Purvis, with enum name tweaks from Robert Osfield. Addition of
support for turing on/off the usage of vertex buffer objects.
2004-10-19 09:29:13 +00:00
Robert Osfield
2047ac250f From Frank Lichtenheld, compile fix to Linux powerpc build. 2004-10-18 18:59:05 +00:00
Robert Osfield
ebab2ccab4 Fixed OsgCameraGroup::setLODScale so that it now uses the local CullSettings
objects.
2004-10-18 18:56:26 +00:00
Robert Osfield
b79337d7f8 From Bob Kuehne, addition of Vec3f(Vec2f,float) and Vec3d(Vec2d,double)
constructors.
2004-10-18 18:36:40 +00:00
Robert Osfield
f86be80c20 Added support for hardware generated mipmaps into Textre2D::copy*() methods. 2004-10-18 18:31:04 +00:00
Robert Osfield
6c7c2e32df From Marco Jez, "makes the LWS loader store LWO object names as node names, for easier recognition and retrieval by scene graph visitors.
With this fix, each PositionAttitudeTransform node that corresponds to an entry in the LWS file carries the name of the loaded object plus the layer number (for example, "objects/myobj.lwo.2")."
2004-10-18 14:51:21 +00:00
Robert Osfield
4c8e48c9e7 From Yuzhong Shen, fix to the image dimensions passed to allocImage in Image::copySubImage 2004-10-18 14:46:57 +00:00
Robert Osfield
6e55d48352 From Sohey Yamamoto, addition of TexEnvFilter support. 2004-10-18 14:42:32 +00:00
Don BURNS
94240305a4 Fix for minor compile error (internal error) for VS7. 2004-10-17 06:14:10 +00:00
Don BURNS
597e2cc0bd Fixed small typo. 2004-10-15 20:13:33 +00:00
Robert Osfield
8770309da9 Added osgNV enum Types 2004-10-15 10:35:09 +00:00
Robert Osfield
18cd77873a Changed fstream to ifstream 2004-10-15 09:53:18 +00:00
Robert Osfield
2a904a4dad Added docs 2004-10-15 09:10:36 +00:00
Robert Osfield
bb7c423849 Updates to NodeTrackerManipulator.cpp 2004-10-14 20:35:55 +00:00
Robert Osfield
e4f22c72bd Fixed the home position. 2004-10-14 12:10:10 +00:00
Robert Osfield
792a7fe0d5 Improvements to the NodeTrackManipulator and osgsimulation example 2004-10-14 10:38:29 +00:00
Robert Osfield
cecaec4ed8 From Sohey Yamamoto, added support for GL_TEXTURE_FILTER_CONTROL/GL_TEXTURE_LOD_BIAS. 2004-10-13 19:52:39 +00:00
Robert Osfield
9a393bfd5d From David Spilling, with small format and variable rename by Robert Osfield. 2004-10-13 19:10:29 +00:00
Robert Osfield
9d67383621 Added population and access of the ReaderWriter::Options::s/getDatabasePath()
to enable paged database to accessed without setting file paths explictly
2004-10-13 14:13:17 +00:00
Robert Osfield
3f0e4ea99a Small tweaks to the calculateMovement method. 2004-10-13 13:40:05 +00:00
Robert Osfield
9ac2c02dc2 Increased the size of the inserted model so that it can be seen more easily, 2004-10-13 13:39:27 +00:00
Robert Osfield
23d518be6e Fixed precision of center computation. 2004-10-13 11:56:09 +00:00
Robert Osfield
edb15e17bc Added new getMember() method and TypeMemberPair into StateAttribute and
support for the unsigned int member to be paired with types in osg::StateSet
so that lights, clipplanes and other attributes that have a type group but
then need to differentiate within that group via a member uint.
2004-10-13 11:15:50 +00:00
Robert Osfield
4192ef796b Added CullingSettngs::s/getInheritanceMask() and inheritCullSettings(,) method. 2004-10-12 09:54:03 +00:00
Robert Osfield
840ae915e9 Added a direct call to the osgUtil::Optimizer in GeoSetBuilder.cpp so that
the resultant geomety would be more efficiently packed.
2004-10-12 09:00:51 +00:00
Robert Osfield
d7ab56e31f From Sondra Iverson, with mods by Robert Osfield. Support for copying texenv
from the source StateSet when multi-texturing.
2004-10-12 07:54:45 +00:00
Robert Osfield
42689bfa2e Fixed copy and past erro in getFontWidth. 2004-10-10 18:18:45 +00:00
Don BURNS
f883db6315 Added fix for MAC for FileUtils.cpp: stat64 is not present on Mac. 2004-10-09 15:00:34 +00:00
Robert Osfield
de283b315b Changed StaetAttribute::Type so it is an enum list rather than a unsigned int. 2004-10-08 09:18:40 +00:00
Robert Osfield
0fcc08d867 From Sondra Iversion "Loading a single model from an externally
referenced file is a standard option for OpenFlight and is specified by
including the modelname in angle brackets, such as:  filename<modelname>.

The attached code identifies and handles this case."
2004-10-07 10:03:27 +00:00
Robert Osfield
d77e6a0829 Added new clear, removeAttribute, removeMode, removeTextureAttribute and
removeTextureMode method and deprecated the setToInherit equivilants.
2004-10-07 09:40:03 +00:00
Robert Osfield
c27bf441e2 Improved the osg::Geometry::computeCorrectBindingsAndArraySizes() implemention
so that it produce more optimal settings.

Changed flt/GeoSetBuilder so that it doensn't merge geometry, as it was
merging geometry even when inappropriate.
2004-10-06 20:32:09 +00:00
Robert Osfield
a907042618 From Jason Daly, fix to multi-texturing/detail texture handling. 2004-10-06 19:19:22 +00:00
Robert Osfield
2027011beb Added support for http reading into the readObject, readImage and readHeightField methods
complimenting the previously checked in readNode supoort.
2004-10-06 15:15:01 +00:00
Robert Osfield
b4cfc3656d Generalised the .net plugin so it could handle object, image, heightfield and node
file reads.
2004-10-06 14:44:11 +00:00
Robert Osfield
38a0e6bf4e Added support for parsing http:// names and mapping automatically to use
the .net plugin
2004-10-06 13:11:04 +00:00
Robert Osfield
c4e5e0fa30 Added passing on of Options object 2004-10-06 13:10:29 +00:00