Commit Graph

4602 Commits

Author SHA1 Message Date
Robert Osfield
857b3e03c3 Added sorting and clearing of pre and post RenderStages stored in RenderStage,
and added some debugging comments which are currently commented out from compilation -
these are left in just in case future debug work requires them.
2005-11-08 11:46:52 +00:00
Robert Osfield
d3b1ee6b57 Changed the occluder traversal so that checks the children of the SceneView's Cameara
rather than starting at the camera itself.
2005-11-08 09:36:42 +00:00
Robert Osfield
329a3d47ff Renamed VisualStudio.dsw to OpenSceneGraph.dsw 2005-11-07 16:52:09 +00:00
Robert Osfield
5e40ca9c86 Improved the handling of CameraNode and viewers with projection matrices
contained NaN's.
2005-11-07 16:48:45 +00:00
Robert Osfield
18c916de1a From Bob Kuehne, proper c++ cast instead of c-cast for ApplicationUsage 2005-11-07 15:46:05 +00:00
Robert Osfield
16801f82e0 From Steve Lunsford, added psuedo event dispatch to init within selectCameraManipulator
to force the new minpulator to update correctly.
2005-11-07 15:43:29 +00:00
Robert Osfield
31ec432e06 From David Spilling, added "noRotation" ReaderWriter::Option into the .obj plugin
to enable disabling of the automatic rotation from Y up coordinate frame to Z up coordinate frame.
2005-11-07 14:42:36 +00:00
Robert Osfield
b2f5a48c15 From Marco Jez, Added an unregister of the GraphicsContextImplement on unload. 2005-11-07 13:54:25 +00:00
Robert Osfield
a3f42b480c From David Spilling, fix for typo of OVERRIDE. 2005-11-07 12:41:32 +00:00
Robert Osfield
efd96108fb From Gideon May, compile fixes for OSX. 2005-11-07 11:14:23 +00:00
Robert Osfield
4ea3956fda From Norman Vine, "Cygwin uses unix style path separators" 2005-11-07 11:09:59 +00:00
Robert Osfield
2773d45f2a From Wang Lam,"The changes allow users of OpenSceneGraph to call a new function
readFontStream() to load fonts from a std::istream, rather than from the
local filesystem by name.  Such a call may be used, for example, if the
user has a font fetched over a network, or a font available in memory
without a correspondng filename.

The changes implement the new function by following the corresponding code
for readFontFile().  readFontStream() reads a stream into memory, and
holds that memory for FreeType.

As a basic test, I mangled the osgtext example to use
readFontStream(std::ifstream("font")) in lieu of a readFontFile call, and
the modified example ran completely."
2005-11-07 11:05:16 +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
9bfc6ead94 Added extra debugging checks on FBO's 2005-11-04 19:00:49 +00:00
Robert Osfield
4915259878 Improved support for texture subload/render to texture in various Texture classes
and RenderStage.
2005-11-04 12:08:16 +00:00
Robert Osfield
89b0ef09a8 Improvements to CameraNode IO support, now handles render to texture. 2005-11-03 21:35:45 +00:00
Robert Osfield
06e8ee3646 Changed the CameraNode read/write code to use Transform as its parent. 2005-11-03 19:20:04 +00:00
Robert Osfield
e7ac09153a Removed debugging message 2005-11-03 17:12:49 +00:00
Robert Osfield
40ef0bbdff Further work on osg::CameraNode support. 2005-11-03 17:08:40 +00:00
Robert Osfield
fb2d3ae108 Further work on added IO support from CameraNode. 2005-11-03 15:59:17 +00:00
Robert Osfield
9d9d6c5a12 Completed osg::CameraView support in .osg and .ive formats. 2005-11-03 12:25:25 +00:00
Robert Osfield
7c612fb1d9 Added env var docs on OSG_MAX_TEXTURE_SIZE 2005-11-03 10:59:22 +00:00
Robert Osfield
bd68294ed6 Added --help-env option. 2005-11-03 10:57:10 +00:00
Robert Osfield
e183c79f08 Updated wrappers 2005-11-03 10:18:19 +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
eb28f9f587 From Eric Sokolowsky, added writeEnvironmentSettings to help report what OSG
centric environment variables are used.
2005-11-03 10:01:09 +00:00
Robert Osfield
4c13328d98 Added CameraNode.cpp and CameraView.cpp 2005-11-03 09:03:46 +00:00
Robert Osfield
5dee96c14f Inital work on adding .osg support for CameraNode and CameraView. 2005-11-02 19:52:58 +00:00
Robert Osfield
511dda8525 Updated wrappers. 2005-11-02 19:35:35 +00:00
Robert Osfield
35b0dbc505 Added request for accumulator buffer. 2005-11-02 19:15:41 +00:00
Robert Osfield
f3cfe97da9 Added support in DisplaySettings and OscCameraGroup for requesting accumulator buffer. 2005-11-02 19:15:18 +00:00
Robert Osfield
df2299cb50 From Alan Ott, added support for palletted imagery. 2005-11-02 16:20:55 +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
6c31d05172 Added a setSupportsDisplayList(false) to constructor to prevent end users
enabling display lists, something that can break the osgText's managment
of state.
2005-11-02 12:22:12 +00:00
Robert Osfield
3402a5087c Fixed setCameraRequiresSetUp so it properly uses the bool passed to it. 2005-11-02 11:55:02 +00:00
Robert Osfield
a86df172f9 Added doc comment and removed redundent inline keyword 2005-11-02 11:33:10 +00:00
Robert Osfield
b0d19b0b66 From Farshid Lashkari, "I need the ability to check for a font file without actually loading
the font object.  I've modified font.h/cpp of osgText so that it
exports the findFontFile function."
2005-11-02 10:57:42 +00:00
Robert Osfield
ddd609e37b From Marco Jez, commented out debuggin message. 2005-11-02 10:55:20 +00:00
Robert Osfield
8748e21e61 Added static orthoNormal function to match equivilant in Matrixd 2005-11-02 10:49:38 +00:00
Robert Osfield
4c1110858a From Colin McDonald, "Fix for missing class name qualifier on the orthoNormal function." 2005-11-02 10:45:56 +00:00
Robert Osfield
781f6d3cec From Colin McDonald, "Fixes for some duplicate global symbol definitions in the plugins,
which cause errors when creating a statically linked executable."
2005-11-02 10:29:38 +00:00
Robert Osfield
21c5a129ff Fixed compile warning 2005-11-02 10:29:13 +00:00
Robert Osfield
44d0e90f92 Changed the error number reporting to be reported as hex. 2005-11-01 20:16: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
2584d43393 Removed the double call to the camera post draw callback. 2005-11-01 19:31:30 +00:00
Robert Osfield
12bd1f7d4b Added usage of image copy and modification. 2005-11-01 17:07:55 +00:00
Robert Osfield
e23176c3b6 Set the draw and read buffer to GL_NONE when using FBO's, thereby avoid
invalid enumrates being generated.
2005-11-01 15:39:26 +00:00