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
Robert Osfield
b23a48a763
Renamed the osg::EarthSky to osg::ClearNode to make it more obvious what
...
role it has play and make it more relevant to non vis-sim applications.
2002-08-19 11:42:37 +00:00
Robert Osfield
bff72e1077
Fixes from Ulrich Hertlein to get the pfb plugin compiling with using
...
any deprecated API.
2002-08-16 10:56:20 +00:00
Robert Osfield
848ce4ae74
From Perry, support for color added to the MeshPrimtive/LocalVertexPool code.
2002-08-15 20:25:46 +00:00
Robert Osfield
5f6dbfecf3
Removed the getData() from MeshRecord and the dummy SMesh record, this
...
allow the FaceRecord base class to directly provide the datatype.
2002-08-15 15:04:23 +00:00
Robert Osfield
ccbc1df85b
Added a using namespace std; and removed std:: from from std::hex and std::dec.
2002-08-15 14:09:36 +00:00
Robert Osfield
4cbab17096
Added a virtual keyword into the getData() overrided methods.
2002-08-15 13:04:13 +00:00
Robert Osfield
61e3b34bc7
Submission from Perry Miller for support of OpenFlight15.7's local vertex pool
...
and mesh primitives. Converted Perry's code to work with the osg::Geometry
instead of osg::GeoSet.
2002-08-15 11:25:23 +00:00
Robert Osfield
29490a8c1c
Updates to DOFTransform so that its overrides the traverse() and compute*() methods
...
rather than depending upon callbacks for animating and compute matrices. Merged the
put/inverseput code between Sasa's and Ferndinand's DOF code.
From Bora Utka, Added support to osg::Sequence/OpenFlight AnimNode to the flt plugin.
2002-08-12 13:42:43 +00:00
Robert Osfield
f5c7fcf51d
Fixed the shininess factor in 3ds plugin.
2002-08-08 11:01:07 +00:00
Robert Osfield
b9b013e15b
Changed the support for anisotropic filtering in osg::Texture so that it
...
is now controlled via the setMaxAnisotropy(float) method, and is set up
independently for the mag filter mode, which it previously was done.
2002-08-07 15:52:24 +00:00
Robert Osfield
e01f9eb891
Added shells for DOFTransform and PositionAttitudeTransform to the .osg
...
loader, still need to fill in the saving and loading of paramters.
Went through the distribution remove old API usage.
2002-08-06 17:07:05 +00:00
Robert Osfield
25740b5c7f
Added new osg::DOFTransform node from Sasa Bistrovic, designed to mirror
...
the OpenFlight DOF transform nodes.
2002-08-05 15:07:18 +00:00
Robert Osfield
6c998bf97d
Added support for PROTECTED modes into the .osg reading and writing.
2002-08-05 13:29:51 +00:00
Robert Osfield
6b52e17c48
Fix to iv/vrml loader so that it correctly passes back the right ReadResult
...
and checks the validity of the file extension being passed to the plugin.
Removed main.cpp * .h moving all its functionality into readerwriter.cpp.
2002-08-04 21:11:00 +00:00
Robert Osfield
93403a54db
Changed the error reporting so that it directs it all via osg::notify, and
...
only uses the INFO level for reporting that the file to load is not
recognised. Also add check for LWO2 loading so that it returns FILE_NOT_HANDLED
message correctly.
2002-08-04 20:51:03 +00:00
Robert Osfield
cab49a9307
From Ruben Lopez, updates to VRML/IV loader.
...
From Ben Discoe, corrections to comments in osg::Transform
From Alberto Barbati, Lazy evaluation of inverse matrix in osg::MatrixTransfrom
2002-08-04 20:34:48 +00:00
Robert Osfield
fb0d87b29c
Added Sequence.cpp to osg plugin workspace file.
2002-08-03 19:42:39 +00:00
Robert Osfield
6a04fc3dee
Integrated Ulrich Hertlien's osg::Sequence node, and osgsequence demo, and
...
support for osg::Sequence in the pfb loader.
2002-08-03 18:11:21 +00:00
Robert Osfield
ddd78eb95e
Fix for Win32 build
2002-08-02 19:11:06 +00:00
Robert Osfield
1adc4992ff
Updates to iv/vrml loader from Ruben.
2002-07-31 15:16:14 +00:00
Robert Osfield
3840972440
Updates to the iv loader from Ruben - conversion from GeoSet to Geoemetry.
2002-07-30 10:08:50 +00:00
Robert Osfield
02bb66a572
Checked in Pavel's updates for non texured surfaces.
2002-07-28 23:27:21 +00:00
Robert Osfield
63e3364cc3
Checked in Marco's commented out #defines/rejigged struct names to get things
...
compiling under Windows, will need to check this in future as it may change with regeneration of parser files
with lex/yacc.
2002-07-28 21:15:25 +00:00
Robert Osfield
556fa81fda
Chagned the initiliazation of iterators, sent in by Alberto Barbati.
2002-07-28 12:52:15 +00:00
Robert Osfield
74f5cbe16a
Fixes to the inventor/vrml loader.
2002-07-27 21:35:21 +00:00
Robert Osfield
2c1b07e752
Fix for Windows
2002-07-27 10:25:51 +00:00
Robert Osfield
933ecce3d9
Fixes for Win32 build.
2002-07-27 10:22:58 +00:00
Robert Osfield
83a276a16a
Added missing osg:: from various references to osg::Objectf
2002-07-26 18:46:18 +00:00
Robert Osfield
5622b8c48b
Added support for LWO2, send in by Pavel Moloshtan.
2002-07-26 16:33:25 +00:00
Robert Osfield
078cdbed49
Added Ruben Lopez's Inventor/VRML 1.0 loader.
2002-07-26 15:37:23 +00:00
Robert Osfield
fe8d097cc0
From Ferdinand Cornelissen - Futher updates to the DOF code.
2002-07-25 22:08:51 +00:00
Robert Osfield
ec6c2cd229
Fix to DOF Record from Sasa Bistroviae.
2002-07-25 15:25:42 +00:00
Robert Osfield
a6eb0a8209
Fix for colors in old flt models from Brede.
2002-07-25 15:21:18 +00:00
Robert Osfield
55b7ed10a1
Implemented the DOF handling more cleanly, as per OpenFlight15.7 docs.
2002-07-24 16:29:00 +00:00
Robert Osfield
a41930ed17
Support added for Gnu C++ under Solaris.
2002-07-23 13:30:47 +00:00
Robert Osfield
80afddc08d
Checked in Tino Schwarze's port to HP-UX.
2002-07-23 10:48:22 +00:00
Robert Osfield
b23aea5173
Futher work on ensuring that all datatypes are initilizaed in OSG objects.
2002-07-21 10:04:33 +00:00
Robert Osfield
7682e32521
Updates to the Geometry to add more access methods, and updates to Optimizer
...
to add the new merge primtives option.
2002-07-19 14:19:49 +00:00
Robert Osfield
3cba9a52ef
Updates NEWS file for 0.9.0 release.
...
Added default computeBound() implementation to osg::Drawable which uses
a PrimtiveFunctor to compute the bounding box in a generic way, that
will work for all Drawable subclasses that implement the accept(PrimitiveFunctor&).
2002-07-18 22:35:54 +00:00
Robert Osfield
34be82c1ee
Moved get/setUserData from osg::Node into its superclass osg::Object to
...
allow other subclasses to add their own custom data.
2002-07-18 19:41:52 +00:00
Robert Osfield
979fc70a94
From Brede Johansen, fix the TexturePaletteRecord::endian() to handle
...
old flt versions (11, 12 & 13).
2002-07-18 15:25:02 +00:00
Robert Osfield
b513517502
From Brede Johansen
...
"I have found one bug in the ConvertFromFLT::visitFace() function. In the
early days of the Flight format, before the LightPoint record existed
they used face records with a light (-point) attribute."
2002-07-18 14:29:32 +00:00
Robert Osfield
8378d6802b
Removed repeated return transform in the visitDOF method.
2002-07-18 10:41:39 +00:00
Robert Osfield
8ad68f98e9
Added support for .sgi alias extension to the .rgb plugin.
2002-07-18 10:38:16 +00:00
Robert Osfield
a7c365c396
Fixed warnings.
2002-07-18 10:06:21 +00:00
Robert Osfield
7a8eeb3c92
Converted the osg::Material::set/getShininess option to use the standard
...
OpenGL range of 0.0 to 128.0 instead of the previous normalised shiniess
range. This brings it inline with the way the rest of the OSG uses a
1 to 1 mapping to OpenGL.
Converted the various loaders to use the new range, which is almost all
cases was simply removing the /128.0f which was required before!
2002-07-18 09:55:30 +00:00
Robert Osfield
3ec32aab82
Fixed spelling mistake.
2002-07-18 00:55:01 +00:00
Robert Osfield
09bdb10af5
Various fixes to the flt loader, and knock on changes to the osgUtil::Optimizer
...
to better support removal of seperate osg::Geometry instances where they
share the same state and bindings.
2002-07-18 00:53:03 +00:00
Robert Osfield
dadbd03443
Fix to DOF Record from Sasa Bistrovic
2002-07-16 19:19:31 +00:00
Robert Osfield
7fe394ac42
Removed repeat line from Makefile.
2002-07-16 18:56:12 +00:00
Robert Osfield
a389dfef8b
Fixes for MacOSX build from Bob Kuehne.
2002-07-16 15:13:57 +00:00
Robert Osfield
b9281a6f58
Added TextureCubeMap.cpp to the .osg plugin Makefile.
2002-07-16 11:33:36 +00:00
Robert Osfield
8a14aa29cd
Added support to osgUtil::Tesselator to insert extra vertices and other
...
attributes into an osg::Geometry node. Uses the new osg::ArrayVisitor.
Converted the osg plugin Geometry support to use the new UByte4 class.
2002-07-15 22:23:57 +00:00
Don BURNS
6a2aa35c26
Changes for Sunos
2002-07-15 04:42:44 +00:00
Don BURNS
523b64ef3f
Added Logos loader
2002-07-14 21:49:51 +00:00
Robert Osfield
8883f1d571
Fixed unused variable `osg::StateSet *osgStateSet' warning
2002-07-14 20:51:31 +00:00
Robert Osfield
733be1b309
Fixes to read/write of MatrixTransform/Transform.
2002-07-14 10:46:46 +00:00
Robert Osfield
4895b22da1
Fixed various warnings which were appearing under MacOSX.
2002-07-13 21:17:40 +00:00
Robert Osfield
db888b191c
Conveted GeoSet to use the new state::set*Pointer/disable*Pointer methods
...
to keep the current state valid.
2002-07-13 20:31:30 +00:00
Robert Osfield
12be8e5493
Support added for multitextured TXP files, sent in by Boris Bralo.
2002-07-13 14:16:41 +00:00
Robert Osfield
bbc6779f95
Added missing MatrixTransform.cpp file
2002-07-12 21:45:54 +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
8128265e09
Have added a #define USE_DEPRECATED_API to include/osg/Export, and
...
various
osg header and source files to optional compile in deprecated parts of
the
OSG API.
Have renamed osg::Transparency osg::BlendFunc to bring it in line with
the
rest of the OSG's StateAttribute classes which are named after their
OpenGL counterparts. include/osg/Transparency still exists and is
simply
a typedef to BlendFunc and is enclosed in a #ifdef USE_DEPRECTATED_API
block.
The matrix methods in the osg::Transform class have been
moved/replicated in
a osg::MatrixTransform sublcass from osg::Transform. The old matrix
functionality is still present in the osg::Transform class but is guard
by #ifdef USG_DEPRECATED_API blocks. One should now think of
osg::Transform
as being a Transform Node base class. MatrixTransform has all the
functionality of the original Transform class, so should be used
instead.
2002-07-12 14:25:10 +00:00
Robert Osfield
3edb8a3d18
Added blend color to osg::TexEnv
2002-07-12 10:30:27 +00:00
Robert Osfield
5b97336e37
Addition of RoadRecords from Yefei He.
2002-07-12 08:48:27 +00:00
Robert Osfield
b015d80d68
Fixes for win32 build
2002-07-11 12:57:53 +00:00
Robert Osfield
54c27e36bf
Updates for new use of GLushort instead of osg::ushort in GeoSet index pointer.
2002-07-10 22:38:02 +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
46af97727a
Added Yefei He's RoadRecords to the flt loader, these records will be
...
ignored by the loader, but will allow the loader to skip over them and
continue reading the rest of the file correctly.
2002-07-10 09:32:44 +00:00
Robert Osfield
aca7f7b216
Fixes for IRIX build.
2002-07-09 10:23:48 +00:00
Robert Osfield
0c943945f7
Implemented most of the changes required for supporting multitexturing in
...
the osg::State/osg::StateSet/osg::StateAttribute and related classes.
2002-07-09 09:35:42 +00:00
Robert Osfield
0801b363f5
Work on supporting multitexturing in State/StateSet/StateAttribute/Geoemtry.
2002-07-07 14:40:41 +00:00
Robert Osfield
3700e7e2cd
Reimplemted the osgUtil::SceneView::setCalcNearFar() functionality to bring
...
it inline with the CullStack/CullVisitor implementation. Also added the
setSmallFeatureCullingPixelSize() method and wired them up inside
SceneView.cpp so they set the corresponding CullVisitor paramters.
Intergrated pfImage copying change in the Performer plugin, submission sent in by Ulrich Hertlein
2002-07-02 19:53:18 +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
4e81711ef7
A couple fixes to remove Performer runtime warnings.
2002-06-28 20:54:09 +00:00
Robert Osfield
ebbd72556e
Fixes from Ulrich Hertlein to build of pfb plugin. Small mods to these
...
by Robert.
2002-06-28 16:25:46 +00:00
Robert Osfield
26497c7581
Change =0 to osg::Vec2Array::iterator() in .obj loader to get round warnings
...
under gcc3.0.x
2002-06-28 08:36:02 +00:00
Robert Osfield
01992a7790
Ported the flt plugin across to use osg::Geometry, it still uses a GeoSet
...
internally, and I will remove this after some futher work.
2002-06-27 20:29:32 +00:00
Robert Osfield
fb3e705709
Converted the template DrawElements primitive class into three seperate
...
non templated classes - UByteDrawElements, UShortDrawElements, UIntDrawElements.
2002-06-27 13:15:34 +00:00
Robert Osfield
726d680184
Removed the test aginst a iterator as a bool.
2002-06-27 09:56:30 +00:00
Robert Osfield
7c95922300
Ported LWO loader across to use osg::Geometry. Work not quite complete,
...
as we need to retesselate any concave polygons that can exists in these
datasets.
2002-06-26 21:08:17 +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
bdafc27d9c
Ported pfb, txp and obj loaders across to use osg::Geometry.
2002-06-26 14:34:04 +00:00
Robert Osfield
40fefcf335
Ported various demos and support classes over to use the new osg::Geometry class
...
thus removing dependancy on osg::Geoset from most of the OSG, only loaders
left to port now.
2002-06-26 10:28:17 +00:00
Robert Osfield
cbeeeefdab
Added osg::Drawable::PrimitiveFunctor and TriangleFunctor subclass for
...
querrying the primitive data inside Drawables. Moved various support
classes over from being osg::GeoSet based to osg::Geometry based.
2002-06-25 20:27:51 +00:00
Robert Osfield
cbb95d0445
Checked in .osg support for the new osg::Geometry class.
2002-06-24 21:37:34 +00:00
Robert Osfield
bbc129e5c6
Compile Fixes for Win32.
2002-06-22 15:46:43 +00:00
Robert Osfield
53b6d0c92e
Bug fix to the size calculation of bmp images, changed both the reading and
...
writing of images.
2002-06-21 15:14:29 +00:00
Robert Osfield
77e1fb7f80
Added support for reading and writing OccluderNode's to the .osg file format.
2002-06-19 16:06:03 +00:00
Robert Osfield
b3c26d5634
Changed the osg::LightSource so its Light attribute is now generalised to
...
be a StateAttribute. This allows alternative implementations of Lights
other than the standard osg::Light.
2002-06-19 08:34:19 +00:00
Robert Osfield
aa58ecae2f
Clean ups for the Windows build.
2002-06-18 10:18:12 +00:00
Robert Osfield
6767dd49d0
Rewrote the FileUtils support for data and library file paths, moving the
...
storage of the path lists into osgDB::Registry, and changed the data
structor from a char* to a std::deque. Changed a names of couple of the
convinience functions in osgDB/FileUtils to better reflect the two
public FilePathList's - DataFilePathList and the LibraryFilePathList.
Added support into the osgDB::Registry::readNode/Image/Object methods
for pushing and popping the path of the current file being loaded.
2002-06-17 21:50:37 +00:00
Robert Osfield
d7760fbbd4
Further updates to the occlusion culling code, also adding missing OccludeNode
...
file the .osg plugin.
2002-06-14 08:45:28 +00:00
Robert Osfield
61df1ed6b7
Further work on occlusion culling.
2002-06-13 23:46:02 +00:00
Robert Osfield
247cb3ff7e
Checked in Macro Jez's additions to osgText to support .osg IO make it
...
a fully functioning NodeKit.
Also reimplement notify() to try an prevent a crash which has been caused by
to objects in notify.cpp being initiliazed twice, the second time the auto_ptr
holding the dev/null ofstream was being initilized to 0.
2002-06-11 18:41:57 +00:00
Robert Osfield
e73d4ca5b3
Changes for Cygwin build, sent in by Norman Vine.
2002-05-28 11:40:37 +00:00
Robert Osfield
d17714939e
Modified the setting of min and mag texture filter modes to produce higher
...
quality mip maps.
2002-05-18 08:35:09 +00:00
Robert Osfield
a9ef1ecb1d
Reverted change to use decal flag.
2002-05-13 07:30:21 +00:00
Robert Osfield
8d48cc8dd7
Support added for OpenFlight switch nodes, submission from Brede Johansen.
2002-05-07 11:12:01 +00:00
Robert Osfield
1f1d3b57fe
Updated docs.
...
Fix to pfb Makefile for missing $.
2002-04-26 13:45:01 +00:00
Robert Osfield
07ba07dc62
Fixed remaining MAX_PATH usuage, replacing it with the new DX_MAX_PATH, this
...
should solve compile problems under VisualStudio .NET.
2002-04-26 08:25:51 +00:00
Robert Osfield
26d34ed6d6
Qarning fixes, and updated the date in NEWS to reflect todays release of 0.8.45
2002-04-26 08:16:14 +00:00
Robert Osfield
2bd20f5c6f
Fixes for IRIX build.
...
Fix for a warning under VisualStudio.NET.
2002-04-25 22:09:28 +00:00
Robert Osfield
a1a1876875
Cygwin build fixes.
2002-04-25 22:07:48 +00:00
Robert Osfield
62dc8f7cda
Fix for window build.
2002-04-25 21:31:16 +00:00
Robert Osfield
6dbfa3b88d
Fixes to .obj plugin from gideon.
2002-04-25 11:30:21 +00:00
Robert Osfield
61b0865309
Merged Bob's changes for MacOSX build. This change is simply the addition of
...
GLUT_LIB to the link line. This change should be removed once we fixed the
OSG_LIBS so that it doens't include osgGLUT, however, I'll leave this for another
day...
2002-04-24 20:57:00 +00:00
Robert Osfield
8f3debaf9b
Changes for Mac OSX build, sent in by Bob Kuehne
2002-04-24 20:04:34 +00:00
Robert Osfield
20b5e59dfd
Fix for the Cygwin build related to the new FileUtils_Unix not using the
...
Windows PATH environmental variable for searching for libraries. Sent in
by Norman Vine.
Reoder of the makedefs/makedirdefs to fix Mac OSX compilation. Sent in by
Bob Kuehne.
2002-04-24 08:50:03 +00:00
Robert Osfield
f4f4423fe7
Added a pragma to get round a VisualStudio warning that I couldn't fix
...
in any easy way.
2002-04-23 11:02:09 +00:00
Robert Osfield
2d0df88ee4
Added an imageList.clear() to osgbillboard so that its memory would be
...
cleared before entering the viewer main loop, this removes memorymanager
a reported memory leak due to the viewer using exit() which bypasses
the clean up on main itself.
Added an osgNew to the ReaderWriterRGB.cpp to aid detected of tracking of
memory leaks.
2002-04-23 10:55:45 +00:00
Robert Osfield
dcfef4a023
Integrated submission from Boris Bralo:
...
Supported added for precompiled mip maps stored in osg::Image, and read
by osg::Texture.
Updates to TerraPage loader for support of compressed texture images and
precompiled mip maps.
2002-04-22 21:13:33 +00:00
Robert Osfield
4b9473eda9
Fixes the .mlt loading from Ben Discoe.
2002-04-22 09:31:54 +00:00
Robert Osfield
1131be56dc
Fixes for Max OSX build from Bob Kuehne.
2002-04-19 16:22:25 +00:00
Don BURNS
c5f26d78f6
Fixed an assignment that should have been a test
2002-04-19 16:00:15 +00:00
Don BURNS
4624514924
Updated some files sent by Boris Bralo for the txp loader.
2002-04-19 15:34:40 +00:00
Don BURNS
0a2e5565ac
Added Bob K's fix
2002-04-19 15:00:57 +00:00
Robert Osfield
4b5e4904ac
Fixed VisualStudio .NET warnings in TXP plugin.
2002-04-18 10:38:58 +00:00
Robert Osfield
ab64566b61
Fixed memory leak in FTGL associated with the function of gluTesselate.
...
Fixed a warnings in the DW plugin.
2002-04-18 09:57:42 +00:00
Robert Osfield
b02cc80533
Fixed the seveal hunderd warnings in TerraPage loader!
2002-04-16 21:08:46 +00:00
Robert Osfield
3f249fcb57
Fix to TXP plugin to handle to new osg::Image method naming.
2002-04-16 15:44:31 +00:00
Don BURNS
6428715304
Added makedirdefs via a request from Bob Kheune. This allows us to edit
...
the DIRS cruft in a single file in the Make directory instead of having
to edit multiple files. Also edited Makefiles that needed to include
this file.
Also cleaned up txp loader to compile with SunOS. This needs to be retested
on other platforms.
2002-04-16 15:21:24 +00:00
Robert Osfield
7836540bb3
Added osg::Image::setPixelFormat(..) and setInternalTextureFormat(), and
...
renamed osg::Image::pixelFormat(), internalTextureFormat(),dataType() to
osg::Image::getPixelFormat() etc. These changes are to bring it more
into line with the style of the rest of the OSG.
Updated the rest of the distribution to take account for these names changes.
2002-04-16 14:57:39 +00:00
Robert Osfield
2b4008bbbc
Purge on warnings under Linux.
2002-04-16 14:09:46 +00:00
Robert Osfield
43fa577566
Updates to the flt plugin from Brede Johansen.
2002-04-16 11:36:23 +00:00
Don BURNS
f69e1276a9
fixed a few problems that didn't work right with installing demo source
...
on platforms other than Solaris.
2002-04-16 03:24:41 +00:00
Robert Osfield
9fd7c528f4
Compile fixes for IRIX, submitted by Randall Hopper.
2002-04-15 21:48:43 +00:00
Robert Osfield
5a0f8118b7
Added support for OSG_USE_MEMORY_MANAGER into Windows build.
2002-04-15 21:03:32 +00:00
Robert Osfield
1c1b29809b
Fixes to warning in Win32 build
2002-04-15 10:59:16 +00:00
Robert Osfield
83a142b944
Fixed the copying of LongIDRecord's strings in flt plugin so it now uses the record length-4,
...
to create the string. Also Removed some in appropriate comments from LongIDRecord, since they
were obvious and hang over of a copy and paste job on the code.
2002-04-15 08:51:11 +00:00
Robert Osfield
09d41789da
Fixes to osg::Image::createImage(..), and addition of code to Viewer.cpp to support
...
output of screen snapshot via 'O'.
2002-04-14 13:41:13 +00:00
Robert Osfield
03e9f63d54
Addition of write .bmp to the BMP plugin.
2002-04-14 12:54:26 +00:00
Robert Osfield
8a5c6d5102
Clean up for VisualStudio build
2002-04-13 22:19:29 +00:00
Robert Osfield
3f67300c82
Saved workspace from VisualStudio to follow up on missing demo dependancies
2002-04-13 10:18:58 +00:00
Robert Osfield
6ed233d0d2
Added DataVariance enum and set/get fields to osg::Object to help identify
...
which objects have values that vary over the lifetime of the object (DYNAMIC)
and ones that do not vary (STATIC). Removed the equivalent code in
osg::Transform, StateSet and StateAttribute, as these are now encompassed
by the new DataVariance field.
Removed MatrixMode enum from Matrix, and associated fields/parameters from
osg::Transfrom and osg::NodeVisitor, since MatrixMode was not providing
any useful functionality, but made the interface more complex (MatrixMode
was an experimental API)
Added ReferenceFrame field to osg::Transform which allows users to specify
transforms that are relative to their parents (the default, and previous behavior)
or absolute reference frame, which can be used for HUD's, camera relative
light sources etc etc. Note, the view frustum culling for absolute Transform
are disabled, and all their parents up to the root are also automatically
have view frustum culling disabled. However, once passed an absolute Transform
node culling will return to its default state of on, so you can still cull
underneath an absolute transform, its only the culling above which is disabled.
2002-04-11 23:20:23 +00:00
Robert Osfield
421e381f17
Patch to ReadWriter3DS from Mike Connel.
2002-04-11 17:13:16 +00:00
Don BURNS
ef15655ea3
Added (previously omitted) libpng, libjpeg, libtiff, libgif to makedefs
...
in the Linux section
2002-04-10 01:29:45 +00:00
Don BURNS
30eab4b79a
Added pkgadd distribution for Solaris.
...
Added a cleaner way to install demo source so that installed versions use a
simplified makedefs/makerules.
Small fix to get osgText to compile with Solaris CC. Constructor declared
with a non-const argument, but implemented with const argument.
2002-04-09 14:55:38 +00:00