Robert Osfield
eb42926ab1
Changed the remaining #include <> to #include "" to get things compiling under VS.
2002-12-19 10:32:02 +00:00
Robert Osfield
a2e76e4ab0
Removed the reference of Sequence from Switch.
2002-12-18 11:43:39 +00:00
Robert Osfield
30a665288e
Removed the osg:: from the front of the Group::computeBound() method to keep
...
things compiling under Windows.
2002-12-18 10:17:52 +00:00
Robert Osfield
677764bed9
Changed the <*.h> to "*.h> in the terrapage plugin to get it compile under Windows.
2002-12-18 09:50:36 +00:00
Robert Osfield
6d4e13ab1b
From Daniel Sjölie, support for reading comment records into description fields.
2002-12-17 17:22:06 +00:00
Robert Osfield
c82927293e
Moved the include/osgTXP back into src/osgPlugins/txp as a seperate include directory is no longer required.
...
Removed the osgtxp demo as it is no longer required.
2002-12-17 16:07:59 +00:00
Robert Osfield
ee3348afc9
Added txp::TerrapageNode to the txp plugin, and implemented the node so that it
...
automatically assign handles the updates of eye points and database merges.
2002-12-17 15:41:05 +00:00
Robert Osfield
00cc3a1833
Converted the instance of osgNew and osgDelete back to new and delete as part
...
of depecating the include/osg/MemoryManager
2002-12-16 13:40:58 +00:00
Robert Osfield
cb87e7b3bc
Integrated further updates from Geoff on the Geo loader.
2002-12-16 10:22:37 +00:00
Robert Osfield
88424530b4
Changed the std::hex and std::dec to hex and dec to get it compile under VisualStudio,
...
and added a using namespace std to keep it compiling on all other compilers!
2002-12-16 10:05:55 +00:00
Robert Osfield
c6b6e200a4
Added supported for setting animation path on MatrixTransform's.
2002-12-16 09:55:30 +00:00
Robert Osfield
c32585a046
Added a check for extension of a filename to the gif loader, since it looks
...
like the isn't reconginizing rgb files as not being gif.
2002-12-14 06:42:56 +00:00
Don BURNS
25b333b05b
Move TrPageViewer.cpp to src/Demos/osgtxp
2002-12-13 20:28:58 +00:00
Robert Osfield
a388800c95
Merged fixes to warnings in geo plugin from Geoff.
2002-12-13 19:41:59 +00:00
Robert Osfield
591ab7c52e
Removed erroneous character from end of file.
2002-12-11 16:27:01 +00:00
Robert Osfield
2e3bf33ce6
Removed the duplicate file out from the GEO plugin.
...
Changed the osglogo to reference a jpeg instead of a tiff one.
2002-12-11 14:30:27 +00:00
Robert Osfield
0e6d702906
Fixes for Win32.
2002-12-11 10:07:14 +00:00
Robert Osfield
442fa34aaa
From Ulrich Hertlien, fix for new changes in osg::Switch interface.
...
Small clean to changes by Robert.
2002-12-10 20:26:56 +00:00
Robert Osfield
530b85c807
Updates from Geoff Michel to geo loader and demo.
2002-12-10 20:00:56 +00:00
Robert Osfield
6efe79c33c
Changed cout to notify.
2002-12-09 09:26:49 +00:00
Don BURNS
5622e704cf
fixed small typo (forgot std::)
2002-12-09 06:00:57 +00:00
Robert Osfield
55d04ef381
Modifed the .attr loaders handling if TX_BILINEAR minification filter so that
...
it remaps it to LINEAR_MIPMAP_LINEAR to get round image quality issue of some
OpenFlight databases.
2002-12-08 17:22:20 +00:00
Robert Osfield
109f6f22fe
Updated the Switch, Sequence and Group classes so that they all used a
...
similar style removeChild() mechansim.
Made the old style osg::Switch::setValue() method deprecated.
2002-12-07 21:18:12 +00:00
Don BURNS
97ec694e21
Fixes to txp loader
2002-11-29 16:14:03 +00:00
Robert Osfield
aa3d887e94
Added check of translucency of an image via osg::Image::isImageTranslucent().
2002-11-25 16:40:30 +00:00
Robert Osfield
b113dfeb73
Added extra check to the freeing of memory.
2002-11-25 16:30:34 +00:00
Don BURNS
12e922bc3c
Added Paging TerraPage loader and osgTXP library.
2002-11-24 21:36:05 +00:00
Don BURNS
4acee51414
Merged in Joseph Steel's updates to rgb plugin
2002-11-22 17:36:46 +00:00
Robert Osfield
22c313cf3e
Warning fixes.
2002-11-22 09:46:25 +00:00
Don BURNS
65fec63389
Fixes for IRIX build
2002-11-22 05:00:43 +00:00
Robert Osfield
de85272032
Moved the code to create StateSet around textures into flt::Pool::getTexture so that
...
the code associated with loading textures is done is just one place.
2002-11-20 14:40:33 +00:00
Robert Osfield
e02ae73edc
Added osgSim library which encapulsulates light points.
...
Added osglightpoint demo.
2002-11-19 10:57:40 +00:00
Robert Osfield
b89e7282ed
From Jason Daly, fix for long file names on sequence nodes.
2002-11-14 15:30:28 +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
4617294722
Fixes to build in VS7.0
2002-11-08 15:56:49 +00:00
Robert Osfield
a059191c1c
Updates to GEO loader from Geoff Michel.
2002-11-08 12:56:45 +00:00
Robert Osfield
0cd0c575f0
Fixes for VisualStudio6.0 build.
2002-11-08 08:51:30 +00:00
Robert Osfield
ccd208422f
Converted usage of GLuint to usigned int, in hope that it will get round the
...
warnings generated under OSX.
2002-11-08 08:34:06 +00:00
Robert Osfield
e852ee6dd8
Commented back in LIBS into Makefile for OSX build.
2002-11-08 08:12:18 +00:00
Robert Osfield
23064c9c64
Fixes for VisualStudio build and OSX build.
2002-11-08 08:11:12 +00:00
Robert Osfield
16d53271cc
Compile fix from Duvan Cope.
2002-11-07 16:08:37 +00:00
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
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
61ff1c7b0a
Fixes for Win32 build
2002-08-25 11:00:30 +00:00
Robert Osfield
d87dee5a75
Added support for the texture_env_dot3 extension.
2002-08-24 21:11:07 +00:00
Robert Osfield
239068f223
Added new osg::TextureBase, osg::Texture1D, osg::Texture2D, and osg::Texture3D
...
classes, and changed osg::Texture and osg::TextureCubeMap so that they now derive
from osg::TextureBase.
2002-08-24 19:39:39 +00:00
Robert Osfield
942e23caf3
From Stephan Huber, "I found a small bug in QTtexture.c: the code fails, when the image-files
...
don't reside on the boot-partition. I replaced the offending function by a
cleaner one.".
2002-08-21 20:42:19 +00:00
Robert Osfield
814dcc9677
Added IO Support for TexEnvCombine state attribute.
2002-08-20 18:00:22 +00:00
Robert Osfield
88f387810d
Added support for the tex_env_add and tex_env_crossbar extensions.
2002-08-20 14:15:49 +00:00
Robert Osfield
df9a899d9e
Moved the IO support for the osgText and osgParticle libraries into seperate
...
plugin libraries.
2002-08-20 11:27:08 +00:00
Robert Osfield
93303cf1cd
A FogCoordinateSource set/get methods to osg::Fog which correspond to the
...
FogCoord support added to osg::Geometry. Added suppot for these new parameters
to the .osg plugin.
2002-08-20 10:08:04 +00:00