Commit Graph

639 Commits

Author SHA1 Message Date
Robert Osfield
be850746e4 From Eric Wing, fixed typo induced bug. 2005-12-07 11:38:39 +00:00
Robert Osfield
2d14519946 Enabled thread safe counting by default. 2005-12-07 09:48:28 +00:00
Robert Osfield
a865ea7773 Removed osgdemeter example from distribution because it no longer compiles,
and Demeter itself nolonger compiles, osgdemeter has now been moved to the community
section of openscenegraph.org.
2005-12-06 12:07:34 +00:00
Robert Osfield
e1454d22a7 Attempt at build fixes for IRIX. 2005-12-05 10:24:02 +00:00
Robert Osfield
edf4598838 From Geoff Michel, Fix to prevent Producer::Trackball being set up with a negative
radius.
2005-12-05 10:08:52 +00:00
Robert Osfield
b1f9e1dfd7 Added comments. 2005-12-01 16:43:40 +00:00
Robert Osfield
1c9f1b8eb1 Added TestSupportCallback to properly handle querry of OpenGL support of
vertex texturing in GLSL.
2005-12-01 14:09:38 +00:00
Robert Osfield
2ce7718a66 From Eric Wing, fixes for "warning: converting of negative value '-0x00000000000000001' to 'unsigned int'" 2005-11-29 11:39:07 +00:00
Robert Osfield
caaecc9f2a Switched off the VBO usage in osgparametric as it was tripping up ATI and 3DLabs drivers. 2005-11-29 08:59:30 +00:00
Robert Osfield
0514427c0a Fixed warning. 2005-11-28 10:58:09 +00:00
Robert Osfield
81435a28b9 From Gideon May, port to OSX of GLUT examples. 2005-11-28 09:15:46 +00:00
Robert Osfield
3881a55564 From Geoff Michel, fix for the scaling of the random number generation. 2005-11-27 15:32:57 +00:00
Robert Osfield
0663c3b653 From John Donovan, typo fixes. 2005-11-25 19:18:12 +00:00
Robert Osfield
13cd57eafc Lightened by the ambientBias term. 2005-11-24 19:53:20 +00:00
Robert Osfield
b5a5cd7901 Changed the default value of Texture::_resizeNonPowerOfTwoHint to true, to
improve the backwards compatibility of peformance on systems that have OpenGL2.0
drivers but without hardware that can't handle non power of two textures.
2005-11-24 10:28:09 +00:00
Robert Osfield
b4fb878e1e Fixed mistmatch of ReadFileCallback type. 2005-11-23 12:16:22 +00:00
Robert Osfield
91855e7c50 Replaced tabs with spaces in examples. 2005-11-17 20:22:55 +00:00
Robert Osfield
74f90ed9a4 From Mike Weiblen, "fix for another one of those GLSL syntax errors that slip thru the nvidia compiler.
gl_TexCoord[] is an array of vec4, and must be reduced to a vec2 for use with texture2D()"
2005-11-17 11:22:09 +00:00
Robert Osfield
d91f2c631d Improved handling of core OSG being compile with float Matrices. 2005-11-17 09:57:40 +00:00
Robert Osfield
6bedddf146 Ran dos2unix on makefile. 2005-11-16 20:27:28 +00:00
Robert Osfield
10b5d505a2 From Joakim Simonsson/Robert Osfield. Fixed line endings. 2005-11-15 22:18:29 +00:00
Robert Osfield
4eb5b0d715 Added proper descriptions of examples in place of the copy and paste description. 2005-11-15 22:07:54 +00:00
Robert Osfield
dd622d7a9a From Mike Weiblen, switched off lighting of points to make them clearer 2005-11-15 08:56:05 +00:00
Robert Osfield
91f5b9b04e Fixes for VS6.0 build. 2005-11-11 12:45:59 +00:00
Robert Osfield
6fb7ff83d7 Fixes for VS6.0 2005-11-10 20:04:16 +00:00
Robert Osfield
435e4b828c Fixes for dumb VS6.0 compiler 2005-11-10 19:32:37 +00:00
Robert Osfield
06117353df Fixes for VS6.0 2005-11-10 19:16:01 +00:00
Robert Osfield
cee8424c0f Compile fixes for VS6.0. 2005-11-10 17:24:41 +00:00
Robert Osfield
c2f1527fe0 Added better control for cancel GraphicsThreads. 2005-11-10 15:25:06 +00:00
Robert Osfield
20d9c3c3c4 Compile fixes for VS7.1 2005-11-10 09:42:34 +00:00
Robert Osfield
2bd868cd1c Added release and flush of OpenGL objects after build of the terrain database to prevent
the build graphics context state leaking into the viewers graphics context set.
2005-11-09 20:26:34 +00:00
Robert Osfield
1c73f6af2b Moved the blink sequence light points down so they are visible in the default
camera position.
2005-11-09 17:08:50 +00:00
Robert Osfield
38103c588b Changed the NO_ROTATION label so it is aligned with the XZ plane to make it easier to see. 2005-11-09 17:06:12 +00:00
Robert Osfield
83d492162e Added the support in AnimationPathCallback for taking a pivot, axis and rotation rate
paramters in its constructor to allow it to be used to create rotations around a point.
This provides the same interface and functionality as osgUtil::TransformCallback but
has the advantage and AnimationPathCallback is fully supported by the .osg and .ive file formats.
2005-11-09 15:11:22 +00:00
Robert Osfield
4d42be705d Reduced the size of the "oversized" cessna.osg 2005-11-09 13:39:08 +00:00
Robert Osfield
6c3c5554b6 Update texture file names to reflect new files in OpenSceneGraph-Data distribution. 2005-11-09 13:18:46 +00:00
Robert Osfield
6c70812928 Fixed warnings. 2005-11-09 10:41:52 +00:00
Robert Osfield
28d939e617 Fixed compile warning. 2005-11-09 10:37:10 +00:00
Robert Osfield
53e075f78b From Brad Colbert/Robert Osfield: added s/getSourceFormat and s/getSourceType to osg::Texture
along with support for this Texture1D, 2D, 3D, TextureCubeMap and TextureRectangle.  The
new SourceFormat and SourceType parameters are only used when no osg::Image is assigned to
an osg::Texture, and main use is for render to texture effects.

