Commit Graph

1843 Commits

Author SHA1 Message Date
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
Robert Osfield
aa78092885 Added using namespace osg and removed osg:: from CopyOp's as this was
causing problems with VisualStudio's scoping bug.
2003-03-21 22:32:01 +00:00
Robert Osfield
2a2be17a33 Added Prodcuer.lib and PThread*.lib to the osgcluster example. 2003-03-21 08:30:52 +00:00
Robert Osfield
f9c82c9bbb Duplicated the handling of 64 bit linux builds for ia64 and x86_64 and placed
them under the seperate paths for Intel vs GNU compilers.
2003-03-20 22:13:10 +00:00
Robert Osfield
2c018b841f Added -m64 -DARCH64 option to Linux 64 bit build. 2003-03-20 21:26:54 +00:00
Robert Osfield
4a3e04e1c2 Add osg:: infront of CopyOp instances. 2003-03-20 20:38:38 +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
38a2408847 Changed the shadow texture implemention to use CLAMP_TO_BORDER for the
WRAP_S and _T modes.  Also set the border colour to 1,1,1,1 to ensure
problem blending.
2003-03-20 08:58:51 +00:00
Don BURNS
d33680a2c0 Somehow the logo plugin got left out of the windows build. Adding it back in. (Needed for BMV) 2003-03-20 08:46:19 +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
6fc7f82a31 Added sync at the end of the main loop to prevent seg fault on exit. 2003-03-19 15:57:31 +00:00
Robert Osfield
ca0ff266e2 First pass fix at implementing requestWarpPointer. 2003-03-19 15:49:21 +00:00
Don BURNS
5266ffb895 Adjusted date format for versionrules 2003-03-19 15:37:28 +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
Don BURNS
e978c405e1 Set VERSION_RELEASE back to 3, replaced guards in include/osg/Verson to
OSG_VERSION_ with trailing underscore
2003-03-18 20:02:02 +00:00