Robert Osfield
1f5b044c71
Made ReaderWriter::className const
2004-10-26 10:26:43 +00:00
Robert Osfield
db9c192a37
Added an alteranive code path for the fallback for handling opaque texture
...
blending.
2004-04-07 18:38:06 +00:00
Robert Osfield
4aa7afedf3
Removed include <iostream> where possible, replacing with istream or ostream and changing
...
std::cout/cerr to osg::notify().
2004-03-03 13:27:21 +00:00
Robert Osfield
29e6cb8cb1
From Daved Ergo, patch for handling group names better
2004-01-13 10:30:36 +00:00
Robert Osfield
70572a3930
Added TriStripVisitor usage.
2003-12-13 16:41:46 +00:00
Robert Osfield
83bf813e58
Moved the responsibility for finding file to load on to the ReaderWriter plugins,
...
instead of osgDB::Registry where it original lay. This has been done to allow
fileName strings to be encode data rather than just file names, such as one
requires when using PagedLOD along with plugins for doing dynamic tesselation.
2003-12-08 11:24:43 +00:00
Robert Osfield
781aa4fe45
Added support for case insenstive file searches.
2003-11-25 10:49:38 +00:00
Robert Osfield
9184e9190e
From David Ergo, patch for setting the shininess strength of the specular material,
2003-11-06 13:44:59 +00:00
Robert Osfield
6deedbf08c
Added a check against opaque textures, when detected turn the material white
...
as per specs for 3ds.
2003-10-01 21:59:55 +00:00
Robert Osfield
31e4185aa6
Added an #ifdef to osgGLUT/Window.cpp to handle the case of compiling against
...
older versions of GLUT.
2003-01-24 15:12:54 +00:00
Robert Osfield
d2b7340fb5
Changed the decal=true setting to decal=false to make sure that textured models
...
come out lit ok. The makes the assumption that colour values on the objects
and realistic, if they arn't then decal texture can produce better results..
2003-01-22 12:25:04 +00:00
Robert Osfield
0980eeda1e
Updated the plugins so they do the extension checking with a non
...
case sensitive comparison.
2002-11-14 09:03:31 +00:00
Robert Osfield
0a5ed26940
Moved the new osg::IndexedGeometry class over the top of the the existing
...
osg::Geometry class, and removed the temporary IndexedGeometry. Port the rest
of the OSG across to account for the change in method calls -
osg::Geometry::addPrimitive(..) becomes osg::addPrimitiveSet(..)
2002-10-02 13:12:16 +00:00
Robert Osfield
55215651d7
Renamed osg::Primitive to osg::PrimitiveSet which better reflect what it
...
encapsulates.
Added new osg::IndexGeometry implemention, *not* complete yet.
Changed the rest of the OSG to handle the renaming og Primitive to PrimitiveSet.
2002-09-20 14:51:59 +00:00
Robert Osfield
8e75f531e3
Converted code dependant on osg::Texture across to its replacement osg::Texture2D.
2002-08-25 15:31:44 +00:00
Robert Osfield
f5c7fcf51d
Fixed the shininess factor in 3ds plugin.
2002-08-08 11:01:07 +00:00
Robert Osfield
6f392cdbfa
Ported distribution across to use the new osg::MatrixTransform and osg::BlendFunc
...
class instead of osg::Transform and osg::Transparancy respectively.
2002-07-12 18:12:01 +00:00
Robert Osfield
c1fc3dcdb9
Ported all the demos and loaders across to use the new multitexturing API.
2002-07-10 11:22:24 +00:00
Robert Osfield
48e7679e78
Rewrote the osgUtil::Tesselator so that it is easier to use, and can also
...
easily retesselate osg::Primitive::POLYGONS found in Geometry objects.
Added calls to the tesselate to the lwo and flt loaders.
2002-06-28 22:42:02 +00:00
Robert Osfield
8094c777b7
Added templated constructor to TemplateArray & DrawElements template to
...
handle VisualStudio7.0 build.
Ported 3DS across to use osg::Geometry instead of osg::GeoSet.
2002-06-26 17:48:13 +00:00
Robert Osfield
a9ef1ecb1d
Reverted change to use decal flag.
2002-05-13 07:30:21 +00:00
Robert Osfield
421e381f17
Patch to ReadWriter3DS from Mike Connel.
2002-04-11 17:13:16 +00:00
Robert Osfield
bc30edb9e6
Support added for pivot points, submission from Mike Connel.
2002-03-09 10:54:56 +00:00
Robert Osfield
f9ee0fe44a
A small bug fix to the matrix dump function (it was primtiing out 5 columns
...
instead of four).
Added support for multiplying mesh geometry by the matrix attached to the
Lib3dsMesh structure, however this produces disjointed models so have
to the default mode to bypass this multiplication code. Will need to revisit
this in the future.
2002-01-02 11:03:26 +00:00
Robert Osfield
478274ae7d
Fixes to Windows build in liu of the move to using just std::streams.
2001-12-14 23:18:28 +00:00
Robert Osfield
78372a5a62
Updated the lib3ds plugin with the new 1.1 version of lib3ds.
2001-10-31 18:33:27 +00:00
Robert Osfield
f0372817b5
Added support for ReadResult and WriteResult to the osgDB::ReaderWriter
...
to allo plugins to pass back more information about the success or failure
of a file load. All plugins have been updated to the new convention.
2001-10-30 14:20:37 +00:00
Robert Osfield
8aefce4524
Fixed then normal smoothing function in the .3ds loader and the
...
osgUtil::SmoothingVisitor so that unused normals at left at 0,0,0 insead
of being normalized, which results in (nan,nan,nan).
2001-10-16 15:03:10 +00:00
Robert Osfield
06dafa487e
Added osgDB::ReaderWriter::Options class to the ReaderWriter base class, support
...
for settings options in osgDB::Registry, and added the paramter to all of the
reaader/writer plugins. The Options structure by default has an string attached
for packing basic options, however, it also can be subclassed to encapsulate
any users defined option data. In the later case both the client code *and*
the plugin need to be aware of subclass, the plugin will need to use
dynamic_cast<> to assertain its type.
2001-10-14 17:54:25 +00:00
Don BURNS
e8f256a59d
Added a bunch of files synched with 0.8.42
2001-09-19 21:08:56 +00:00