Robert Osfield
1ba7e67e2c
Added missing TextureCubeMap.cpp to cvs.
2002-03-21 15:46:34 +00:00
Don BURNS
3816a4fcfc
Modified files reflect small changes to work with Sun OS port....
...
Removed redundant README file in osgviews... was a copy of sgv/README.
2002-03-21 07:50:14 +00:00
Robert Osfield
9836af1055
Added osg::TextureCubeMap which encapsulates OpenGL's cube texture mapping.
2002-03-20 22:39:51 +00:00
Robert Osfield
8656adb463
Added a Referenced::unref_nodelete() method which unreferences but does
...
not delete the object even if its count goes to 0 or below. This should
only be called in special circumstances, the ReaderWriter::ReadResult
being one of them. This new method has allowed the problem of objects
being multiple referenced on return from readNodeFile() & readImageFile().
2002-03-20 14:03:30 +00:00
Robert Osfield
49e7be88a7
Fixed the MS version number check in Optiizer.cpp. Fixes to memory handling
...
in ReaderWriterDW.cpp. Submissions from Geoff Michel.
2002-03-18 22:03:28 +00:00
Robert Osfield
e80496d5db
Changed Texture so that is use lazy updating on texture paramters (Filter/Wrap)
...
mode by using a _texParamtersDirty flag in combination with an
applyTexParamters(State&) method which does the paramters setting in one
tidy bundle. This new implementations replaces the CompileFlags submitted
yesterday.
Simplified NodeCallback by remove osg::NodeCallback::Requirements as they
are no longer needed.
Fixed comments in Drawable.
Put guards around cosf definations so that they are only used under Win32/Mac.
Fixed warning in CullVisitor.
2002-03-14 16:01:21 +00:00
Robert Osfield
3a4efd335a
Fix to handling of big/little endian in trpage_readbuf sent in by Randall Hopper,
...
and a waning fix.
2002-03-14 15:26:55 +00:00
Robert Osfield
bc30edb9e6
Support added for pivot points, submission from Mike Connel.
2002-03-09 10:54:56 +00:00
Robert Osfield
c67950561e
TXP plugin changes submitted by Boris Bralo.
2002-03-09 10:52:01 +00:00
Robert Osfield
ab5603e3d4
TXP plugin update from Boris Bralo.
2002-03-09 10:51:09 +00:00
Robert Osfield
689eca77d7
Added file extension guard to .obj reader plugin.
2002-03-04 01:37:18 +00:00
Robert Osfield
384b23ea62
Added an using namespace osg to fix a MipsPro7.3 build error.
2002-02-27 22:12:07 +00:00
Robert Osfield
ea11548b7b
Fixes to DW loader, submitted by Geoff Michel.
2002-02-27 21:57:56 +00:00
Robert Osfield
e21af2adce
Added support for glLightModel functionality via osg::LightModel.
2002-02-25 22:46:38 +00:00
Robert Osfield
f600f6fe4a
Added support for glLineStipple via osg::LineStipple state attribute.
2002-02-24 20:55:45 +00:00
Robert Osfield
aefaafdbf9
Fixed stereo implementation.
2002-02-18 23:01:09 +00:00
Robert Osfield
6d267336c1
Fixes to Win32 build of new DX writer plugin.
2002-02-18 21:52:45 +00:00
Robert Osfield
36ae60180f
Comment w.r.t OpenDX plugin updated.
2002-02-18 20:48:52 +00:00
Robert Osfield
4abfdb1ebd
Added OpenDX writer from Randall Hopper.
2002-02-18 20:46:47 +00:00
Robert Osfield
e87f7cf853
Updated the makefiles to all have the #!gmake reference to force IRIX
...
compilation using gmake rather than pmake or smake. This gets round
issues with exporting OSGHOME.
2002-02-13 22:56:47 +00:00
Robert Osfield
3ef8e4b0dd
Updates for IRIX build, and docs updates.
2002-02-12 22:51:18 +00:00
Robert Osfield
61e3e0c693
Clean up of TXP plugin for IRIX build.
2002-02-11 22:53:42 +00:00
Robert Osfield
aeaa31bd2a
Fixed Linux hang of the TXP loader by overriding the default -O2 optimization
...
level which appears to cause the code to hang, -O works fine for some strange
reason, I havn't found any direct problems in the code. This may be compiler
bug or a code bug, the bug may go away in later versions of GNUC++, the
problem currently occurs under GCC2.96.
2002-02-11 15:09:52 +00:00
Robert Osfield
6238cef37f
Applied fix to transparancy in flt loader.
2002-02-11 12:51:08 +00:00
Robert Osfield
479fc6d2f3
Fixed a make install error on the plugins related to the old definitions for
...
plugin names hanging around despite being deprecated. These definiations
confused the make install/make instclean so it tried to link a non existant
library. Have removed old definitions and everything intalls properly once
more:-)
2002-02-11 02:34:30 +00:00
Robert Osfield
86620891af
Fixes to TXP loader for Cygwin and Ming builds.
2002-02-10 10:42:55 +00:00
Robert Osfield
6ccb4b20c5
Updates to BMP loader from Geoff Michel.
2002-02-09 21:29:33 +00:00
Robert Osfield
88b6691369
Added std:: infront of string refrences to solve compile problems under gcc 3.0.3.
...
Also converted to unix file endings so other the windows style files.
2002-02-09 19:46:44 +00:00
Robert Osfield
16ada0fa3b
Fix to BMP loader.
2002-02-09 10:50:09 +00:00
Robert Osfield
ed45cccc25
Fixes for cygwin and mingw builds.
2002-02-09 10:24:39 +00:00
Robert Osfield
4c5fcd3f61
Fixes for IRIX and Boris Bralo's TerraPage loader.
2002-02-08 09:30:02 +00:00
Robert Osfield
7c7f195d6e
Fix for the handling of lighting in the DW loader.
2002-02-07 01:12:06 +00:00
Robert Osfield
a4ea331f3a
Added extensions code submitted by Yefrei.
2002-02-07 01:05:52 +00:00
Robert Osfield
92f68e2669
Added comment to flt2osg's handling of osg::Material setup w.r.t
...
osg::Material::_colorMode.
2002-02-05 10:49:58 +00:00
Robert Osfield
6630cfb455
Fixes for GCC 3.0.3 build.
2002-02-03 19:18:14 +00:00
Robert Osfield
4d43f83295
Removed the M_PI defines from include/osg/Math and have use a const double osg::PI etc
...
in its place.
2002-01-30 15:27:45 +00:00
Robert Osfield
78fc28be7c
Fixed the LOD center and range code that so that the values are now multiple
...
by the _unitScale to compenstate for different scales in the flt model. This
_unitScale had already been applied to the geometry data.
Integrated new defaults for the texturing wrap mode, for when now .attr file
is supplied with a flt file.
2002-01-26 14:13:27 +00:00
Robert Osfield
9d3a81b715
Added support for node instances to Open Flight loader. Submitted by Yefei He.
2002-01-22 11:03:26 +00:00
Robert Osfield
1594b762b4
Fixes to makefiles which have become a bit unhinged after MacOS X integration.
2002-01-16 21:20:22 +00:00
Robert Osfield
13ed25221a
Added support for billboard in OpenFlight loader. Submission from Nikolaus Hanekamp.
2002-01-16 21:12:02 +00:00
Robert Osfield
92785c864e
Integrated the changes to osgPlugin/Makefile's for MacOSX port.
2002-01-16 12:05:22 +00:00
Robert Osfield
ad6a1665cc
Added quicktime plugin (for Mac's only), submitted by Phil Atkin.
2002-01-16 10:41:55 +00:00
Robert Osfield
1fb8f9cb86
First batch of changes required for MacOS X build. Orignal submission from
...
Phil Atkin, merged by Robert Osfield.
2002-01-16 10:36:20 +00:00
Robert Osfield
f7e944c47f
Changed the use of std::vector<..>.begin() to &vector<..>.front() in code
...
from passing the vector contents to the GeoSet::setPrimLengths(..) etc.
methods. This has been done to fix the compile under the MS .NET compiler
which has changed the definiation of the std::vector<..>::iterator to
a class rather than a pointer.
2002-01-15 23:21:31 +00:00
Robert Osfield
ff61505789
Added '# LIBS += -limage' and explanation in comments to pfb Makefile,
...
submitted by Randall Hooper.
2002-01-15 15:49:02 +00:00
Robert Osfield
3671e77168
Added the set of GL_TEXTURE_GEN_S and _T to code converting pfTexGen to
...
osg::TexGen. This is try and fix a bug in handling tex gen datasets such
as sj_texgen.pfb.
2002-01-15 12:13:29 +00:00
Robert Osfield
42fd25c613
Renamed the TOP variable in the Makefiles to OSGHOME.
2002-01-04 20:44:41 +00:00
Robert Osfield
4ea7de39c6
Added osg::ShadeModel state attribute which encapsulates glShadeModel.
2002-01-04 17:35:54 +00:00
Robert Osfield
7a7322f7b0
Fixed a bug in writing of line strips and line loops to the .osg file.
2002-01-04 17:34:01 +00:00
Robert Osfield
75fe0a6a7f
Makefile changes to support Cywin port - submission from Norman Vine, updates
...
to fix case problems under unix by Robert.
2002-01-03 23:19:18 +00:00