Commit Graph

1866 Commits

Author SHA1 Message Date
Robert Osfield
d820449931 Used notify for reporting the keypressing to the commandline. 2003-04-01 18:35:31 +00:00
Robert Osfield
b63a49ca3f New osgtexture2D example code. 2003-04-01 16:00:33 +00:00
Robert Osfield
49b62ff92c Moved the logo plugins from the osgPlugins/logos directory to osgPlugins/logo
to make it consistent with the naming of the plugin.
2003-04-01 15:13:26 +00:00
Robert Osfield
43f1c0121b Bug spotted and fix by Sébastien Kuntz. Changed < to <= on Geometry.cpp, in removePrimitiveSet(),
if( i+numElementsToRemove<_primitives.size() )
2003-04-01 15:08:30 +00:00
Robert Osfield
f01cc73b43 From Macro Jez, fixes to logo plugin under VS. 2003-04-01 13:16:02 +00:00
Robert Osfield
e8f7290ead Updated NEWS.
Removed writing of test.osg from osgstereoimage.
2003-04-01 12:00:13 +00:00
Robert Osfield
fee0debfde Added timer code to the init in OsgCameraGroup.
Made the stats view 20 frames rather than 6.
2003-04-01 11:55:29 +00:00
Robert Osfield
763ee7f086 Cleaned up the reset of the vertex arrays in osg::State. 2003-04-01 11:53:34 +00:00
Robert Osfield
3975fc9b01 Improved handling of subloading.
Removed the rescalling of images in osg::Image during texture apply, moving
the rescale so it is locally calculated.  This solves an outstanding threading
problem which occured by multiple draw threads all tried to rescale the same
image at one time.

Made osg::Image ptr in osg::Texture2D non mutable as it is no longer modified
during apply.
2003-04-01 11:49:09 +00:00
Robert Osfield
05820ecbe9 From Marco, fix to the path of the osgPlugin logo. 2003-04-01 11:38:33 +00:00
Robert Osfield
90a2c93e50 Added extra debugging messages into the ArgumentParser::reportRemainingOptionsAsUnrecognized(ErrorSeverity severity)
method to help track down a crash under x86-64.
2003-04-01 08:47:11 +00:00
Robert Osfield
b728b1dd99 Implemented load and subload methods in osg::Texture/Texture2D. 2003-03-31 21:41:17 +00:00
Robert Osfield
11a38e12f2 Made the default transparent bin be bin number 10 rather than 1 to allow
more bins between it and the default opaque bin of 0.

Added a check for compressed image format in osg::Texture.
2003-03-31 12:48:33 +00:00
Robert Osfield
3fe1313ad9 Adding reseting of the array pointers to the dirty methods. 2003-03-31 11:25:04 +00:00
Robert Osfield
2af64da81c Removed closeLibrary reference for osgtext as this was causing problems with the
osgtext help.
2003-03-30 11:10:56 +00:00
Robert Osfield
11053aaa5c Change the className() functions from non const to const to be consistent with the
osg::Object definition.
2003-03-29 22:07:03 +00:00
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
190c32c73a Moved demo references acros to being example references. 2003-03-27 18:56:23 +00:00
Don BURNS
5b1969563b Fixed installation of demo source from src/Demos to examples 2003-03-27 18:42:31 +00:00
Robert Osfield
d8c82e17af Changed private to protected. 2003-03-27 17:20:21 +00:00
Robert Osfield
82139fae78 Fixed typo. 2003-03-27 17:18:59 +00:00
Robert Osfield
ee7975c76a Added -losgGA to keep things compiling across platforms. 2003-03-27 17:16:53 +00:00
Robert Osfield
6b7102d16e Improved stats. 2003-03-27 14:39:19 +00:00
Robert Osfield
a3d676c10b Added -osgText to GNUMakefiles. 2003-03-27 13:51:40 +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
9d45b526ad Added osgText dependency to osgProducer lib. 2003-03-26 20:11:11 +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
5e56e0eba8 Added osgkeyboard to the ./runexamples.bat.
Made osgstereoimage exit when non files have been loaded.

Added non const getText() method.
2003-03-25 13:57:16 +00:00
Robert Osfield
ce46db87b0 Spotted by Brede - missing ! 2003-03-25 13:01:34 +00:00
Robert Osfield
6b5d17a6d4 Added text input field to the osgkeyboard demo. 2003-03-25 12:44:50 +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
65e0ebf29d Added futher keys to complete the keyboard. 2003-03-25 11:28:52 +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
05681b8eda Added osgText dependency to osgkeyboard demo. 2003-03-24 23:12:47 +00:00
Don BURNS
f060051183 changes to makedefs to support AMD 64 bit 2003-03-24 23:02:08 +00:00
Robert Osfield
a03675495a Added new osgkeyboad example. 2003-03-24 21:17:51 +00:00
Robert Osfield
c2167be67b Fixed typo. 2003-03-24 15:21:52 +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
9c37fc233a Redid logo dsp. 2003-03-24 09:37:51 +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
91d22f7d23 Added Producer.lib to osgstereoimage demo. 2003-03-23 20:39:07 +00:00
Robert Osfield
f80b91c7a5 Converted to windows endings. 2003-03-23 20:36:55 +00:00
Robert Osfield
500c8fee92 Revamp of the osgstereoimage demo to provide a presentation tool for up comming
"In Your Face" shows held at the Glasgow Science Center.
2003-03-22 20:35:11 +00:00
Robert Osfield
48868982f1 Added a traverseGeode method to the UpdateVisitor which contains the
traversal code for both the nodes traversal and the drawables the geode
contains.
2003-03-22 09:48:43 +00:00