Robert Osfield
fbe674b321
First cut of new osgText implementation.
2003-03-02 21:05:05 +00:00
Robert Osfield
a826f5ee31
Changed incorrect instance "TRUE" to "FALSE" to match DepthMask state.
2003-02-27 08:43:02 +00:00
Robert Osfield
4275a96d40
Changed the title of the ReaderWriter, removing the "Default" word as its no
...
longer appropriate.
2003-02-27 08:38:53 +00:00
Robert Osfield
b32c8c65f3
Added osg::Image::AllocationMode enum and associated set/get methods.
...
osg::Image::setImage has also been modified to require the AllocationMode
mode to be passed to it so that it knows how to delete the data once the
image goes out of scope.
Port the image plugins across to specify the new AllocationMode, and converted
them across to using new/delete in place of malloc/free.
2003-02-25 11:56:18 +00:00
Robert Osfield
73f741d16f
Completed first pass at providing commandline option usage via the new
...
osg::ArgumentPareser and osg::ApplicationUsage classes. The osgproducer
demo has been implemented using these new mechansims.
2003-02-18 21:58:40 +00:00
Robert Osfield
73dd9eb59b
Added reference to Group in the RegisterDotOsgWrapperProxy.
2003-02-18 11:33:55 +00:00
Robert Osfield
319e84ceed
Added support for ClipNode in the .osg plugin.
2003-02-13 15:37:32 +00:00
Robert Osfield
43d304c24e
From Geoff Michel, updates to the Geo plugin.
...
Removed osg::uint reference form the pfb plugin.
2003-02-13 15:16:04 +00:00
Robert Osfield
8f1ba9d21b
Removed include/osg/Types header defining osg::ubyte, osg::ushort etc. Changed
...
any reference to these in the distribution across to using unsigned char,
unsigned short etc. This has been done to keep the OSG code more opaque
to what types are.
2003-02-12 19:20:47 +00:00
Robert Osfield
0e8154d3d3
From Norman Vine, updates to TXP plugin so that the Cygwin build uses pthreads.
2003-02-12 12:02:25 +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
636c5e3d98
Added if (!null) guard around description strings.
2003-02-12 09:52:27 +00:00
Robert Osfield
fa643c8795
From Geoff Michel, updates to the Geo loader including handling of
...
.geo files from the rc1 of the GEO modeller.
2003-02-10 15:16:51 +00:00
Robert Osfield
ebb31fb339
Updates from Ulrich for sharing of textures.
2003-02-10 14:47:20 +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
df21d69666
Fixed the formating of the Matrix output.
2003-01-24 09:35:05 +00:00
Robert Osfield
5a05e14e50
Fix to handling of comment records and longid's.
2003-01-23 14:46:10 +00:00
Robert Osfield
3cdf42e599
Fixed Win32 compile problem.
2003-01-23 10:11:11 +00:00
Robert Osfield
9aaf5a560b
Changed the implementation of the texture objects and display list to delete
...
caches so that they use a std::vector<> swap on the internal data structures
when ready to delete to minimize the amount of time that a race condition
condition can happen.
2003-01-22 23:34:18 +00:00
Robert Osfield
fbeae00fa2
Fixed handling of rotations reading from .osg of osg::Shapes.
2003-01-22 16:17:56 +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
1c56ee52a2
Changed the local header includes from <> to "" to help the OSG compile.
2003-01-21 21:02:17 +00:00
Robert Osfield
87973523ad
Added gaurds around alpha function value to catch erroneous values before they
...
are passed on to the OSG.
2003-01-21 16:02:29 +00:00
Robert Osfield
2261b1cc86
From Joseph Steel, addition of texture filter modes to txp plugin.
2003-01-21 09:09:48 +00:00
Robert Osfield
2ac175484a
Updates from Pavel.
...
1. Storing color of geometry in ColorArray e.g. its don't work when
lighting off.
2. Detecting of alpha channel and automatically enabling blending.
2003-01-20 10:41:21 +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
3723dcda1d
From Ruben, updates to the IV/VRML1 loader to handler large datasets.
2003-01-20 09:09:46 +00:00
Robert Osfield
4dd273de70
Added support for ReferenceFrame into osg::LightSource, modified the .osg
...
plugin and cull visitor to account for this change.
2003-01-16 16:37:24 +00:00
Robert Osfield
d6480b0425
Warning fix for Win32.
2003-01-15 20:57:48 +00:00
Robert Osfield
5960307703
Patch from Joseph Steel, added missing check for the mipmap usage.
2003-01-15 11:33:33 +00:00
Robert Osfield
af6a6ff9f0
Fixes for Win32 build.
2003-01-14 16:39:41 +00:00
Robert Osfield
3365634a01
Submission from Joseph Stell, added LoadModels to TerrapageNode.
2003-01-14 14:00:09 +00:00
Robert Osfield
7ee6d4f3f4
Clean up to the cross platform support in DirectX plugin.
2003-01-13 14:11:06 +00:00
Don BURNS
0adc037d20
ReaderWriterDirectX.cpp needed some std::'s
2003-01-11 20:56:29 +00:00
Robert Osfield
9bd4145405
From Ulrich, fixes to double to float conversion warnings under Windows.
2003-01-11 20:43:47 +00:00
Robert Osfield
e8ddbdd195
Updates from Ulrich.
2003-01-10 17:06:20 +00:00
Robert Osfield
f790d1ff15
Added missing header for new matric reading and writing methods.
2003-01-10 16:56:39 +00:00
Robert Osfield
f36bc69c58
Made the more of the OSG's referenced object desctructors protected to ensure
...
that they arn't created on the stack inappropriately.
Split the implemention of Matrix up so that it is a simple no referenced counted
class and can be safefly created on the stack. To support referenced counting a
seperate subclass now exists, this is RefMatrix which inherits from both Matrix and
Object.
2003-01-10 09:25:42 +00:00
Robert Osfield
ba2c3a187d
From Ulrich Hertlein, DirectX .x model loader plugin.
2003-01-08 22:52:27 +00:00
Robert Osfield
a1f6b8730b
Added Shape.cpp to cvs resposity. Shape.cpp adds support for the various
...
osg::Shape in the .osg file format.
2003-01-08 16:33:02 +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
ba34880464
Added support for reading and writing Sphere, Box, Cone, Cylinder and Grid shapes.
2003-01-08 14:32:13 +00:00
Robert Osfield
e6b64a5550
Added support for sharing arrays in the .osg format for osg::Geometry.
...
Fixed the osgUtil::Optimizater so it takes into account sharing of arrays when
deciding whether an geometry can be merged or not.
2003-01-07 16:29:07 +00:00
Robert Osfield
53204898f3
Fixes for Irix64 build.
2003-01-06 23:19:42 +00:00
Robert Osfield
3ef3666d0f
Added new ARB vertex program state attribute and demo program,
...
sent in my Brede Johansen.
2003-01-04 20:45:53 +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
6ee563ad55
Updates the terrapage to try and make it thread "safer" when used with the OSG.
2002-12-21 19:41:27 +00:00
Robert Osfield
e9287afd5e
Turned display lists off in the osg::Geomety created by the terrapage loader,
...
this is done because terrapage will dynamic page in and out geometry so we
don't want to keep creating and deleting display lists.
2002-12-21 11:30:54 +00:00
Robert Osfield
adf5c91808
Renamed all instance of AppCallback/AppVisitor to UpdateCallback/UpdateVisitor
...
inline with the decision to rename the "app phase" the "update phase".
2002-12-19 15:55:40 +00:00