Commit Graph

  • f74b4ec847 Fixed VisualStudio7.0 compile error related to an std::vector<>::iterator no longer being a pointer, fixed by using a &(*itr). Robert Osfield 2002-11-01 12:48:15 +00:00
  • ee9307b089 Added missing Shape and ProceduralGeometry references in the osg project file. Robert Osfield 2002-11-01 12:40:33 +00:00
  • ee54835144 Futher updates to shapes support. Robert Osfield 2002-11-01 12:20:34 +00:00
  • 432654bde8 Added handled of invlid drawable bounding boxes. Robert Osfield 2002-11-01 12:11:23 +00:00
  • d9af228892 Added export to the height field class. Robert Osfield 2002-11-01 10:39:35 +00:00
  • 94105025a0 Updates to Shape support. Robert Osfield 2002-11-01 10:25:27 +00:00
  • 75fb39adbd Added a dirtyBound & diryDisplayList to the geometry merge operation in the Optimizer to fix a bug where the bouding volumes where being invildated. Robert Osfield 2002-10-31 15:24:17 +00:00
  • 24746728e4 From Geoff Michel, added AC3D .ac and GEO .geo loaders. Robert Osfield 2002-10-31 12:51:09 +00:00
  • 21ee9e4cb7 Added osg::Grid shape class, and added an example of its use into the hang glide demo. Robert Osfield 2002-10-31 10:36:11 +00:00
  • 85af8cc4ba Yefei He's updates to Pool and flt2osg to use lazy loading of textures from a texture pallette. Robert Osfield 2002-10-31 10:35:15 +00:00
  • da84f9b4aa Added first cut of new primtive shapes support. Robert Osfield 2002-10-30 13:27:15 +00:00
  • 2e99fdacfc Removal of more redundent const base types. Robert Osfield 2002-10-30 12:58:26 +00:00
  • aa5d172f99 Updated osgText .osg support so that it handles text via the osgDB::Outpur::wrapString() method. Robert Osfield 2002-10-30 12:56:55 +00:00
  • 8a9fce09d8 Fixed addChild(node,value) so that it resizes using the _newChildDefaultValue rather than the add child value, then sets the child's value to value. Robert Osfield 2002-10-30 10:07:16 +00:00
  • 32c6a7809a Updated the handling of string in the .osg reading and writing so that it handles the use of " quotes inside the string. Robert Osfield 2002-10-28 12:55:19 +00:00
  • 91c73c6da1 Removed the remapping of special keys to keyboard events. Robert Osfield 2002-10-28 09:43:21 +00:00
  • 55b2a5ff30 From Gideon May, fixes to remain const base type instances in headers. Robert Osfield 2002-10-25 12:29:03 +00:00
  • 18d99c06e4 Updated the min and mag filter modes to be more appropriate, still some of the FLT modes havn't been mapped across as its is not obvious how to map them to OpenGL/OSG. Robert Osfield 2002-10-25 09:34:51 +00:00
  • cc122c5bcb changed unsigned int's to unsigned longs so 64 bit build would work. Don BURNS 2002-10-24 20:49:15 +00:00
  • e1e0547dfd Added ARCH64 def for 64 bit builds Don BURNS 2002-10-24 20:45:44 +00:00
  • 5c111680f6 FIxed set_new_handler to std::set_new_handler Don BURNS 2002-10-24 15:24:39 +00:00
  • f5f20e4ac1 Fix from Don Tidrow for bug when moving between RenderGraph when popping back up to common parents. Robert Osfield 2002-10-23 07:46:11 +00:00
  • 3be6ffd9c3 Changed the nameing of iterators to prevent clashes with VisualStudio's dumb compiler. Robert Osfield 2002-10-21 15:09:03 +00:00
  • 054fd3877c Fixed spelling mistake in comment. Robert Osfield 2002-10-21 13:03:02 +00:00
  • ac0de068d9 Changed the private: to protected: to allow easier extension. Robert Osfield 2002-10-21 13:02:30 +00:00
  • 761fc0574f Merged Pavel's updates to LWO2 for handle multiple texture layers. Robert Osfield 2002-10-18 12:47:36 +00:00
  • 31e8323f17 Added default colour and normal definition to the Geometry draw to prevent state inheritance of these attributes from causing problems of Geometry which arn't fully defined. Robert Osfield 2002-10-18 12:26:23 +00:00
  • 00fd58283c Added extension checking to the rgb and bmp write of images. Robert Osfield 2002-10-18 12:23:42 +00:00
  • d2a3bed549 USE_MM was not defined for IRIX Don BURNS 2002-10-17 21:25:56 +00:00
  • e1b084749e Renamed the RenderBin::sort_local to sortImplementation(), draw_local to drawImplementation() and added a new RenderBin::DrawCallback(). Robert Osfield 2002-10-17 13:48:46 +00:00
  • ee8ded2a90 Fixed memory allocation. Robert Osfield 2002-10-17 11:59:01 +00:00
  • 88130dfa5a Checked in fix for std::hex for dumb arsed compilers. Robert Osfield 2002-10-17 11:50:53 +00:00
  • ab59703e54 Fixed compile error under Windows. Robert Osfield 2002-10-17 11:39:04 +00:00
  • f284f158f3 Fixed error in #ifdef GL_SECONDARY_COLOR... CV: ---------------------------------------------------------------------- Robert Osfield 2002-10-17 10:04:11 +00:00
  • 68427b98ae Changed std::malloc to new in src/osgUtil/CubeMapGenerator.cpp Don BURNS 2002-10-15 19:10:05 +00:00
  • 90d2c3054f Fixed cstdlib to stdlib.h for IRIX in src/osgUtil/CubeMapGeneragortor.cpp Don BURNS 2002-10-14 21:10:44 +00:00
  • 4bb344719a Fixes from Macro. Robert Osfield 2002-10-10 20:04:02 +00:00
  • cfcd7337b4 Added missing .cpp's. Robert Osfield 2002-10-10 18:02:05 +00:00
  • bfd614f907 Fixed the names of the ControlPoint parameters so they weren't capitals, to avoid the clash with the parameter type itself. Robert Osfield 2002-10-10 14:58:44 +00:00
  • 6ba195efea Added a little more info into the State contextID docs. Robert Osfield 2002-10-10 13:06:24 +00:00
  • 50652f389b Added Macro's new cube map generation classes and osgcubemap demo. Robert Osfield 2002-10-10 12:44:38 +00:00
  • 6c0861ef80 Maded the "flt::Registry::getPrototype: Unkown opcode:" message a INFO level notify message rather than a NOTICE. Robert Osfield 2002-10-10 09:42:41 +00:00
  • 2e92e7d242 Made the warning about a mis-matching in the number of children in a switch a INFO level notify message rather than a WARN. Robert Osfield 2002-10-10 09:39:09 +00:00
  • 50e8ea423c Added remapping of special keys to be handle like a convential key press. Robert Osfield 2002-10-10 09:29:07 +00:00
  • 41893927c1 From Gabor Dorka, Fixes to memory leaks. Robert Osfield 2002-10-10 09:00:31 +00:00
  • 16291da3b0 Fixes to smoothing visitor and tesselator to handle indexed Geometry. Robert Osfield 2002-10-09 15:43:56 +00:00
  • 88ecacfd7a Changed the default value of StandardOrientation to true, to fix orientation problems which commonly occur with png files. Leaves the quesition of how to set this value automatically. Robert Osfield 2002-10-09 15:41:22 +00:00
  • f210e13944 Fixed bug in osg::LOD::addChild() which was forcing all ranges to be identical values. Robert Osfield 2002-10-08 16:02:09 +00:00
  • c59fc9a2b7 Fixed a bug in the Optimizer where BIND_PER_PRIMITIVE_SET primitives where being eroneously merged. Robert Osfield 2002-10-08 14:10:55 +00:00
  • bfedea5636 osgdb_osg loader had more issues with const/non-const discrepancies on Solaris. Modified Geoset.cpp and Point.cpp Don BURNS 2002-10-08 08:39:42 +00:00
  • 588bc1da3c Solaris didn't like filebuf. Using old FILE Don BURNS 2002-10-08 08:36:48 +00:00
  • 16e3a3c182 Added AnimationPathManipulator to osgGA and modified sgv to use it. Don BURNS 2002-10-08 07:39:38 +00:00
  • ab580f1e3b Fixed some inconsistencies between header files and function definitions where the header file declared a parameter non-const, but the function definition expected a const. The Solaris linker was coming up with undefined symbols. Don BURNS 2002-10-08 05:41:19 +00:00
  • 04a9a09a8b Added extra convinience methods to LOD - addChild(child,min,max). Robert Osfield 2002-10-07 21:23:37 +00:00
  • 41768f6824 Fixes to Switch so that it defaults to adding children switched on, and adds a flag to control whether children and added as true or false. Robert Osfield 2002-10-07 20:17:57 +00:00
  • 525fc2f746 Set the default values for scale to 1,1,1. This fixes the bug obsevered when using AnimationPath with MatrixTransform without setting the scale value of the osg::AnimationPath::ControlPoint's. Robert Osfield 2002-10-07 20:01:28 +00:00
  • b7372fb4cb Added new osganimate demo which demonstrate the osg::AnimationPath in action. Robert Osfield 2002-10-07 19:51:11 +00:00
  • 478f736f63 Added missing osg::TextureCubeMap::getAssociatedMode(). Robert Osfield 2002-10-07 11:06:37 +00:00
  • 5f1a5f0c41 Added code to Viewer::addViewport(..) to force the sharing of a single osg::State object between viewports. Robert Osfield 2002-10-07 10:02:47 +00:00
  • 65934ef824 From Daneil Sjölie - modifications to the support of custom GUIEventHandlers in osgGLUT Robert Osfield 2002-10-07 09:41:30 +00:00
  • 70861ef70e Converted osg::LOD from used n+1 successive ranges to n min/max ranges, one min/max pair per child. Converted the rest of the OSG to use the new osg::LOD node. Robert Osfield 2002-10-06 20:33:13 +00:00
  • 84332f5b77 Fixes for Win32 build. Robert Osfield 2002-10-04 16:40:45 +00:00
  • 4a3cc5c182 Implemented OpenFlight style switches so that each child of a switch can now be individually turned on or off. Moved the OpenFlight code across to use the new scheme, removing the old hack of using node masks to achieve the same end result. Robert Osfield 2002-10-04 14:50:33 +00:00
  • 14e9be42c2 Changed the include of MatrixTransform to Transform. Robert Osfield 2002-10-04 13:53:41 +00:00
  • 65ab5f7b62 Added osgteapot demo to show how to implement custom Drawables to wrap up OpenGL code. Robert Osfield 2002-10-02 15:28:17 +00:00
  • 06022febff Added back in the old osg::Geometry::addPrimitive(..) methods for backwards compatibility and have placed them within a #ifdef USE_DEPREACATED_API block. Robert Osfield 2002-10-02 13:16:39 +00:00
  • 0a5ed26940 Moved the new osg::IndexedGeometry class over the top of the the existing osg::Geometry class, and removed the temporary IndexedGeometry. Port the rest of the OSG across to account for the change in method calls - osg::Geometry::addPrimitive(..) becomes osg::addPrimitiveSet(..) Robert Osfield 2002-10-02 13:12:16 +00:00
  • 29e998c1f8 Removed inappropriate inline keyword from getOrCreateStateSet(). Robert Osfield 2002-09-30 18:12:54 +00:00
  • 6f6e237429 Added setActiveTextureUnit(0) to State::reset(). Robert Osfield 2002-09-30 18:11:34 +00:00
  • af5f5e5a3f Added traverse the AnimationPath callbacks. Robert Osfield 2002-09-30 16:50:16 +00:00
  • 5fd86440b3 Added support for per primitive bindings in osg::IndexedGeometry. Added a convertToIndexedGeometry() method to GeoSet to allow datasets with per primitive bindings to be be mapped to across to osg::IndexedGeometry for testing purposes. Robert Osfield 2002-09-30 13:30:46 +00:00
  • 3fc5b0fdc9 From Macro, added a setActiveTextureUnit(0) to osg::Text::drawImmediateMode() to prevent the wrong OpenGL mode being used. Robert Osfield 2002-09-29 17:55:46 +00:00
  • d176f752a5 From Daniel, Fixes for warnings under Win32. Robert Osfield 2002-09-29 12:33:30 +00:00
  • da3739ebfc Fixes to IndexedGeometry.cpp to repair bugs introduced with Win32 build fixes.S Robert Osfield 2002-09-28 19:09:42 +00:00
  • 098e34ece0 Added a dirtyAllVertexArrays() to State::reset(). Robert Osfield 2002-09-28 07:47:10 +00:00
  • b57b0b16b9 Fixes for Win32 build. Robert Osfield 2002-09-28 07:43:04 +00:00
  • 2a94879fcc Fix build after change in GLExtensions. Robert Osfield 2002-09-27 19:04:46 +00:00
  • df027e1bab Fixes to IndexGeometry for Win32 build. Robert Osfield 2002-09-27 19:01:59 +00:00
  • f8edf16c40 Improvements to IndexedGeometry. Robert Osfield 2002-09-27 17:47:47 +00:00
  • 2a28a4297f Futher work on the IndexedGeometry class. Indexed coordinates should now work. Robert Osfield 2002-09-26 15:26:22 +00:00
  • f7c7740327 Changed the linux linking of -lgif to -lungif. Robert Osfield 2002-09-24 20:14:08 +00:00
  • 9546c73e39 Changed the image file so that use the Images/ prefix to help locate the files within the OpenSceneGraph-Data directory. Robert Osfield 2002-09-24 20:04:20 +00:00
  • c7001dd041 Removed redundent / Robert Osfield 2002-09-24 19:41:18 +00:00
  • 98dcb0623a Renamed Primitive to PrimitiveSet. Robert Osfield 2002-09-22 07:09:50 +00:00
  • fb629ae87d From Gideon, support for tracking the number of objects constructed and deleted, only compiled in when unit tests are compiled in. Robert Osfield 2002-09-20 15:55:50 +00:00
  • 444a6eaf97 From Ulrich Hertlien, supported add to textures in the .lwo format. Robert Osfield 2002-09-20 15:54:17 +00:00
  • 55215651d7 Renamed osg::Primitive to osg::PrimitiveSet which better reflect what it encapsulates. Robert Osfield 2002-09-20 14:51:59 +00:00
  • fd3bef5158 From Daniel, changed setEventHandler to addEventHandler. Robert Osfield 2002-09-20 14:48:41 +00:00
  • ce51fb1841 Added PolygonStipple class from Mike, with mods from Robert to make data management local. Robert Osfield 2002-09-19 10:30:15 +00:00
  • 68384e984b Made the calls to the drawing of the pre rendering stages exclit, using a seperate method in RenderStage and associated calls in sceneView.cpp. This fixes problems when doing stereo and prerender at the same time. Robert Osfield 2002-09-19 09:52:50 +00:00
  • f6cb09c601 Fixed copy constructor so that the _stage member variable was set to this correctly. Robert Osfield 2002-09-19 09:05:50 +00:00
  • 02d920c930 Fix the sceondary color code. Robert Osfield 2002-09-18 16:10:42 +00:00
  • 9a9e88b78a Added missing isCompressedInternalFormat() method. Robert Osfield 2002-09-18 16:05:26 +00:00
  • c918116ef1 Fixed mispelling of SEPARATION. Robert Osfield 2002-09-18 15:59:35 +00:00
  • f11410928f Simplified the depth calculation code in CullVisitor so that it always computes the depth of all drawables, so that it is always safe for RenderBin sort routines can use these values directly. Robert Osfield 2002-09-18 14:57:01 +00:00
  • 4a54b7bdb1 From Daniel Sjölie - added support for multitexured flt files. Robert Osfield 2002-09-18 11:11:10 +00:00
  • ed43d97ed3 Improved the sort callback support in osgUtil::RenderBin, and removed the now rendundent DepthSortedBin class. Robert Osfield 2002-09-17 15:47:23 +00:00
  • 91df37b5c8 Further work on multiple context extensions. Robert Osfield 2002-09-16 20:58:05 +00:00
  • f006d081e5 Commented out the call to combine LOD's in the optimizer as it was causing problems in some flt datasets. Robert Osfield 2002-09-16 10:55:09 +00:00
  • ce36cda0cc Updates the osg::Texture3D::Extensions interface to support the standardisation of extensions supported across multiple graphics contexts. Robert Osfield 2002-09-14 10:38:28 +00:00