Robert Osfield
2a35dab922
Renamed Primitive:: to PrimitiveSet.
2002-11-07 14:44:01 +00:00
Robert Osfield
c84cdf159c
Updates to GEO loader from Geoff Michel.
2002-11-07 13:47:39 +00:00
Robert Osfield
15773d920a
Fix for build under Linux.
2002-11-07 08:48:30 +00:00
Don BURNS
7669b96c28
Changed a couple of const/non-const discrpancies between header and source
...
for TexGen. Removed external library dependencies in plugin makefiles
2002-11-06 18:39:32 +00:00
Robert Osfield
3bd400130c
Name change and const change of Drawable::drawImmediateMode(State&) to
...
Drawable::drawImplementation(State&) const. Various updates to the
rest of the OSG to accomodate this.
2002-11-06 15:43:11 +00:00
Robert Osfield
afa27a13ec
From Jason Daly, fix for 14.2 color records in versions of OpenFlight files.
2002-11-05 07:50:40 +00:00
Robert Osfield
a6eafa79e2
From Ulrich Hertlien, added ReaderWriter::Options to the osgconv and pfb plugin
...
so that all the pfi files can be converted to rgb be the plugin.
2002-11-04 09:08:50 +00:00
Robert Osfield
6bb8002116
Added in guard to png loader so that it only accepts png files. This has been
...
added since the png loader itself doesn't not seem robust enough at detecting
non png files.
Added a tab in to the flt code to make it more obvious what is happening in
the flow of the code.
2002-11-04 08:40:51 +00:00
Robert Osfield
92895370f7
Futher fixes for VisualStudio.NET compilation.
2002-11-01 15:11:05 +00:00
Robert Osfield
f74b4ec847
Fixed VisualStudio7.0 compile error related to an std::vector<>::iterator
...
no longer being a pointer, fixed by using a &(*itr).
2002-11-01 12:48:15 +00:00
Robert Osfield
24746728e4
From Geoff Michel, added AC3D .ac and GEO .geo loaders.
2002-10-31 12:51:09 +00:00
Robert Osfield
85af8cc4ba
Yefei He's updates to Pool and flt2osg to use lazy loading of textures from a
...
texture pallette.
2002-10-31 10:35:15 +00:00
Robert Osfield
aa5d172f99
Updated osgText .osg support so that it handles text via the osgDB::Outpur::wrapString() method.
2002-10-30 12:56:55 +00:00
Robert Osfield
32c6a7809a
Updated the handling of string in the .osg reading and writing so that it
...
handles the use of " quotes inside the string.
2002-10-28 12:55:19 +00:00
Robert Osfield
18d99c06e4
Updated the min and mag filter modes to be more appropriate, still some
...
of the FLT modes havn't been mapped across as its is not obvious how to map
them to OpenGL/OSG.
2002-10-25 09:34:51 +00:00
Robert Osfield
761fc0574f
Merged Pavel's updates to LWO2 for handle multiple texture layers.
2002-10-18 12:47:36 +00:00
Robert Osfield
00fd58283c
Added extension checking to the rgb and bmp write of images.
2002-10-18 12:23:42 +00:00
Robert Osfield
ab59703e54
Fixed compile error under Windows.
2002-10-17 11:39:04 +00:00
Robert Osfield
6c0861ef80
Maded the "flt::Registry::getPrototype: Unkown opcode:" message a INFO level
...
notify message rather than a NOTICE.
2002-10-10 09:42:41 +00:00
Robert Osfield
2e92e7d242
Made the warning about a mis-matching in the number of children in a switch
...
a INFO level notify message rather than a WARN.
2002-10-10 09:39:09 +00:00
Robert Osfield
88ecacfd7a
Changed the default value of StandardOrientation to true, to fix orientation
...
problems which commonly occur with png files. Leaves the quesition of how to set
this value automatically.
2002-10-09 15:41:22 +00:00
Robert Osfield
c59fc9a2b7
Fixed a bug in the Optimizer where BIND_PER_PRIMITIVE_SET primitives where being eroneously merged.
...
Added missing support for reading geometry indices from the .osg format.
Added handling of geometry indices into the primitive functor in osg::Geometry.
Moved the method implementions of AnimationPathManipulator into src/osgGA and added extra convinience
methods for setting the manipulator with an hand built AnimationPath.
FCVS: VisualStudio/osgPlugins/iv/iv.dsp
2002-10-08 14:10:55 +00:00
Robert Osfield
70861ef70e
Converted osg::LOD from used n+1 successive ranges to n min/max ranges,
...
one min/max pair per child. Converted the rest of the OSG to use the new
osg::LOD node.
2002-10-06 20:33:13 +00:00
Robert Osfield
84332f5b77
Fixes for Win32 build.
2002-10-04 16:40:45 +00:00
Robert Osfield
4a3cc5c182
Implemented OpenFlight style switches so that each child of a switch can now
...
be individually turned on or off. Moved the OpenFlight code across to use the
new scheme, removing the old hack of using node masks to achieve the same end
result.
2002-10-04 14:50:33 +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
d176f752a5
From Daniel, Fixes for warnings under Win32.
2002-09-29 12:33:30 +00:00
Robert Osfield
444a6eaf97
From Ulrich Hertlien, supported add to textures in the .lwo format.
2002-09-20 15:54:17 +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
4a54b7bdb1
From Daniel Sjölie - added support for multitexured flt files.
2002-09-18 11:11:10 +00:00
Don BURNS
866af14f86
Added ability to accept '.tif' files (as well as '.tiff') and printed
...
notify() on error
2002-09-09 04:40:50 +00:00
Robert Osfield
1ad924d0ca
Fixes to the LWO to better handle 3 and 4 vertex polygons.
...
Added an extra pass into the Optimizer's merging of geometry primitives so
it convertex 3 and 4 vertex polygons into triangles and quads respectively.
2002-09-03 20:12:29 +00:00
Robert Osfield
0cb75d42e0
Fixed LWO2 ReaderWriter problem which was down to an the compiler reodering
...
the evaluation of a Vec3 paramter.
2002-09-03 13:04:53 +00:00
Robert Osfield
46585242a1
Fixed and unmatched malloc/free pair, which was previously doing a mallco/delete.
2002-09-03 09:50:51 +00:00
Robert Osfield
12226e4371
Converted the instances of const built in types being returned from methods
...
and passed as paramters into straight forward non const built in types,
i.e. const bool foogbar(const int) becomes bool foobar(int).
2002-09-02 12:31:35 +00:00
Robert Osfield
52518673d1
From Yfei He, added in missing RoadConstruction handler.
2002-08-31 09:59:18 +00:00
Robert Osfield
6c08183b45
Updated docs.
2002-08-29 14:29:49 +00:00
Robert Osfield
79aaac4e0c
Renamed the ConvexPlaner* classes to ConvexPlanar* and changed all the various
...
classes that reference it.
Added MUST_READ_ME.txt to the VisualStudio directory.
2002-08-29 11:02:01 +00:00
Don BURNS
76959d5648
Blast it, Don... You should rebuild before you check things in!
2002-08-29 03:49:23 +00:00
Don BURNS
2b10b4c3df
Fixed 69 occurance of 'Seperate' misspelling (should be 'Separate')
2002-08-29 03:22:27 +00:00
Robert Osfield
fe93b91f73
Fixes to Win32 build.
2002-08-28 18:38:33 +00:00
Robert Osfield
8353fc0ed6
Removed deprecated code from the distribution.
...
Added .osg support for Texture1D and Texture3D.
2002-08-28 15:28:11 +00:00
Robert Osfield
951b6e9f3f
Added -I{THISDIR} into the iv Makefile.
2002-08-28 14:28:21 +00:00
Robert Osfield
bff4728eac
Commented out the #define TEXTURE_USE_DEPRECATED_API from includ/osg/Texture
...
which forces the use of a typedef Texture2D Texture; in place of the orignal
texure implementation.
2002-08-27 21:01:22 +00:00
Robert Osfield
5ad4cc4f2f
Added code to write byte/int/float arrays out with 8 values per line by default, rather than
...
1 per line as before.
2002-08-27 20:54:58 +00:00
Robert Osfield
55d4affded
Added support for DOFTransforms into .osg format, and add pivot point support
...
to the PositionAttitudeTransform .osg support.
Removed a double light reference in the osglight demo.
2002-08-27 20:18:43 +00:00
Robert Osfield
1f7b133eff
Added support for reading and writing osg::PositionAttitudeTransform.
2002-08-27 15:46:47 +00:00
Robert Osfield
4a4334c2ab
Fixed bug in the Light reading code.
2002-08-27 15:46:29 +00:00
Robert Osfield
83af5e7a95
Added osgtexture3D demo, renamed osgtexture demo to osgtexture2D, and have
...
added osgtexture1D demo which currently is simply copy of osgtexture2D. I
will be modifying it to do 1D texturing next.
Fixed a bug in osg::Texture3D relating to checking of existance of
texturing.
Merged some fixes to the pfb loader from Ulrich Hertlein.
2002-08-27 10:06:57 +00:00
Don BURNS
0f0b32f43b
Added writer to RGB plugin
2002-08-26 03:15:45 +00:00