Commit Graph

1717 Commits

Author SHA1 Message Date
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
Robert Osfield
bf184ef7a3 From Tree, added SG_EXPORT to the inner classes for Java binding work. 2003-03-18 19:42:34 +00:00
Don BURNS
a5d713ba1f Added support for versioning to the build system 2003-03-18 18:40:19 +00:00
Robert Osfield
33ad8d8cb0 From Tree, ushort renamed GLushort 2003-03-18 09:29:06 +00:00
Robert Osfield
96b72af169 Implemented a object cache in osgDB::Registry. 2003-03-17 22:53:46 +00:00
Robert Osfield
f37c3db2af Added inc and links for local Producer. 2003-03-17 20:08:36 +00:00
Robert Osfield
db54d1f6f8 break from osgcluster main loop added for when the master send a killed
messsage to slaves.
2003-03-17 09:51:19 +00:00
Robert Osfield
d01d155ff9 Fixes for new beta release of VS.NET 2003-03-16 22:00:42 +00:00
Robert Osfield
e87a08f1c3 Fixes to osgcluster demo as new Producer based example.
Added extra pragrma remove a warning about float to int cast under VS.NET.
2003-03-16 21:58:27 +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
e791014d5c Added osgpbuffer example source. 2003-03-15 16:41:27 +00:00
Robert Osfield
0fdbf3ae67 Added VisualStudio .dsp's for the new osgProducer based examples. 2003-03-15 09:20:11 +00:00
Don BURNS
ced920030a Added -losgGA to all GNUmakefiles in examples.
Added one std:: in front of an endl in osgunittests.cpp
2003-03-15 08:01:41 +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
Robert Osfield
2915550887 Reverted Don's changed of sqrtf to sqrt. Don't understand why the change was
required, suggest a problem elsewhere which should be fixed, *not* by modification
of Vec2.
2003-03-13 14:29:16 +00:00
Robert Osfield
661c8dd006 From Gabor Dorka, Added d to /MDd option for debug build of osgText. 2003-03-13 09:22:30 +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
7439d7bb58 Changed the GNUMakefile for the osgproducer demo to use INC += instead of CXXFLAGS. 2003-03-12 21:02:04 +00:00
Don BURNS
4b701ebc50 Removed osgPlugins from lib, which is now built on the fly 2003-03-12 20:10:43 +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
c0b3bb1f32 Moved the platform specific directory defs out of makedefs into makediredefs,
and have standardised onto single instances where possible.
2003-03-12 14:01:49 +00:00