Commit Graph

5167 Commits

Author SHA1 Message Date
Robert Osfield
12100cd5d1 From Eric Wing, updates to Xcode projects 2006-06-28 11:27:16 +00:00
Robert Osfield
c3548195f7 Made the new OpenFlight plugin the default. 2006-06-28 10:22:04 +00:00
Robert Osfield
2cf8fd8f42 Added a setRadius into the screen space LOD. 2006-06-28 10:00:54 +00:00
Robert Osfield
5acd4f3be1 From Martin Naylor, build fix for windows. 2006-06-28 07:17:56 +00:00
Robert Osfield
95d29db7c5 Removed old #include <vector.h> entries. 2006-06-28 07:14:39 +00:00
Robert Osfield
03af6871ab Added setting of the CameraConfig:TheradModelDirective 2006-06-27 20:13:41 +00:00
Robert Osfield
710adfd698 From Eric Wing, added support for outline/shadow and colour gradient effects. 2006-06-27 13:09:00 +00:00
Robert Osfield
c71fc9fcb6 From Stephan Huber, remove Platform specific handling of multi-sample setup as its
now supported within Producer in a generic way.  From Robert Osfield fix to the parameter ordering
2006-06-27 12:08:30 +00:00
Robert Osfield
bc9c949d53 From Eric Wing, added support for outline/shadow and colour gradient effects. 2006-06-27 12:05:40 +00:00
Robert Osfield
261f4a3b1c From Terrex and Andrew Sampsom and Don Tidrow and Robert Osfield,
email comments from Andew Sampson,

"I've contacted Terrex, and obtained the 2.2 version
of their trpage library.  The library included a
fork of OSG 0.9.8's txp plugin, modified to load 2.1+
txp DBs.

I've done the work of incorporating the changes made
to OSG's txp plugin since 0.9.8 into Terrex's fork.
The forked version is now up-to-date with the changes
made to OSG 0.9.9 and 1.0.

Terrex made a lot of changes (especially differences
in whitespace), so the diff between the forked version

and OSG 1.0's txp plugin is yucky.  I did my best, but

keep in mind that this is the result of a 4-way merge
(kinda... terrex-0.9.8, stock-0.9.8, stock-0.9.9,
stock-1.0).

I really want to see this forked version merged back
into the main OSG branch.  The new features offered by

this version of the plugin (2.1+ support, variable
LOD support, bug fixes) are worth the trouble."

--

Don Tidrow then took this code and added his work.

--

Robert Osfield then fixed all the warnings that abound in the trpage code base.
2006-06-27 10:07:42 +00:00
Robert Osfield
240fc9ebee Replaced ref_ptr<>:take with ref_ptr<>:release, and added handling of removeal
of ref_ptr<> operator >.
2006-06-26 20:45:51 +00:00
Robert Osfield
5b89ddab01 Added DeleteHandler flush call. 2006-06-26 20:43:18 +00:00
Robert Osfield
3e177ca727 From Tyge Løvset, ref_ptr<> template constructor, operators and associated functions.
From Robert Osfield, tweaks and fixes to the above, also removed the deprecated take() method.
2006-06-26 20:41:33 +00:00
Robert Osfield
d084c34e04 Added a functional DeleteHandler. 2006-06-26 20:35:10 +00:00
Robert Osfield
fdd5831b83 Fixed crash on osgconv --compressed cow.osg cow.ive 2006-06-26 15:18:14 +00:00
Robert Osfield
a39516c297 Changed GLunit usage to unsigned int. 2006-06-26 10:57:17 +00:00
Robert Osfield
c46560e478 From Andreas Ekstrand, fix for Windows 2006-06-26 10:39:38 +00:00
Robert Osfield
f8644d08e5 From Leandro Motta Barros, documentation additions to PrimitiveSet & TriangleFunctor. 2006-06-26 09:56:52 +00:00
Robert Osfield
3b499341ed From Philipp Siemoleit,
There are some group codes (i.e. "62") which are interpreted as
    dxfDataType::SHORT. That's right because the dxf-specification defines
    "16 bit integer" as the type for the corresponding value.
    But readerBase::readGroup() calls readValue(std::ifstream&, unsigned
    short). I changed readValue(std::ifstream&, unsigned short) to
    readValue(std::ifstream&, short). I found no group code at the dxf-specs
    which needs a "16 bit unsigned integer" value. So the
    readValue(std::ifstream&, unsigned short) function is obsolete - right?
