Robert Osfield
980cfc78f9
Renamed _mips to _mipMapKernel
2003-10-31 10:11:38 +00:00
Robert Osfield
c11762aeb3
Changed the warnings about unhandled op codes to NOTICE instead or WARN
2003-10-17 10:28:55 +00:00
Robert Osfield
c342b29a04
Warning fixes for Win32.
2003-09-16 19:56:19 +00:00
Robert Osfield
79b87c933e
From Julian Ortiz, fix to OpenFlight loader so that it handlers OpenFlight
...
switches in a more appropriate way.
2003-09-15 15:03:30 +00:00
Robert Osfield
6bb951a5bb
From Alberto Farre, fixes to the file path handling of internally referenced
...
files.
2003-08-31 22:17:15 +00:00
Robert Osfield
64e3c052d6
Removed double line spacing in ExternalReference code.
2003-08-28 12:49:38 +00:00
Robert Osfield
138835d817
Added a PushAndPopFilePath usage to the internal flt file references.
2003-08-28 12:47:32 +00:00
Robert Osfield
2ce08d8088
Warning fixes from Gideon May.
2003-07-23 11:45:37 +00:00
Robert Osfield
94d8e72ad3
warning fixes for IRIX.
2003-07-11 22:05:34 +00:00
Robert Osfield
71eb715068
Added an osg:: infront of the Object() copy constructor call to AttrData.
2003-06-30 06:41:42 +00:00
Robert Osfield
aca924113f
From Julia Oritz Rojas, support for detail textures.
2003-06-25 10:12:50 +00:00
Don BURNS
15f88f35b2
*** empty log message ***
2003-06-24 15:40:09 +00:00
Robert Osfield
1c8db044f1
Removed various assert() instances since these were causing crashes.
...
From Alberto, changed the use of the DynGeoSet to it was querried on demand
rather than used as a pointer which was originally being invalidate before
use.
2003-04-18 10:10:14 +00:00
Robert Osfield
b04edb70aa
Added a clear of allocated Records and the cache's in flt::Registry to
...
prevent memory leaks and unneccesary references to model models remaining
beyond the scope of the loader.
2003-03-18 20:10:51 +00:00
Don BURNS
fa33244f92
1) Replaced all Makefile* with GNUmakefile*.
...
2) Changed Makedepend system to make individual dependency files, which
should save time rebuilding dependencies by limiting the regeneration
of dependency file for only modified source files.
2003-03-12 10:39:43 +00:00
Robert Osfield
ef3b957cb9
From Daniel Sjolie, support for light source.
2003-03-07 09:04:04 +00:00
Robert Osfield
08cdf05b3e
Fix to comment record and longID length using both inbedded null's and
...
rec length to determine the length of a string.
2003-03-07 08:52:51 +00:00
Robert Osfield
042af2be03
Add if (!textureStateSet) return check to replace assert() to prevent crashes
...
when multi-texture layers don't exist.
2003-02-12 10:10:03 +00:00
Robert Osfield
5a05e14e50
Fix to handling of comment records and longid's.
2003-01-23 14:46:10 +00:00
Robert Osfield
ec30f7d8a6
Update the ReaderWriterATTR file so that it used the definitions that Joseph
...
Steel obtained from MPI.
Removed the unique child check from the flt::PrimRecord and osg::Group, this
allows more flexibility when specifing nodes, and is faster..
2003-01-20 09:56:09 +00:00
Robert Osfield
d6480b0425
Warning fix for Win32.
2003-01-15 20:57:48 +00:00
Robert Osfield
6727b8d5f7
Cleaned up the code for the animation flags of the group record.
2003-01-08 16:30:48 +00:00
Robert Osfield
7b6d802131
Fixed options code.
2003-01-04 20:43:27 +00:00
Robert Osfield
fe64942c54
Added a AnimationPathCallback which can update both a MatrixTransform and a
...
PositionAttitudeTransform, removed the equivialnt callbacks once found in these
transform classes.
Changed the NodeCallback class so its derived from osg::Object instead of
osg::Referenced to allow it to be saved out in the .osg format.
Added support for Update and Cull callbacks into the .osg file format.
Added support for AnimationPathCallback into the .osg file format.
2003-01-02 20:10:04 +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
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
aa3d887e94
Added check of translucency of an image via osg::Image::isImageTranslucent().
2002-11-25 16:40:30 +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
b89e7282ed
From Jason Daly, fix for long file names on sequence nodes.
2002-11-14 15:30:28 +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
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
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
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
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
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
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
Robert Osfield
52518673d1
From Yfei He, added in missing RoadConstruction handler.
2002-08-31 09:59:18 +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
8e75f531e3
Converted code dependant on osg::Texture across to its replacement osg::Texture2D.
2002-08-25 15:31:44 +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