Robert Osfield
60e16ea044
Added Escape to the help list.
...
Changed the help key from '?' to 'h'
2003-03-28 10:04:58 +00:00
Robert Osfield
6b7102d16e
Improved stats.
2003-03-27 14:39:19 +00:00
Robert Osfield
c784f8a669
Changed the background pixel colour to white, but kept the alpha value zero.
...
This has been done to improve the quality of the mip mapping of text.
2003-03-27 10:58:20 +00:00
Robert Osfield
fc4fe9c625
Updates to utilise the new Producer keyboard bindings.
2003-03-27 10:54:01 +00:00
Robert Osfield
e93c812021
Improved the stats reporting.
2003-03-26 16:48:29 +00:00
Robert Osfield
8779fe20a7
Added help support for display help on screen to osgProducer::Viewer.
2003-03-26 12:50:30 +00:00
Robert Osfield
e00b8f2868
Tweak the tex coords of fonts slightly to avoid cut off of text.
2003-03-25 15:48:17 +00:00
Robert Osfield
cad1d8162b
Fixed axis alignment bug in text, which occured what text was placed on the XZ
...
or YZ planes.
2003-03-25 15:45:08 +00:00
Robert Osfield
0c60d14c00
Added a ViewerEventHandler which manages full screen, file write, and help
...
output to osgProducer. Removed FullSreenEventHandler as it is now superseeded
by ViewerEventHandler.
2003-03-25 15:13:20 +00:00
Robert Osfield
ce46db87b0
Spotted by Brede - missing !
2003-03-25 13:01:34 +00:00
Robert Osfield
f2772debf4
Added back into the win32 build of KeyboardMouseCallback the check against VK_ESCAPE.
2003-03-25 12:42:06 +00:00
Robert Osfield
35e0ba12bc
Added a viewer.sync to the end of all the demos.
...
Removed the Win32 remapping of keycodes from the osgProducer::EventAdapter.
2003-03-25 10:05:09 +00:00
Robert Osfield
a03675495a
Added new osgkeyboad example.
2003-03-24 21:17:51 +00:00
Robert Osfield
09acadb560
Added support for remapping of Win32 key symbols to
...
osgGA::GUIEventAdpater::KeySymbols.
2003-03-24 15:13:00 +00:00
Robert Osfield
19e2368991
Added osgGA::GUIEventAdapter::KeySymbol enumate list, which is a remapping
...
of the X settings.
Added a pass through of X11 sybmbols from Producer to osgGA::GUIEventAdapter::KeySymbol
in the osgProducer::EventAdapter.
2003-03-24 13:43:22 +00:00
Robert Osfield
6dbc770347
Made the osgGA::GUIEventHandler sublassed from osg::Object as a virtual
...
inheritence to allow handler to also be used as node callbacks.
Fix to UpdateVisitor to make the visitation of Drawable more consistent
with the way that nodes are traversed.
2003-03-24 08:42:35 +00:00
Robert Osfield
f0eae16828
Added overide of the SceneHandler::clear() making it a no-op. Will revisit
...
this implemention later.
2003-03-20 17:24:25 +00:00
Robert Osfield
fe49a97baa
Updates to osgProducer and osgstereoimage for stereo support.
...
Changed the default distance from the scene of the home position of the
trackball and flight manipulators.
2003-03-20 17:00:32 +00:00
Robert Osfield
0476348a0c
Added support for setting up VisualChoose with destination alpha, stencil and
...
quad buffers attributes from DisplaySettings values.
2003-03-20 14:07:03 +00:00
Robert Osfield
65485370f6
Added missing
...
setInterleavedArray( InterleaveArrayType format, float *ia, GLuint *iai )
method.
2003-03-20 08:43:38 +00:00
Robert Osfield
a3bb1da618
Added Endian test header to the core osg, and add use of the new
...
getCpuByteOrder test in LightPointDrawable.
2003-03-19 21:46:44 +00:00
Robert Osfield
21a74223e6
Added getCameraManipulator(unsigned int) method.
2003-03-19 21:14:50 +00:00
Robert Osfield
ca0ff266e2
First pass fix at implementing requestWarpPointer.
2003-03-19 15:49:21 +00:00
Robert Osfield
426e301c48
Addd a full screen toggle event handler to osgProducer & its viewer base
...
class.
2003-03-19 14:27:05 +00:00
Robert Osfield
74f8f18ad6
Added a realize callback to the OsgCameraGroup.
...
Move osgtexture3D across to using the new realize callback for creating its textures.
2003-03-19 12:06:29 +00:00
Robert Osfield
a7bb0126f5
Fixed crash in osgoccluder which was calling setUpViewer and the
...
osgProducer/Viewer was assuming that the update was always set.
2003-03-19 10:28:19 +00:00
Don BURNS
d241ca763b
Fixed a globalState setting order in OsgCameraGroup::realize()
2003-03-19 02:31:22 +00:00
Robert Osfield
8ed643ca24
Chaned the OsgCameraGroup so that its scene handler list used ref_ptr<> for
...
robustly managing memory.
2003-03-18 20:27:09 +00:00
Robert Osfield
b04edb70aa
Added a clear of allocated Records and the cache's in flt::Registry to
...
prevent memory leaks and unneccesary references to model models remaining
beyond the scope of the loader.
2003-03-18 20:10:51 +00:00
Robert Osfield
96b72af169
Implemented a object cache in osgDB::Registry.
2003-03-17 22:53:46 +00:00
Robert Osfield
d01d155ff9
Fixes for new beta release of VS.NET
2003-03-16 22:00:42 +00:00
Robert Osfield
787fe46e4f
Removed the GNUMakefile for the old Demos directory.
2003-03-15 20:41:05 +00:00
Robert Osfield
f811b2580e
Removed osgGLUT and Demos/*.
...
Integrated Marco's updated examples/*/*.dsp's.
2003-03-15 20:20:46 +00:00
Robert Osfield
59995dde90
Moved code across to use the new ArgumentParser.
2003-03-14 21:01:35 +00:00
Robert Osfield
7083773b64
Ported osgGLUT based src/Demos across to being osgProducer based, and placed
...
them in the new examples/ directory.
2003-03-14 20:35:45 +00:00
Robert Osfield
2ca505b3d8
Ported all glut based demos across to using the new osg::ArgumentParser.
2003-03-14 10:49:06 +00:00
Robert Osfield
34fc7dd289
The wrong file name was being used readFontFile.
2003-03-14 09:28:34 +00:00
Don BURNS
3786683636
Removed the building of the osgTXP library so the build system builds only
...
the plugin. Building both the plugin and the library causes a race condition
during parallel makes.
2003-03-14 02:29:34 +00:00
Don BURNS
ec3e1dc611
Fixes for Mac OS X
2003-03-13 06:22:31 +00:00
Don BURNS
693a889ece
Various changes to the BUILD system:
...
o Object files now go in subdirectories named $(OS)$(ARCH).Opt and
$(OS)$(ARCH).Debug for OS's that support both architectures.
eg. Linux32.Opt and Linux32.Debug
o Libraries links are now placed in lib/$(OS)$(ARCH)
eg. lib/Linux32/
o Binaries are now placed in bin/$(OS)$(ARCH)
eg. bin/Linux32
o 'make install' and 'make instlinks' now place files/links in
/usr/local/{include,lib,share/OpenSceneGraph} by default on
most systems (Solaris still goes in /opt/OpenSceneGraph).
Rather than having the somwehat confusing INST_SYS_PREFIX and
INST_SHARE_PREFX, you can override these with just
INST_LOCATION
For example,
make INST_LOCATION=/usr
will place files at /usr/include, /usr/lib,
/usr/share/OpenSceneGraph.
2003-03-13 02:53:40 +00:00
Robert Osfield
3343c3a970
Fix from Gabor for proper casting of char's to unsigned ints be setting up the
...
osgText::String.
2003-03-12 15:36:26 +00:00
Robert Osfield
edaed5996a
Added 'w' toggle to StateSetManipulator to toggle between filled, line and
...
point polygon drawing modes.
2003-03-12 13:54:59 +00:00
Robert Osfield
6021ffecac
Changed std::min to osg::minimum.
2003-03-12 12:17:57 +00:00
Don BURNS
fa33244f92
1) Replaced all Makefile* with GNUmakefile*.
...
2) Changed Makedepend system to make individual dependency files, which
should save time rebuilding dependencies by limiting the regeneration
of dependency file for only modified source files.
2003-03-12 10:39:43 +00:00
Robert Osfield
88b686faca
Added (unsigned int) cast to the call to osg::minimum.
2003-03-12 09:45:12 +00:00
Robert Osfield
b0dce04063
Added setBound() method to Drawable.
2003-03-11 21:53:28 +00:00
Robert Osfield
5ae998dbc2
Added missing osg:: to StateAttribute.
2003-03-11 21:42:55 +00:00
Robert Osfield
e51c7f1587
Added support for AbortRendering flag pointer in osg::State which is used
...
by osgUtil::RenderLeaf to test if any abort state has been set, if so it
doesn't do any further drawing.
The osgProducer::Viewer has been set up to set the osg::State's it manages
with their AbortRendering flag pointers set to the osgProducer::Viewer::_done
memeber varaible. Now when escape is pressed the rendering is aborted early.
2003-03-11 15:25:49 +00:00
Robert Osfield
78de76f17f
Bug fixes to osgText to handle the osgUtil::Optimizer being used on a scene
...
graph containing text.
Fixed warning in MD2 plugin.
2003-03-11 13:30:03 +00:00
Robert Osfield
4cdbbf1b4a
Added missing osgDB:: to writeArray() usage.
2003-03-11 13:24:28 +00:00