Commit Graph

4972 Commits

Author SHA1 Message Date
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
35ed4f742f Replaced BoundingBox with GeospatialExtents. 2006-05-15 13:13:16 +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
4431b381d3 From Eric Wing, removed trailing commans from enum lists. 2006-05-15 11:56:59 +00:00
Robert Osfield
587adca056 From Eric Wing, compile fix for OSX. 2006-05-15 11:53:21 +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
d7fdaecfa0 From Adrian Egli, added std::ifstream::binary qualifier to ifstream usage. 2006-05-15 11:38:56 +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
e00bf394c8 Added VisualStudio project for Quake3 BSP plugin 2006-05-15 09:55:53 +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
83722dc064 From Tree, build fixes for JavaOSG build. 2006-05-09 09:42:17 +00:00
Robert Osfield
bd895f94d4 From Farshid Lashari, round funciton. 2006-05-09 09:35:12 +00:00
Robert Osfield
ff518eb9c6 Removed redundent variable declaration. 2006-05-09 09:13:07 +00:00
Robert Osfield
1c6e165cb3 From Farshid Lashkari, "The setScale(Vec3) method of osg::AutoTransform does not dirty the
matrix. The fix is attached."
2006-05-09 09:12:43 +00:00
Robert Osfield
2fc17d3942 Updated wrappers 2006-05-04 19:39:58 +00:00
Robert Osfield
20820c7ce2 Added removeChild(unsigned int, unsigned int) back in for backward compatibility. 2006-05-04 19:36:30 +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
03c0c856f3 Fixed docs on GL_SCALE_NORMAL 2006-05-02 09:49:37 +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
59b9e4d1d7 From Eric Wing, updated precompiled header list in new project file template. 2006-05-01 16:11:30 +00:00
Robert Osfield
93a425cafb From Eric Wing, removed trailing semi colonds from namespace end bracket. 2006-05-01 16:05:16 +00:00
Robert Osfield
a7f6174dc0 From Mathew May, FreeBSD support for AMD64. 2006-05-01 14:51:56 +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
475f526b3d Added UseFarLineSegments option 2006-04-25 12:56:33 +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
48240c23f9 Added osgParticle dependency to osgPrecipitation example. 2006-04-24 09:35:01 +00:00
Robert Osfield
18ad77d8a3 Added osgUtil to the osgParticle dependencies. 2006-04-24 08:37:04 +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
Robert Osfield
1cf1710f92 Moved PrecipitationDrawable into PrecipitationEffect. 2006-04-22 06:33:01 +00:00
Robert Osfield
c144977b6e Added new precipitation nodes. 2006-04-21 19:39:05 +00:00