Commit Graph

  • 48b3be40e9 Various fixes to constructors to ensure that all variables are initialized. Robert Osfield 2002-07-20 23:54:55 +00:00
  • 0ff08a2978 Added missing default values to State constructor. Robert Osfield 2002-07-20 22:44:21 +00:00
  • 15315b7b4b Added default values for FrameStamp.cpp constructor. Robert Osfield 2002-07-20 22:40:24 +00:00
  • a1c54dc663 Removed the rendundent variables in the ConvexPlanerPolygon as these were unused and unitialized. Robert Osfield 2002-07-20 22:36:55 +00:00
  • c86a907ddd Added new debugging switch checkOnAllocations which is now on by default when compiling with debug build (under UNIX) and can be turned on or off with the OSG_MM_CHECK_ON_ALLOCATIONS environmental variable. Robert Osfield 2002-07-20 22:36:09 +00:00
  • 2b7331b73b Added some extra checks for memory initialization into the osg::MemoryManager, this is turned off by default, even in debug build. However you can turn it on by setting the OSG_MM_CHECK_FOR_UNINITIALIZED Robert Osfield 2002-07-20 21:37:10 +00:00
  • 298e3d5ae3 Umm... these should have already been commited, not sure why cvs has just popped these ones up... Robert Osfield 2002-07-20 18:27:40 +00:00
  • 1df5495adf Added logo plugin Don BURNS 2002-07-20 16:24:12 +00:00
  • 2f48bef57e Fixed the char[] array length to fully encompass the strings bring written to them. Robert Osfield 2002-07-20 15:01:49 +00:00
  • 745478e193 Fixed the glTessCallback type to GLU_TESS_ERROR_DATA. Robert Osfield 2002-07-20 15:00:47 +00:00
  • 4594907832 Small bug fix to osg::BoundingBox::expandBy(x,y,z). Robert Osfield 2002-07-19 15:49:43 +00:00
  • 1264bd5869 Removed debugging cout's. Robert Osfield 2002-07-19 15:03:23 +00:00
  • e2531d5679 Updated Doyxgen files. Robert Osfield 2002-07-19 14:52:44 +00:00
  • 7682e32521 Updates to the Geometry to add more access methods, and updates to Optimizer to add the new merge primtives option. Robert Osfield 2002-07-19 14:19:49 +00:00
  • d8d0ac60a7 Added primitve merging into the osg::Geometry optimizer. Robert Osfield 2002-07-19 13:49:54 +00:00
  • 1eaf9eac23 Removed the cow.osg paramter for the osgparticle cow.osg in the test scripts Robert Osfield 2002-07-19 12:51:23 +00:00
  • 6da157599c Added MatrixTransform.cpp. Robert Osfield 2002-07-19 10:18:29 +00:00
  • b498e74078 Changed the "reflect.rgb" path to "Images/reflect.rgb" to the help find the file required. Robert Osfield 2002-07-19 09:10:41 +00:00
  • 3cba9a52ef Updates NEWS file for 0.9.0 release. Robert Osfield 2002-07-18 22:35:54 +00:00
  • e492b79da5 Added osgoccluder to test scripts. Robert Osfield 2002-07-18 22:34:08 +00:00
  • 325b119218 Moved the 't' operation on texture modes across to use the new StateSet::setTextureMode methods, this enables 't' to work once more! Robert Osfield 2002-07-18 19:54:22 +00:00
  • 53be9bee49 Updated docs ready for the release. Robert Osfield 2002-07-18 19:54:11 +00:00
  • 34be82c1ee Moved get/setUserData from osg::Node into its superclass osg::Object to allow other subclasses to add their own custom data. Robert Osfield 2002-07-18 19:41:52 +00:00
  • ff8b4c001d Rewrote the osg::Drawable::AttributeFunctor and PrimtiveFunctor to make them more consistent with each other. This does mean an API change, so dependanct code in the OSG has been updated accordingly. Robert Osfield 2002-07-18 15:36:14 +00:00
  • 1d9dd54d11 From Randall Hopper, warning fixes for IRIX. Robert Osfield 2002-07-18 15:28:26 +00:00
  • 979fc70a94 From Brede Johansen, fix the TexturePaletteRecord::endian() to handle old flt versions (11, 12 & 13). Robert Osfield 2002-07-18 15:25:02 +00:00
  • b513517502 From Brede Johansen "I have found one bug in the ConvertFromFLT::visitFace() function. In the early days of the Flight format, before the LightPoint record existed they used face records with a light (-point) attribute." Robert Osfield 2002-07-18 14:29:32 +00:00
  • 8036901ea1 Rewrote osg:Statistics so that it is PrimitiveFunctor as is now completely decoupled from osg::Drawable. The Drawable::getStats() virtual method no longer exists. Robert Osfield 2002-07-18 14:20:01 +00:00
  • f2b6f8c873 Added code into osg::LightSource so it correctly computes its bounding sphere, taking into account any subgraph below, and the light itself if it is not a infinite light. Robert Osfield 2002-07-18 10:55:04 +00:00
  • e8185b37f0 Updated the test scripts to include cube mapping example and osglight demo. Robert Osfield 2002-07-18 10:49:37 +00:00
  • 8378d6802b Removed repeated return transform in the visitDOF method. Robert Osfield 2002-07-18 10:41:39 +00:00
  • 8ad68f98e9 Added support for .sgi alias extension to the .rgb plugin. Robert Osfield 2002-07-18 10:38:16 +00:00
  • a7c365c396 Fixed warnings. Robert Osfield 2002-07-18 10:06:21 +00:00
  • 7a8eeb3c92 Converted the osg::Material::set/getShininess option to use the standard OpenGL range of 0.0 to 128.0 instead of the previous normalised shiniess range. This brings it inline with the way the rest of the OSG uses a 1 to 1 mapping to OpenGL. Robert Osfield 2002-07-18 09:55:30 +00:00
  • 1a139efbbc Added const to LessGeometry functor to fix Win32 build. Robert Osfield 2002-07-18 09:17:50 +00:00
  • 3ec32aab82 Fixed spelling mistake. Robert Osfield 2002-07-18 00:55:01 +00:00
  • 09bdb10af5 Various fixes to the flt loader, and knock on changes to the osgUtil::Optimizer to better support removal of seperate osg::Geometry instances where they share the same state and bindings. Robert Osfield 2002-07-18 00:53:03 +00:00
  • 735b9d2318 Changed from a -> to *() when using the object pointed to by a reverse iterator, to fix problems with build under VS6/STLport. Robert Osfield 2002-07-17 16:24:55 +00:00
  • 6524548eb2 Fix for Win32 build. Robert Osfield 2002-07-17 12:21:53 +00:00
  • 8c0d510571 Several items of work related to adding a manual creation of occluders option to the osgoccluder demo. Robert Osfield 2002-07-17 10:00:50 +00:00
  • 3a964a6b93 Updated docs and added osgGA Robert Osfield 2002-07-16 20:07:32 +00:00
  • f55233b20d Updates from Bob Kuehne and Kristopher Bixler to remove the fink dependency from the MacOSX build. Robert Osfield 2002-07-16 19:21:31 +00:00
  • dadbd03443 Fix to DOF Record from Sasa Bistrovic Robert Osfield 2002-07-16 19:19:31 +00:00
  • e0c95723f2 Added SpotExponent to the spot light. Robert Osfield 2002-07-16 19:17:30 +00:00
  • 7fe394ac42 Removed repeat line from Makefile. Robert Osfield 2002-07-16 18:56:12 +00:00
  • 76d1775487 Bumped up the version numbers to 0.9.0 to reflect the upcomming release. Robert Osfield 2002-07-16 15:43:20 +00:00
  • f3d74525fa Rewrote the apply_imp template method so that it takes an initialization paramater. Robert Osfield 2002-07-16 15:28:25 +00:00
  • a389dfef8b Fixes for MacOSX build from Bob Kuehne. Robert Osfield 2002-07-16 15:13:57 +00:00
  • 442b266f2e Added the beginings of an osglight demo. Robert Osfield 2002-07-16 15:12:36 +00:00
  • b9281a6f58 Added TextureCubeMap.cpp to the .osg plugin Makefile. Robert Osfield 2002-07-16 11:33:36 +00:00
  • 6c8c02792a Fixed the new TemplateArray desctructor. Robert Osfield 2002-07-16 10:20:26 +00:00
  • 7cf7d8fadb Added protected destrcutor to TemplateArray. Robert Osfield 2002-07-16 10:16:34 +00:00
  • 8a14aa29cd Added support to osgUtil::Tesselator to insert extra vertices and other attributes into an osg::Geometry node. Uses the new osg::ArrayVisitor. Robert Osfield 2002-07-15 22:23:57 +00:00
  • e280b50d31 Added osg::UByte4 class, which can be used to represent packed colors. Robert Osfield 2002-07-15 22:18:47 +00:00
  • 5530406c9a Removed the second texture from the prerender demo so as not over complicate the final image. Robert Osfield 2002-07-15 13:39:11 +00:00
  • 9c56a57de3 Fixed the orientation of the osgreflect demo so that the reflection plane is orientated towards the viewer. Robert Osfield 2002-07-15 13:20:41 +00:00
  • e9f30add38 Added a MatrixTransform to tilt the osgreflect demo so that the reflection plane is seen clearly. Robert Osfield 2002-07-15 13:14:28 +00:00
  • 0a6fdb6ae0 Fixed the optimization of the orientation conversion. Robert Osfield 2002-07-15 13:13:46 +00:00
  • e6f48efe78 Fixed memory leak in FieldReaderIterator.cpp. Robert Osfield 2002-07-15 11:44:21 +00:00
  • 5a8ae07035 Renamed hangglide to osghangglide Robert Osfield 2002-07-15 10:53:51 +00:00
  • 08f5b7cbdd Removed the old hangglide directory. Robert Osfield 2002-07-15 10:51:45 +00:00
  • 6e40d676a2 Renamed osghangglide demo. Robert Osfield 2002-07-15 10:45:13 +00:00
  • 02f0995ef3 Renamed the hangglide demo osghangglide to make it consistent with the rest of the demos. Robert Osfield 2002-07-15 10:43:32 +00:00
  • db892e6bfe Added State::disableTexCoordPointersAboveAndIncluding( unit ) method so that all unsed texture units can be turned off simply within Drawables such as Geometry and GeoSet. This can be used to prevent bleed of arrays from one object to the next - which can cause crashes. Robert Osfield 2002-07-15 10:03:59 +00:00
  • 6a2aa35c26 Changes for Sunos Don BURNS 2002-07-15 04:42:44 +00:00
  • 523b64ef3f Added Logos loader Don BURNS 2002-07-14 21:49:51 +00:00
  • 8883f1d571 Fixed unused variable `osg::StateSet *osgStateSet' warning Robert Osfield 2002-07-14 20:51:31 +00:00
  • e7657f6b51 Added Drawable::AppCallback example and fixed a warning. Robert Osfield 2002-07-14 20:48:30 +00:00
  • 9792aa09dc Tweaked the color and aspect ratio settings of the pre rendering bin. Robert Osfield 2002-07-14 20:32:05 +00:00
  • f32245ba5b Fixed computeNearFar bug in CullVisitor::apply(Billboard&). Robert Osfield 2002-07-14 16:26:03 +00:00
  • 733be1b309 Fixes to read/write of MatrixTransform/Transform. Robert Osfield 2002-07-14 10:46:46 +00:00
  • 32a4625e59 Copy and Paste bug where an for() loop was repeated within itself, which was introduced when moving across to use osg::Geometry. Robert Osfield 2002-07-14 08:35:35 +00:00
  • 4895b22da1 Fixed various warnings which were appearing under MacOSX. Robert Osfield 2002-07-13 21:17:40 +00:00
  • db888b191c Conveted GeoSet to use the new state::set*Pointer/disable*Pointer methods to keep the current state valid. Robert Osfield 2002-07-13 20:31:30 +00:00
  • 12be8e5493 Support added for multitextured TXP files, sent in by Boris Bralo. Robert Osfield 2002-07-13 14:16:41 +00:00
  • b92ee3c95d put a typedef in public area of class for sun compilers Don BURNS 2002-07-13 02:46:06 +00:00
  • bbc6779f95 Added missing MatrixTransform.cpp file Robert Osfield 2002-07-12 21:45:54 +00:00
  • 717dab9389 added glutInit to osgparticle demo to fix crash under MacOSX. Robert Osfield 2002-07-12 21:45:08 +00:00
  • 5504f51774 Added second texture to osgprerender demo to test out multitexture in osg::Geometry, it works!! Robert Osfield 2002-07-12 21:42:27 +00:00
  • d87d27b749 Added MatrixTransform header and source. Robert Osfield 2002-07-12 21:08:19 +00:00
  • 1f9e4547e7 Changed the osgmultitexture demo so that it uses a TexEnv::BLEND mode with a colour. This lightens the resultant models. Robert Osfield 2002-07-12 19:50:52 +00:00
  • 995f6f9e21 Added using namespace osgUtil to get round IRIX/Windows compiler differences. Robert Osfield 2002-07-12 18:14:45 +00:00
  • 6f392cdbfa Ported distribution across to use the new osg::MatrixTransform and osg::BlendFunc class instead of osg::Transform and osg::Transparancy respectively. Robert Osfield 2002-07-12 18:12:01 +00:00
  • 8128265e09 Have added a #define USE_DEPRECATED_API to include/osg/Export, and various osg header and source files to optional compile in deprecated parts of the OSG API. Robert Osfield 2002-07-12 14:25:10 +00:00
  • 00470acb61 Fix, sent in by Macro Jez, to the set of the camera with the computed near and far plane, so that it is only updated when _computeNearFar != CullVisitor::DO_NOT_COMPUTE_NEAR_FAR. Robert Osfield 2002-07-12 13:00:09 +00:00
  • 3edb8a3d18 Added blend color to osg::TexEnv Robert Osfield 2002-07-12 10:30:27 +00:00
  • 0d84d3ed15 Fixed indenting. Robert Osfield 2002-07-12 09:16:49 +00:00
  • 5b97336e37 Addition of RoadRecords from Yefei He. Robert Osfield 2002-07-12 08:48:27 +00:00
  • c0360c15bc added -lpthread to the link line for Linux builds. Seems Red Hat 7.3 turns up undefined symbols without it. Don BURNS 2002-07-11 23:30:18 +00:00
  • 0ea6a7af4a Fixes for Win32 build Robert Osfield 2002-07-11 21:08:02 +00:00
  • 840df13438 Added Makefile for osgmultitexture demos. Robert Osfield 2002-07-11 18:33:30 +00:00
  • 1d136eab9f Added #define for GL_TEXTURE0_ARB Robert Osfield 2002-07-11 18:32:41 +00:00
  • 8219a0a63a Added support for multitexturing to osg::State and added osgmultitexture demo which adds as spherical environment map using texture 1 to any model. Robert Osfield 2002-07-11 16:12:24 +00:00
  • c4c97a0f64 Moved the code referencing osg::BoundingBox::isValid() and osg::BoundingSphere::isValid() across to use the valid() methods, the later being more consitent with other classes such as osg::ref_ptr<>. Robert Osfield 2002-07-11 14:32:21 +00:00
  • b015d80d68 Fixes for win32 build Robert Osfield 2002-07-11 12:57:53 +00:00
  • cd3c2c0b77 Fixes for Win32 build Robert Osfield 2002-07-11 11:36:25 +00:00
  • eca5797ae4 Fixed bug in disabledTexCoordPointer where a '>' was being used where it should have been a '>='. Robert Osfield 2002-07-11 11:33:06 +00:00
  • 76d4b4bdf9 Fixed the pathname for the osgprerender demo. Robert Osfield 2002-07-11 11:08:34 +00:00
  • 4372c9a334 changed unsigned int/short/char* references to GLuint,GLushort,GLubyte respectively. Robert Osfield 2002-07-11 08:28:09 +00:00
  • 54c27e36bf Updates for new use of GLushort instead of osg::ushort in GeoSet index pointer. Robert Osfield 2002-07-10 22:38:02 +00:00