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
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
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
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
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
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
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
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
44d0e90f92
Changed the error number reporting to be reported as hex.
2005-11-01 20:16:31 +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
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
Robert Osfield
4509232792
Improved handling of osg::Image copying.
2005-11-01 15:23:03 +00:00
Robert Osfield
a4275fb8d7
From Brad Colbert, Added checking for a NULL return string rom gluErrorString (with slight reformating of this by Robert Osfield.)
2005-11-01 11:18:40 +00:00
Robert Osfield
e47d56ba88
Updated wrappers
2005-11-01 11:00:07 +00:00
Robert Osfield
a742cb682e
Added RenderTargetFallback option into osg::CameraNode.
2005-11-01 10:42:54 +00:00
Robert Osfield
030fe7d9ea
From Steve Lunsford, "Attached is a copy of TXPNode.cpp with the repaired computeBounds call. I
...
discovered that TXPNodes were being culled out prematurely because the
loaded sub-tiles resulted in a computed bounds that was smaller than the
extents indicated in the archive. I think this fix should be fine. I can't
think of any reason why we would want to use anything other than the archive
extents."
2005-10-31 16:40:23 +00:00
Robert Osfield
b704045e6c
Added default setting of _threading_model to ThreadPerCamera when multiple cameras
...
are present, and SingleThreaded when a single camera is being used.
2005-10-31 14:48:11 +00:00
Robert Osfield
b61a8a6603
From Brede Johansen, "some tweaks to the osgSim lightpoints.
...
- The first change is to start fadeing a lightpoint just before the
maximum distance of a light is reached.
- The second change is to start fading a lightpoint when pixelSize is
less than _minPixelSize instead of 1.0."
2005-10-31 11:43:54 +00:00
Robert Osfield
c4ae277893
Updated wrappers.
2005-10-29 11:29:58 +00:00
Robert Osfield
79a7f8c729
Added catch for NULL return from glGetString( GL_VERSION );
2005-10-29 10:04:35 +00:00
Robert Osfield
d1de669f03
Updated wrappers.
2005-10-29 09:52:56 +00:00
Robert Osfield
0956f3cdb4
From Marco Jez, Fix for the class name lookup in osgDB::Registry::writeObject(), which can silently fail when a NodeKit's class (for example osgNVCg::Program) has the same name as that of an OSG's class (for example osg::Program).
2005-10-28 18:39:14 +00:00
Robert Osfield
578530d0b4
Fixed env var docs for sharing graphics contexts.
2005-10-28 18:37:15 +00:00
Robert Osfield
fa5ab64c94
From Ravi Mathur, "Here is an update to BlendEquation that adds checking for the
...
SGIX_blend_alpha_minmax and EXT_blend_logic_op extensions. It is
tested with the osgblendequation example. If the extensions are not
supported, a WARN level notification is generated."
2005-10-28 13:18:09 +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
Robert Osfield
3e3d16a99d
Changed debug message from NOTICE to INFO level of notification
2005-10-28 10:33:11 +00:00
Robert Osfield
669bd46d97
Updated wrappers.
2005-10-28 09:20:21 +00:00
Robert Osfield
96a88f968a
Added error message to report when too many line segments are added to an IntersectVisitor.
2005-10-27 11:11:02 +00:00
Robert Osfield
d2487e73e5
Added support for tracking the directory of the output file whilst still maintaining
...
local file references within this directory.
2005-10-27 10:48:44 +00:00
Robert Osfield
e66fd1dc70
Changed the minimum tile image size to be 4x4 to avoid problems in mipmap generation
...
that was occuring at sizes of 2x2, seemingly somewhere in the OpenGL driver.
2005-10-26 20:00:10 +00:00
Robert Osfield
be07f48884
From Geoff Michel, compile fixes for VS6.0
2005-10-26 09:22:13 +00:00
Robert Osfield
9c51a3db8d
Updated wrappers
2005-10-25 18:34:46 +00:00
Robert Osfield
1b26232f71
Added command line support for the interlaced stereo modes.
2005-10-25 15:49:48 +00:00
Robert Osfield
f46044084a
From Farshid Lashkari & Robert Osfield: Added support for VERTICAL_INTERLACE and HORIZONTAL_INTERLACE
...
stereo modes use the stencil buffer.
2005-10-25 15:43:04 +00:00