Added support for --hdr option in osgprerender, which utilises the new Texture::setSourceFormat/Type() methods.
2005-11-08 15:52:21 +00:00
Robert Osfield
416f908f29 From Ruben (with a few addition/changes from Robert), fixed the commandline of the osgsimplifier example. It now reads
--ratio and --max-error.

---------------------------------------------------
2005-11-07 10:29:24 +00:00
Robert Osfield
6562aa4f5f Added initial CameraNode and CameraView stups for the .ive loader 2005-11-03 10:16:38 +00:00
Robert Osfield
35b0dbc505 Added request for accumulator buffer. 2005-11-02 19:15:41 +00:00
Robert Osfield
366aaf72e8 From Brede Johnasen, changed wrap mode to CLAMP_TO_EDGE to avoid edges being
seen when zoomed into the reflectio map.
2005-11-02 15:56:29 +00:00
Robert Osfield
b0df518d11 Added handling of CameraNode into PickVisitor in src/osgProducer/Viewer.cpp. This
is unlikely to be the final solution, but does at least fix part of the problem of handling
picking HUD's underneath CameraNodes.
2005-11-02 15:23:54 +00:00
Robert Osfield
7e858b15f1 From Marco Jez, added Image/ path to image files to help find them from the OpenSceneGraph-Data directory. 2005-11-02 14:24:29 +00:00
Robert Osfield
682b867e4f From Marco Jez, moved the rear view camera's viewport to the bottom left of window to accomdate a greater range of display sizes.
From Robert Osfield, made the background colour of the intersted camera a scaled down verson of the main background colour to make it more obvious.
2005-11-02 14:22:31 +00:00
Robert Osfield
5319e1d650 Added an image negation callback to the render to image. Added commandline docs
for the new --image and --texture-rectangle options.
2005-11-01 19:32:26 +00:00
Robert Osfield
12bd1f7d4b Added usage of image copy and modification. 2005-11-01 17:07:55 +00:00
Robert Osfield
37aa7f55a6 Added warning message for when no file is loaded. 2005-10-28 14:02:37 +00:00
Robert Osfield
ab1bd48511 Moved SceneView across to use an osg::CameraNode to store the projection and view matrices,
the viewport, the clear colour and the subgraph needing rendered.  This is done
transparently so all existing functionality will behave as before.  What it does
add is the ability to set a SceneView directly by a single osg::CameraNode when required.
2005-10-28 13:11:56 +00:00