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
Robert Osfield
e3ad8a87ee
Updates for Cygwin port, from Norman Vine.
2002-01-03 21:34:57 +00:00
Robert Osfield
19bf04c205
Updates from Randall Hopper to fix build under IRIX.
2002-01-02 15:42:42 +00:00
Robert Osfield
f9ee0fe44a
A small bug fix to the matrix dump function (it was primtiing out 5 columns
...
instead of four).
Added support for multiplying mesh geometry by the matrix attached to the
Lib3dsMesh structure, however this produces disjointed models so have
to the default mode to bypass this multiplication code. Will need to revisit
this in the future.
2002-01-02 11:03:26 +00:00
Robert Osfield
930db1112b
Compilation fix to pfb plugin, sent in by Ulrich Hertlein.
2001-12-30 15:01:30 +00:00
Robert Osfield
98c8447ae9
Fixed the osg::Light so that it requires the user to explicitly define which
...
OpenGL light is being operated on, and also now relies upong the standard
osg::State handling of OpenGL modes to switch on the appropriate lights.
The previous static counter mechansim for the light number was causing a
redundent light to be created when the osg plugin created the first osg::Light
to use a prototype for other osg::Light's to be cloned from in the
.osg plugin execution.
The static count mechanism also prevent the lights modes being controlled
independantly from the setting of the light paramters themselves. This
meant that a light once created was global, and couldn't be turned off
locally via the OSG's support for OpenGL mode enabling/disabling. This
has been overcome with the new implementation, the user has complete
flexiblity of when and where to use the different lights at their
disposal.
2001-12-24 21:34:40 +00:00
Robert Osfield
3652bd9015
Various clean ups for the release.
2001-12-24 14:12:38 +00:00
Robert Osfield
9365f0e3b1
Added support for glLineWidth via an osg::LineWidth StateAttribute.
2001-12-20 20:48:46 +00:00
Robert Osfield
52cf47bf2e
Updates to flt loading of light points, from Brede Johansen.
2001-12-20 12:12:30 +00:00
Robert Osfield
296865e250
Adding support for controlling visual settings via environmental variables
...
and command line paramters. Including support for stereo and stencil buffer.
2001-12-19 00:38:23 +00:00
Robert Osfield
13641f1d6c
Fixed compilation problems in flt plugin under Windows, and removed usage of
...
the default GeoSet::AtttributeDeleteFunctor from the DynGeoSet since it handled
the memory deletion iteself via STL containers.
2001-12-18 10:46:15 +00:00