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
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
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
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
732ca180d1
Added missing clip against maximum azimuth.
2006-06-05 16:25:29 +00:00
Robert Osfield
947904ee85
Improved stats sizing in presense of wide screens.
2006-06-05 16:06:29 +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
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
Robert Osfield
2e0865d0c9
From Jason Baverage, A
...
dded GeospatialExtents bounding box class which used doubles
in place of the original usage of osg::BoundingBox.
Added path for computing interpolation elevation data being read from GDAL.
2006-05-15 13:12:55 +00:00
Robert Osfield
1dcb923c15
From Daniel Trastenjak, added checking of binding modes to ensure that changes are only applied
...
when the binding mode changes, thereby avoiding uncessary calls to dirtyDisplayList.
Note, from Robert Osfield, moved bodies of set*Binding() into Geometry.cpp to avoid
clutter in the header.
2006-05-15 11:48:05 +00:00
Robert Osfield
56d4c7a269
From Paul Martz, "add support for the v16.0 "Add" texture environment and "mirrored repeat" wrap mode."
2006-05-15 11:27:07 +00:00
Robert Osfield
fdda54e77e
Changed instances of setCoord(const Vec3) to setCoord(const Vec3&) style.
2006-05-15 11:22:08 +00:00
Robert Osfield
132b355d4f
From Brede Johansen,
...
"- Replaced some member attributes with local variables in Face record.
- Multitexture support in Vertex class.
- Renamed VertexList to VertexListRecord (VertexList is now a Vertex array)
- new Mesh (with reserved field at offset 12, thanks to Paul Martz)
- new LocalVertexPool
- new MeshPrimitive
- Use ProxyNode for externals.
- Local cache for externals"
2006-05-15 11:18:50 +00:00
Robert Osfield
f104656d9f
From Carlos García and Paul Baker, Port of Paul Baker's Quake3 BSP loader to OSG by Carlos García.
...
Added Quake3 BSP plugin.
2006-05-15 09:46:54 +00:00
Robert Osfield
8af7b04c5b
From Farshid Lashkari, "The drawInner() method of osgUtil::RenderStage ignores the
...
checkForGLErrors flag of the osg::State object. The attatched file
fixes this."
2006-05-09 09:47:26 +00:00
Robert Osfield
ff518eb9c6
Removed redundent variable declaration.
2006-05-09 09:13:07 +00:00
Robert Osfield
2fc17d3942
Updated wrappers
2006-05-04 19:39:58 +00:00
Robert Osfield
3132f1f2f7
Fixed expire of children to work with the new Group::removeChildren method.
2006-05-04 19:15:52 +00:00
Robert Osfield
a8c52a90f0
Added selective support for thread safe ref/unref such that the rendering
...
backend now doesn't use thread safe ref counting where multi-buffering exists.
This reduces the overhead of multi-threading.
2006-05-02 15:52:46 +00:00
Robert Osfield
67f56dfd77
Updated wrappers.
2006-05-02 09:50:00 +00:00
Robert Osfield
43f0efd6d2
Reorganised the Group::removeChild and Geode::removeDrawable methods so
...
that removeChild(Node*), removeChild(uint) and equivilant Geode methods are
now inline methods, not designed to be overriden, and seperated out the
multiple remove method to be called removeChildren(uint, uint) which is
now the only virtual method. There removeChildren is now the method to
override in subclasses.
This reorganisation requires some call code to be rename removeChild usage
to removeChildren.
2006-05-02 09:45:31 +00:00
Robert Osfield
34cdf22794
Fixed popping of state frustum.
2006-05-02 09:18:36 +00:00
Robert Osfield
2792c6c2fb
From Colin MacDonald, fixed handling of an adding a graphics context after the creating of the osgText::Text.
2006-05-01 16:20:26 +00:00
Robert Osfield
ffb4c79132
Ran dos2unix.
2006-05-01 16:13:37 +00:00
Robert Osfield
923d85eb06
Added catch for thread model w.r.t new PrecipitationEffect not being
...
sensitive to threading issues.
2006-04-28 10:48:05 +00:00
Robert Osfield
f22d11903b
UPdated wrappers
2006-04-25 13:50:07 +00:00
Robert Osfield
039457700d
Implemented seemless update of precipitation properties.
2006-04-25 12:39:00 +00:00
Robert Osfield
6558a5589f
Reset the default number of graphics context to 1.
2006-04-25 09:00:07 +00:00
Robert Osfield
58e759619c
Moved LessFunctor into header.
2006-04-24 21:48:23 +00:00
Robert Osfield
10f2feeac5
Moved PrecipitationParameters directly into PrecipitationEffect.
2006-04-24 16:21:10 +00:00
Robert Osfield
2e6532ccd3
Added depth sorting of cells.
2006-04-24 11:24:08 +00:00
Robert Osfield
92131fca19
Added near/far compute.
2006-04-24 10:32:33 +00:00
Robert Osfield
49a5ef9ee1
Added support for wind.
2006-04-24 06:36:26 +00:00
Robert Osfield
e8fa0433b3
Moved PrecipitationEffect node into osgParticle.
2006-04-22 15:08:07 +00:00
Robert Osfield
f5f8754ec7
Decreased notify level of debug message.
2006-04-22 15:07:36 +00:00
Don BURNS
585f1d0f68
Fixed a cut-n-paste error in the ground intersects.
2006-04-21 17:16:49 +00:00
Robert Osfield
d29da5baed
Fixed mouse scroll mapping.
2006-04-19 19:00:04 +00:00
Robert Osfield
fb35d02c33
Added setting of the FrameStamp on the RenderStage's local GraphicsContext to
...
keep it in sync with the calling graphics context.
2006-04-17 13:25:33 +00:00