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
Robert Osfield
c2c38955c6
Added new getCurrentCamaeraManipulator(), and removed and debugging message.
2003-01-17 14:12:25 +00:00
Robert Osfield
c406d2476f
Removed the osg::Referenced::createCount() and deleteCount() methods and
...
associated variables which were only compiled in on debug build. These optional
methods/static vars were causingproblems when mixing debug and release builds.
2003-01-17 14:11:34 +00:00
Robert Osfield
1c602035ef
Added DOUBLECLICK EventType to GUIEventAdapter.
2003-01-16 19:27:30 +00:00
Robert Osfield
4dd273de70
Added support for ReferenceFrame into osg::LightSource, modified the .osg
...
plugin and cull visitor to account for this change.
2003-01-16 16:37:24 +00:00
Robert Osfield
e0074d7c44
Made the osgDB::ParamterOutput class so that it is purely defined in terms
...
of the header, and therefore not requiring to be exported.
Updated the MUSE_READ_ME.txt to include mention of syntax highlighting.
2003-01-15 20:50:12 +00:00
Robert Osfield
d542a2165d
Removed the template versions of the PrimitiveSet constructors as this was
...
causing problem under VisualStudio6.0.
2003-01-15 11:29:30 +00:00
Robert Osfield
af6a6ff9f0
Fixes for Win32 build.
2003-01-14 16:39:41 +00:00
Robert Osfield
59969be08d
From Daniel Sjölie, updates to the GUIEventAdapter and GLUTEventAdapter to handle
...
key and key down, modifiers and funcion keys.
2003-01-14 14:25:56 +00:00
Robert Osfield
c882283b5d
Typo fix if USE_HOME_POSITION.
2003-01-13 20:14:23 +00:00
Robert Osfield
c3a7ce7352
Fixes to osgText to handle std::string correctly.
2003-01-13 14:05:08 +00:00
Robert Osfield
ef7d7fce2e
Moved some in inline methods in ParamterOutput into the new ParamterOutput.cpp
...
file to clean up the interface.
2003-01-11 12:50:39 +00:00
Robert Osfield
f36bc69c58
Made the more of the OSG's referenced object desctructors protected to ensure
...
that they arn't created on the stack inappropriately.
Split the implemention of Matrix up so that it is a simple no referenced counted
class and can be safefly created on the stack. To support referenced counting a
seperate subclass now exists, this is RefMatrix which inherits from both Matrix and
Object.
2003-01-10 09:25:42 +00:00
Robert Osfield
c5d3c860d8
From Tree, support for encoded text added into osgText.
2003-01-08 15:22:17 +00:00
Robert Osfield
ba34880464
Added support for reading and writing Sphere, Box, Cone, Cylinder and Grid shapes.
2003-01-08 14:32:13 +00:00
Robert Osfield
e6b64a5550
Added support for sharing arrays in the .osg format for osg::Geometry.
...
Fixed the osgUtil::Optimizater so it takes into account sharing of arrays when
deciding whether an geometry can be merged or not.
2003-01-07 16:29:07 +00:00
Robert Osfield
0161dacc15
Removed the osg::LightPoint::OPAQUE option, and implemented the ADDTIVE blending option.
2003-01-06 16:42:02 +00:00
Robert Osfield
5c37fd7fb4
Fixed headers guard typo in LightPoint.
...
Updated the NEW files.
2003-01-06 13:45:55 +00:00
Robert Osfield
3ef3666d0f
Added new ARB vertex program state attribute and demo program,
...
sent in my Brede Johansen.
2003-01-04 20:45:53 +00:00
Robert Osfield
141f065b17
Removed the dual inheritance from the AnimationPathCallback, moving the
...
NodeVisitor implemention into the .cpp.
Small tweak to the lighpoint drawable implmenentation to improve the additive
blending and state resotoration.
2003-01-03 21:42:02 +00:00
Robert Osfield
fe64942c54
Added a AnimationPathCallback which can update both a MatrixTransform and a
...
PositionAttitudeTransform, removed the equivialnt callbacks once found in these
transform classes.
Changed the NodeCallback class so its derived from osg::Object instead of
osg::Referenced to allow it to be saved out in the .osg format.
Added support for Update and Cull callbacks into the .osg file format.
Added support for AnimationPathCallback into the .osg file format.
2003-01-02 20:10:04 +00:00
Don BURNS
f501aa913b
Update for ia64
2002-12-19 19:50:45 +00:00
Robert Osfield
adf5c91808
Renamed all instance of AppCallback/AppVisitor to UpdateCallback/UpdateVisitor
...
inline with the decision to rename the "app phase" the "update phase".
2002-12-19 15:55:40 +00:00
Robert Osfield
c82927293e
Moved the include/osgTXP back into src/osgPlugins/txp as a seperate include directory is no longer required.
...
Removed the osgtxp demo as it is no longer required.
2002-12-17 16:07:59 +00:00
Robert Osfield
ee3348afc9
Added txp::TerrapageNode to the txp plugin, and implemented the node so that it
...
automatically assign handles the updates of eye points and database merges.
2002-12-17 15:41:05 +00:00
Robert Osfield
64341828b8
Added a few more comments on the DeleteHandler.
...
Changed the friend struct DeleteHandler to friend class DeleteHandler.
2002-12-16 21:39:26 +00:00
Don BURNS
bbab5af6eb
Fixed a scope issue for 3.2 compiler for friend declarattion, l ine 39 in
...
include/osg/Referenced
2002-12-16 19:39:08 +00:00
Robert Osfield
8f81cf2ac6
Moved TriangleFunctor from Drawable into its own header file.
2002-12-16 17:00:05 +00:00
Robert Osfield
7bcef50e3b
Removed reference to osg/MemoryManager.
2002-12-16 14:12:48 +00:00
Robert Osfield
89269463ef
Removed the memory manager.
2002-12-16 13:44:35 +00:00
Robert Osfield
00cc3a1833
Converted the instance of osgNew and osgDelete back to new and delete as part
...
of depecating the include/osg/MemoryManager
2002-12-16 13:40:58 +00:00
Robert Osfield
884b2730e8
Added a DeleteHandler into osg::Referenced so that it can delete objects
...
via a seperate delete handler. Useful for making unref()/ref() thread safe if
the users needs to address this issue.
2002-12-16 10:25:31 +00:00
Robert Osfield
c6b6e200a4
Added supported for setting animation path on MatrixTransform's.
2002-12-16 09:55:30 +00:00
Robert Osfield
db7cc1c559
Disabled the MemoryManager in all builds since it isn't yet thread safe.
2002-12-14 07:55:29 +00:00
Don BURNS
63c0a33926
Moved TrpageViewer.h to Demos/src/osgtxp
2002-12-13 20:29:26 +00:00
Robert Osfield
97a4775b7e
Updates to the light points support to improve the control of the blending of
...
light points with their background.
2002-12-10 19:56:14 +00:00
Robert Osfield
8d0718e8da
Added setting of the current texture unit into the applyTextureAttribute() method.
2002-12-09 21:03:02 +00:00