2006-06-26 09:30:16 +00:00
Robert Osfield
a9f2e345c9 From David Fries, Reset only the RenderLeaf objects used in the last
frame as given by the _currentReuseRenderLeafIndex instead of
resetting all leaves which can be very time consuming.
2006-06-26 09:18:49 +00:00
Robert Osfield
a80ba8b3d8 From Martin Naylor, added osgGA dependency to osgkeyboardmouse 2006-06-26 09:09:10 +00:00
Robert Osfield
46ad44a9e7 Fixed typo. 2006-06-16 09:28:35 +00:00
Robert Osfield
8d111fd147 Added pick handler. 2006-06-12 14:04:40 +00:00
Robert Osfield
ac20eca87a Revamped osgkeyboardmouse to use the osgGA. 2006-06-12 11:32:11 +00:00
Robert Osfield
f623b4021e From Mathew May, FreeBSD build fixes. 2006-06-12 09:57:01 +00:00
Robert Osfield
4ab7be2833 Martin Spindler, new osg::ClampColor state attribute. 2006-06-08 15:27:18 +00:00
Robert Osfield
2e2684c05a From Paul Martz, added support to textured light points into osgSim and OpenFlight loader, as part of the OpenFlight v16.0 spec. 2006-06-08 14:32:02 +00:00
Robert Osfield
4d35807a54 From Matt Green, fix to handling of centering of multi-line text entries. 2006-06-08 13:34:29 +00:00
Robert Osfield
7d3ddc0e1b From Paul Martz, clean up of comments. 2006-06-08 12:09:51 +00:00
Robert Osfield
ecd5a96671 From Mike Weiblen, reverted shaders changes due to lack of hardware/driver support 2006-06-08 12:07:11 +00:00
Robert Osfield
78742d6698 From Gustavo Wagner, addition of trim method to TemplateArray class.
From Robert Osfield, made trim method a virtual method of the base Array class
and added a trim implementation to TemplateIndexArray.
2006-06-08 11:58:56 +00:00
Robert Osfield
13a5c2310a From Paul Martz, fixed incorrect filename in project file 2006-06-08 11:56:07 +00:00
Robert Osfield
4c5452733b With direction from Paul Melis, fixed bug in CopySharedSubgraphsVisitor which prevented
it being applied.  Also fix inappropriate comment.
2006-06-08 11:39:10 +00:00
Robert Osfield
16d844090f From Joan Abadie: patch fixes : "osgDB::makeDirectory doesn't work on win32 when using full path name like : "d:/demo"
it tryes a mkdir("d:")."
2006-06-08 11:22:45 +00:00
Robert Osfield
6cd4dbfac4 Added setting of default colour. 2006-06-08 11:19:24 +00:00
Robert Osfield
efeeabbef9 added SphereSegment test code segment, commented out at pressent. 2006-06-08 11:18:27 +00:00
Robert Osfield
732ca180d1 Added missing clip against maximum azimuth. 2006-06-05 16:25:29 +00:00
Robert Osfield
5670ce8c0a Added extra SphereSegment intersection tests. 2006-06-05 16:25:01 +00:00
Robert Osfield
947904ee85 Improved stats sizing in presense of wide screens. 2006-06-05 16:06:29 +00:00
Robert Osfield
21c85ffb59 Reverted changes from revision 1.4, as they look like a temporary hack not intended
to be merged.
2006-05-29 09:08:48 +00:00
Robert Osfield
8ca8adeafb From Jason Baverage, support for interpolating DEM data from GDAL to the positions
required for the current tile.
2006-05-26 15:19:14 +00:00
Robert Osfield
a614c293d9 Ran dos2unix of files 2006-05-23 19:03:29 +00:00
Robert Osfield
bf0828138c Cleaned up the OpenGL error reporting. 2006-05-22 19:30:07 +00:00
Robert Osfield
3ca71e4398 Updated wrappers. 2006-05-16 21:32:37 +00:00
Robert Osfield
e1c77dfe2a Minor tweaks of ints to unsigned ints 2006-05-16 21:20:36 +00:00
Robert Osfield
690aeea7e4 From Mike Weiblen, futher work on Uniform array support. 2006-05-16 21:00:45 +00:00
Robert Osfield
90fc234cf1 From Mike Weiblen, support for new Uniform arrays.
From Robert Osfield, refactor of above with original code to ensure backwards compatibility.
2006-05-16 21:00:15 +00:00
Robert Osfield
a18e697a47 Compile fixes for OSX 2006-05-16 10:21:59 +00:00
Robert Osfield
bf065ed3a4 From Mike Weiblen, support GLSL uniform arrays. A couple of tweaks and fixes from Robert Osfield. 2006-05-15 15:46:08 +00:00
Robert Osfield
d42a8fd269 From Paul Martz, "This change is based on current CVS. (Note both Brede and I have submitted
changes to this plugin that aren't in current CVS yet -- this change is
based on current CVS, not our changed files.)

This changes how shader palette records are parsed to support GLSL per the
OpenFlight 16.1 spec. Existing functionality for 16.0 files is preserved.

The change to Document.h simply adds an enum for VERSION_16_1."
2006-05-15 13:22:59 +00:00