Robert Osfield
b70c80ba39
Add #ifndef's around the comparison operator's against const T* now that the
...
implicit cast operator has been added.
2003-03-06 10:38:31 +00:00
Robert Osfield
63df52d408
Added osgText::String implementation to better handle decoding of encoded text.
2003-03-05 21:05:37 +00:00
Robert Osfield
f9d8f3fa9d
Added implicit cast to T* to ref_ptr<>.
2003-03-05 21:04:11 +00:00
Robert Osfield
5e396d40e1
Made the State::setInterleavedArrays method use a const GLvoid*.
2003-03-05 21:02:37 +00:00
Robert Osfield
7b6eaa72f2
Updates to Text for Sun Forte compilers.
2003-03-05 09:08:11 +00:00
Robert Osfield
ba9fbd371f
Updates to the new osgtext example and fix to the friend usage.
2003-03-04 17:14:42 +00:00
Robert Osfield
55c25a551b
Added support for using the generate mip map extension within osgText.
2003-03-04 15:47:28 +00:00
Robert Osfield
1c34c0981e
Further improvements to osgText and the freetype plugin, handling different
...
font sizes better and plugin removal safely.
2003-03-04 12:34:42 +00:00
Robert Osfield
e433b42bc0
Updates osghud demo.
...
Compile fixes for VisualStudio6.0 because its a hideous pile of junk and can't
compile its way out of a paper bag.
2003-03-03 22:18:33 +00:00
Robert Osfield
99e7c50d7a
Typo fix.
2003-03-03 20:24:49 +00:00
Robert Osfield
5d84c10c8f
Changed the ownership of Glyph's so that GlyphTexture's own a reference to
...
Glyph's as well as Font's so keeping the Font valid even after the Font
itself has been desctructed.
2003-03-03 16:12:00 +00:00
Robert Osfield
371d84683f
Fixes to osgText for default parameter.
2003-03-03 15:36:52 +00:00
Robert Osfield
e2b95c50a4
Added support for computing bounds of text.
2003-03-03 09:37:02 +00:00
Robert Osfield
fbe674b321
First cut of new osgText implementation.
2003-03-02 21:05:05 +00:00
Robert Osfield
2f74b2cf7c
Renamed osgProducer::CameraGroup and SceneHandler to OsgCameraGroup and
...
OsgSceneHandler to avoid the namespace bug under VS6.
Removed the osgproducer demo (its now been replaced by examples/osgviewer.)
2003-02-25 12:28:16 +00:00
Robert Osfield
b32c8c65f3
Added osg::Image::AllocationMode enum and associated set/get methods.
...
osg::Image::setImage has also been modified to require the AllocationMode
mode to be passed to it so that it knows how to delete the data once the
image goes out of scope.
Port the image plugins across to specify the new AllocationMode, and converted
them across to using new/delete in place of malloc/free.
2003-02-25 11:56:18 +00:00
Robert Osfield
7877c55770
Implemented an osg::minimum and osg::maximum template functions to replace
...
the std::min/max functions previously used in parts of the osg, since the
std::min/max methods do not seem implemented under IRIX.
2003-02-24 12:02:00 +00:00
Robert Osfield
372ca1d227
Ported osgstereoimage to use osgProducer, added it to the examples directory.
...
Added a osgProducer::CameraGroup::getSceneHanderList() methods.
2003-02-23 17:01:05 +00:00
Robert Osfield
5471ada6da
Fixes to try and keep OSX and Win32 compiling with the new usage of std::max.
2003-02-23 15:50:57 +00:00
Robert Osfield
3b429134cb
Added examples directory, a place for all new OSG demo code.
...
Added osgcameragroup, osgviewer, osgtext, osgconv to the new examples directory.
2003-02-21 14:05:39 +00:00
Robert Osfield
0d3f78350a
Added keyboard mouse binding usage to the osg::ApplicationUsage and
...
osgGA::GUIEventHandler and its subclasses.
2003-02-19 10:43:02 +00:00
Robert Osfield
73f741d16f
Completed first pass at providing commandline option usage via the new
...
osg::ArgumentPareser and osg::ApplicationUsage classes. The osgproducer
demo has been implemented using these new mechansims.
2003-02-18 21:58:40 +00:00
Robert Osfield
c10d5f2d6f
Added new osg::ApplicationUsage and osg::ArgumentParser to help streamline
...
application/example developement.
2003-02-18 16:36:42 +00:00
Robert Osfield
6184ecba3f
Removed non implemented method convertWideString(const char* text) from header
2003-02-18 14:00:31 +00:00
Robert Osfield
44f88715ae
MOre work on uint -> unsigned int.
2003-02-14 19:47:59 +00:00
Robert Osfield
77fee92d71
Renamed futher uint/ushort instances.
2003-02-14 16:52:47 +00:00
Robert Osfield
bd506b53da
Removed last of the uint references.
2003-02-14 11:41:52 +00:00
Robert Osfield
8f1ba9d21b
Removed include/osg/Types header defining osg::ubyte, osg::ushort etc. Changed
...
any reference to these in the distribution across to using unsigned char,
unsigned short etc. This has been done to keep the OSG code more opaque
to what types are.
2003-02-12 19:20:47 +00:00
Robert Osfield
1b08b02df2
From Tree, added support for using wchar_t strings with osg::Text/EncodedText.
2003-02-10 15:01:27 +00:00
Robert Osfield
c2b4a05825
Minor fixes to ReaderWriter and Paragraph to help work with use of Doxygen.
...
Fix to CullVisior to handle the new no referenced counted cull and draw traversal.
2003-02-10 13:58:39 +00:00
Robert Osfield
4c4735a586
Added FrameStats support into osgProducer lib, and removed them from the
...
osgproducer demo.
Removed the producer config files osgproducer demo.
Added a search the osgDB::DataFilePath for the producer config file.
2003-01-30 23:02:32 +00:00
Robert Osfield
03eee3b700
Fixed warning in osgText
...
Added getBound() to begining of osgProducer::CameraGroup::frame() to ensure
that the parallel cull traversals don't all do a getBound().
Added osgProducer::CameraGroup::getTopMostSceneData() convinience method.
2003-01-30 16:11:39 +00:00
Robert Osfield
6c4f2f5207
Fixes for multipipe support.
...
Addition of FrameStatsHandler to osgproducer demo to add frame stats.
2003-01-29 17:16:26 +00:00
Robert Osfield
0d4e969746
Added support for osg::Transform::asMatrixTransform, asPositionAttitudeTransform
...
and as DOFTransform.
2003-01-24 09:37:56 +00:00
Robert Osfield
1ce53fcfba
Changed the setUpViewer so it takes unisigned int to make it easier to
...
do OR'ing of the various enumerates when passing in paramters (avoids a
warning).
2003-01-24 09:37:11 +00:00
Robert Osfield
20ba1a4033
Fix for impostors bug where image insert were visible, this was down to a double
...
call to RenderStage::drawPreRenderStage(). The call to it in RenderStage inside
the draw() method has been removed, leaving on the call in SceneView.
2003-01-24 09:11:05 +00:00
Robert Osfield
ea35796526
From Daniel Sjölie, support for controlling which viewports are focusable i.e.
...
recive mouse/keyboard events.
2003-01-22 15:44:22 +00:00
Robert Osfield
6fd27a4b59
Clean up to the osgProducer lib and demo.
2003-01-22 15:30:17 +00:00
Robert Osfield
329a8a1656
Fixed an Optimizer crash where if the top most node of a model was
...
a static transform it would crash when this root was deleted. Have fixed
by recognising this node as one not to remove and set it to identity instead.
2003-01-22 12:06:22 +00:00
Robert Osfield
48bda9cc79
Added new Copyright/License notice to header and source files.
2003-01-21 16:45:36 +00:00
Robert Osfield
128be070ba
Added new osgProducer::Viewer class for putting together simple producer
...
based viewers very quickly.
2003-01-21 13:14:29 +00:00
Robert Osfield
0f69a4c3ae
Made the drawable::compile(State&) method const and the DisplayListVisitor to
...
compile even when dislay list is off. This has been done to allow subclasses
of Drawable handle their own compile implementation, such as used by text.
2003-01-20 20:40:06 +00:00
Robert Osfield
dc83e399a9
Improvements to osgProducer lib, in particular adding a mutex lock to the init() call in
...
SceneView to prevent init running multi-threaded.
2003-01-20 20:33:50 +00:00
Robert Osfield
4de63e72c6
Improvements to the handling of multiple graphics contexts. Still needs alot
...
of work, but at least it isn't crashes in trivial cases right now.
2003-01-20 20:28:28 +00:00
Robert Osfield
e56872aa1f
Added the new standard copyright notice.
2003-01-20 12:41:15 +00:00
Robert Osfield
08456ecf70
Added osg::State::dirtyAllModes() and dirtyAllAttributes() methods.
2003-01-19 15:28:08 +00:00
Robert Osfield
762db56a40
Improvements to the osgProducer lib to better handle Producer's normalized
...
coord system.
Addition of ReadCameraConfigFile and WriteCameraConfigFile as a tempory
measure for implementing local a C++ read/write of the Producer::CameraConfig, this
will be removed once these implementations or similar have been moved to Producer.
2003-01-18 22:07:59 +00:00
Robert Osfield
13aa469628
Updated the KeyboardMouseCallback so this it takes into account the the new
...
passiveMouseMotion support in Producer.
2003-01-18 10:17:28 +00:00
Robert Osfield
619862f8d6
Added osgProducer library to the distribution.
...
Cleaned up the osgproducer demo, and made it work with the new osgProducer lib.
2003-01-17 18:34:35 +00:00
Robert Osfield
a86d519a89
Fixed a bug on the handling of empty EncodedText.
2003-01-17 15:01:27 +00:00