Commit Graph

  • 5d18f0ee11 Tidied up the types in osg::GeoSet so that the index pointers use GLushort and GLuint to get round compile issues under MacOSX. Robert Osfield 2002-07-10 22:33:08 +00:00
  • 8b1e9345df Updates to osg::Drawable::AppCallback and osgprerender demo. Robert Osfield 2002-07-10 20:30:57 +00:00
  • 27338f57b1 Added app callback to Drawable. Robert Osfield 2002-07-10 15:35:47 +00:00
  • b3ac26f3dc Updates to osgprerender to support use of rendering to an image, rather then just a texture. Robert Osfield 2002-07-10 13:33:25 +00:00
  • 7f56ceaea1 Rejigged the line endings. Robert Osfield 2002-07-10 11:26:48 +00:00
  • c1fc3dcdb9 Ported all the demos and loaders across to use the new multitexturing API. Robert Osfield 2002-07-10 11:22:24 +00:00
  • 46af97727a Added Yefei He's RoadRecords to the flt loader, these records will be ignored by the loader, but will allow the loader to skip over them and continue reading the rest of the file correctly. Robert Osfield 2002-07-10 09:32:44 +00:00
  • 44d0bb05e7 Updates from Macro to support the new multitexture API, and improve bounding box computation. Robert Osfield 2002-07-10 09:14:46 +00:00
  • f4a167c64c Added setCurrentRenderBin() method. Robert Osfield 2002-07-10 09:04:28 +00:00
  • 842eb59e1f Implemented more code for the new osgprerender demo. Robert Osfield 2002-07-09 19:23:53 +00:00
  • 68540f5fb1 Updates to the osgprerender code. Still doesn't do anything interesting yet.. Robert Osfield 2002-07-09 13:31:50 +00:00
  • 3ab727713d Added new demo osgprerender to demonstrate how to prerender a scene and use the result in the main rendering for special effects. Robert Osfield 2002-07-09 13:17:42 +00:00
  • b3904ef729 Warnings fixes for IRIX - there was a missing "const" in the sameKindAs(.) method. Robert Osfield 2002-07-09 10:33:15 +00:00
  • aca7f7b216 Fixes for IRIX build. Robert Osfield 2002-07-09 10:23:48 +00:00
  • 0c943945f7 Implemented most of the changes required for supporting multitexturing in the osg::State/osg::StateSet/osg::StateAttribute and related classes. Robert Osfield 2002-07-09 09:35:42 +00:00
  • 419e1360d5 Added Mike Connell to authors list. Robert Osfield 2002-07-08 09:42:51 +00:00
  • 211a823642 Added comment to reflect Clay Fowlers findings on getting VS to compile without the Vector wrapper classes. Robert Osfield 2002-07-07 22:12:51 +00:00
  • 2baeea6cae Added winsock32 libs to osgcluster demo. Robert Osfield 2002-07-07 22:08:27 +00:00
  • eb361bc047 Rehashed the osgcluster project file to see if it solves the failure under windows. Robert Osfield 2002-07-07 20:16:30 +00:00
  • 8f4a77ce4c Fixes for Windows build. Robert Osfield 2002-07-07 17:42:34 +00:00
  • e23b40e316 Added include<unistd.h> to __DARWIN_OSX__ build. Robert Osfield 2002-07-07 17:40:34 +00:00
  • 4696d319e5 Did a to_dos on osgcluster.dsp since it was original saved with unix file endings. Robert Osfield 2002-07-07 17:30:48 +00:00
  • 0801b363f5 Work on supporting multitexturing in State/StateSet/StateAttribute/Geoemtry. Robert Osfield 2002-07-07 14:40:41 +00:00
  • 9787641512 Added VisualStudio files for Win32 port of osgcluster demo. Robert Osfield 2002-07-04 18:47:33 +00:00
  • 0dcd5cb017 Added support for Win32 broadcast and recience over lan. Changes sent in by Michael Gronager. Robert Osfield 2002-07-04 18:41:13 +00:00
  • 5014a4f809 Used typedef's for std::vector<>'s used inside DrawElements implementations. Robert Osfield 2002-07-04 14:49:37 +00:00
  • f80a7e05b1 Added osgGA to the MIGNW makedefs. Robert Osfield 2002-07-04 14:23:58 +00:00
  • 5957c21082 Fixed the TriangleFunctor QUAD_STRIP code so that it produces consistent results. Robert Osfield 2002-07-04 09:49:12 +00:00
  • 04a841bf93 Spotted by Neil Salter - missing transform. in the Transform copy operator. Robert Osfield 2002-07-03 20:33:21 +00:00
  • fa8fbc225d Added osgUtil dependency to the flt project. Robert Osfield 2002-07-03 11:16:43 +00:00
  • 3700e7e2cd Reimplemted the osgUtil::SceneView::setCalcNearFar() functionality to bring it inline with the CullStack/CullVisitor implementation. Also added the setSmallFeatureCullingPixelSize() method and wired them up inside SceneView.cpp so they set the corresponding CullVisitor paramters. Robert Osfield 2002-07-02 19:53:18 +00:00
  • 88a62173d2 -n32 and -64 entries were reversed in makedefs Don BURNS 2002-07-02 15:01:46 +00:00
  • 304e56db51 osgcallback required fixes for new osg::Drawable::CullCallback Don BURNS 2002-07-02 06:28:41 +00:00
  • d2aa4270ce Added support for CullVisitor to contain a osg::State. This used when cull Callbacks require the contextID for doing operations on texture objects, for example. Modified CullVisitor SceneView and Drawable Don BURNS 2002-07-02 06:22:28 +00:00
  • 0443d4cffa More 64 bit build specifics in IRIX makedefs file Don BURNS 2002-07-01 14:40:09 +00:00
  • edb702b8df Removed -ldl from makedefs for IRIX Don BURNS 2002-07-01 14:20:37 +00:00
  • 48e7679e78 Rewrote the osgUtil::Tesselator so that it is easier to use, and can also easily retesselate osg::Primitive::POLYGONS found in Geometry objects. Added calls to the tesselate to the lwo and flt loaders. Robert Osfield 2002-06-28 22:42:02 +00:00
  • 4e81711ef7 A couple fixes to remove Performer runtime warnings. Robert Osfield 2002-06-28 20:54:09 +00:00
  • ebbd72556e Fixes from Ulrich Hertlein to build of pfb plugin. Small mods to these by Robert. Robert Osfield 2002-06-28 16:25:46 +00:00
  • ee6444c643 Added to the osggeometry demo. Robert Osfield 2002-06-28 14:42:34 +00:00
  • f809ef8a7b Rewriting the osggeomtry demo to illustrate more primitive types. Robert Osfield 2002-06-28 11:11:20 +00:00
  • 975e2fe709 Removed commas from the end of enum lists. Robert Osfield 2002-06-28 08:47:23 +00:00
  • 26497c7581 Change =0 to osg::Vec2Array::iterator() in .obj loader to get round warnings under gcc3.0.x Robert Osfield 2002-06-28 08:36:02 +00:00
  • 01992a7790 Ported the flt plugin across to use osg::Geometry, it still uses a GeoSet internally, and I will remove this after some futher work. Robert Osfield 2002-06-27 20:29:32 +00:00
  • 7eaba69bb6 Added SG_EXPORT which was missing. Robert Osfield 2002-06-27 15:18:10 +00:00
  • fb3e705709 Converted the template DrawElements primitive class into three seperate non templated classes - UByteDrawElements, UShortDrawElements, UIntDrawElements. Robert Osfield 2002-06-27 13:15:34 +00:00
  • 532a32416f Moved the AttributeArray and Primitive classes into their own header and source files. Robert Osfield 2002-06-27 10:50:19 +00:00
  • 726d680184 Removed the test aginst a iterator as a bool. Robert Osfield 2002-06-27 09:56:30 +00:00
  • 90f4aa0515 Added comment to explain #ifdefs for member templates. Robert Osfield 2002-06-26 21:11:59 +00:00
  • 7bc2a513e7 Added #idef to Export to add check for support for member templates. Robert Osfield 2002-06-26 21:10:45 +00:00
  • 7c95922300 Ported LWO loader across to use osg::Geometry. Work not quite complete, as we need to retesselate any concave polygons that can exists in these datasets. Robert Osfield 2002-06-26 21:08:17 +00:00
  • 8094c777b7 Added templated constructor to TemplateArray & DrawElements template to handle VisualStudio7.0 build. Robert Osfield 2002-06-26 17:48:13 +00:00
  • bdafc27d9c Ported pfb, txp and obj loaders across to use osg::Geometry. Robert Osfield 2002-06-26 14:34:04 +00:00
  • 40fefcf335 Ported various demos and support classes over to use the new osg::Geometry class thus removing dependancy on osg::Geoset from most of the OSG, only loaders left to port now. Robert Osfield 2002-06-26 10:28:17 +00:00
  • 1ceb0b60a8 Fixes for Cygwin build from Norman Vine. Robert Osfield 2002-06-25 20:47:42 +00:00
  • 3765631cd7 Fix to Quat::slerp so that it interpolates along the shortest path. Robert Osfield 2002-06-25 20:36:17 +00:00
  • cbeeeefdab Added osg::Drawable::PrimitiveFunctor and TriangleFunctor subclass for querrying the primitive data inside Drawables. Moved various support classes over from being osg::GeoSet based to osg::Geometry based. Robert Osfield 2002-06-25 20:27:51 +00:00
  • 336c47e5fe Fixed osgText::Text::DrawModeType::ALIGNEMENT spelling mistake, now is ALIGNMENT. Robert Osfield 2002-06-24 21:44:27 +00:00
  • cbb95d0445 Checked in .osg support for the new osg::Geometry class. Robert Osfield 2002-06-24 21:37:34 +00:00
  • d174f60f8c Added required std:: to front of endl to fix Win32 build. Robert Osfield 2002-06-24 12:53:27 +00:00
  • f2e215bf44 Added conversion to osg::GeoSet::converToGeometry() utility to help the migration to and testing of the new osg::Geometry class. Robert Osfield 2002-06-23 21:43:46 +00:00
  • bbc129e5c6 Compile Fixes for Win32. Robert Osfield 2002-06-22 15:46:43 +00:00
  • 7dd82beaa9 Temporarily removed the references to multi-texturing calls. Robert Osfield 2002-06-21 19:24:43 +00:00
  • 49ab8f4706 Added new osggeometry demo to test the work on the new osg::Geometry Drawable. Robert Osfield 2002-06-21 16:45:45 +00:00
  • 53b6d0c92e Bug fix to the size calculation of bmp images, changed both the reading and writing of images. Robert Osfield 2002-06-21 15:14:29 +00:00
  • ac93c6cdfc Fixed constructor for TemplateArray(const TemplateArray& t,const CopyOp& copyop). Robert Osfield 2002-06-21 07:48:05 +00:00
  • 476f931eaa Addd new experimental osg::Geometry Drawable which will eventually replace GeoSet. Currently doesn't draw anything, and is very much in the early design stages. Robert Osfield 2002-06-20 19:54:08 +00:00
  • d763a47d2e Mods to MemoryManager to make the optimized build produce dummy implementations for all the public functions found in the header, this should prevent problems when not compiling in the MemoryManager under IRIX 64 build. Robert Osfield 2002-06-20 18:17:36 +00:00
  • d31624d54a Fixed incorrect naming of ConvexPlanerOccluder. Robert Osfield 2002-06-19 20:38:08 +00:00
  • 4f4f68e961 Added support for reading the new OSG_MAX_TEXTURE_SIZE environmental variable inside the osg::Image::ensureValidSizeForTexturing() method. The smallest of GL_MAX_TEXTURE_SIZE and OSG_MAX_TEXTURE_SIZE is used for the final max texture size. Robert Osfield 2002-06-19 18:45:05 +00:00
  • 77e1fb7f80 Added support for reading and writing OccluderNode's to the .osg file format. Robert Osfield 2002-06-19 16:06:03 +00:00
  • b12e36cede Added computation of the bounding volume of osg::OccluderNodes. Robert Osfield 2002-06-19 15:18:47 +00:00
  • 21beb236d2 Added support for occlusion of holes in occluders, and cleaned up the interface to ShadowVolumeOccluders. Robert Osfield 2002-06-19 10:19:10 +00:00
  • b3c26d5634 Changed the osg::LightSource so its Light attribute is now generalised to be a StateAttribute. This allows alternative implementations of Lights other than the standard osg::Light. Robert Osfield 2002-06-19 08:34:19 +00:00
  • 5e85cd59ab Added support for occluders occluding other occluders, which helps reduce the number of occluder that will be used in cull traversal to only the ones that will be effective. Note. Holes in occluders arn't handled in this occluder occlusion test, will implement this later. Robert Osfield 2002-06-18 22:35:48 +00:00
  • aa58ecae2f Clean ups for the Windows build. Robert Osfield 2002-06-18 10:18:12 +00:00
  • d3b4a36447 Added the length argument to a std::string argument, under Linux it compiled with the default value npos, under Windows it broke the build, add the npost excpilicity should get round this difference in implementation. Robert Osfield 2002-06-18 09:09:37 +00:00
  • 6767dd49d0 Rewrote the FileUtils support for data and library file paths, moving the storage of the path lists into osgDB::Registry, and changed the data structor from a char* to a std::deque. Changed a names of couple of the convinience functions in osgDB/FileUtils to better reflect the two public FilePathList's - DataFilePathList and the LibraryFilePathList. Robert Osfield 2002-06-17 21:50:37 +00:00
  • 27412c27c9 Fixes to the occluder culling code to properly disable occluders to prevent self occlusion. Robert Osfield 2002-06-17 09:10:26 +00:00
  • 156a9fbaea Fixes for Visual .NET and Mingw builds, and fix MacOSX notify() crash. Robert Osfield 2002-06-15 20:57:50 +00:00
  • 52c36dde70 Added computation of occluders volume scaled relative to the frustum volume, all volumes computed in eye coords. Robert Osfield 2002-06-15 12:14:42 +00:00
  • 25b420ac0e Added computation of the occluders volume, scale it to a ratio of the frustum. Robert Osfield 2002-06-14 16:28:47 +00:00
  • 7adb75c572 Added occluder hole test code into the osgoccluder demo. The code works, but I've commented it out right now as the Geode physically representing the occluder doesn't yet have a hole in it - just a cosmetic thing. Robert Osfield 2002-06-14 14:50:31 +00:00
  • 73ec80843f Refined the CollectOccluderVisitor so that it checks the subgraph below a node contains occluders before traversing. Robert Osfield 2002-06-14 13:49:59 +00:00
  • c71bf35152 Improvements to the plane clipping code. Robert Osfield 2002-06-14 11:27:34 +00:00
  • d7760fbbd4 Further updates to the occlusion culling code, also adding missing OccludeNode file the .osg plugin. Robert Osfield 2002-06-14 08:45:28 +00:00
  • 61df1ed6b7 Further work on occlusion culling. Robert Osfield 2002-06-13 23:46:02 +00:00
  • 8c5722577e removed the use of gettimeofday for 32 bit architectures... Don BURNS 2002-06-13 19:39:28 +00:00
  • 6888d73554 Added #include <osg/ref_ptr> so that it will compile properly regardless of include order. Robert Osfield 2002-06-13 19:34:27 +00:00
  • f2cbab46d4 Added -osgGA to the Makefile list. Robert Osfield 2002-06-13 19:10:29 +00:00
  • 4e5a3696e3 Merge Randall's changes. Robert Osfield 2002-06-13 18:27:14 +00:00
  • 0ebe473eb5 Further work on Occlusion Culling. Most of work is complete, just debugging required now. Robert Osfield 2002-06-13 16:21:00 +00:00
  • 8dcb26967c Removed inappropriate inline keyword which was breaking the IRIX build. Robert Osfield 2002-06-12 16:23:59 +00:00
  • 171312e720 IRIX build fix. Robert Osfield 2002-06-12 15:43:47 +00:00
  • 65a9a8043e Changes for MacOSX build, send in by Bob Kuehne. Robert Osfield 2002-06-12 14:57:35 +00:00
  • 47bbe8f3cc Fixed the osgDB::getFilePath, osgDB::getSimpleFileName() and osgDB::getStrippedName() so that they check for both unix style '/' and windows style '\' slashes in file names. Robert Osfield 2002-06-12 14:46:44 +00:00
  • e467027946 Fix for renaming of ShadowOccluderVolume to ShadowVolumeOccluder. Robert Osfield 2002-06-12 13:54:14 +00:00
  • c7e99ff77a Further work on occludision code. Robert Osfield 2002-06-12 09:22:30 +00:00
  • fa13d948b5 A little more work on Occlusion culling. Robert Osfield 2002-06-11 19:52:55 +00:00
  • 247cb3ff7e Checked in Macro Jez's additions to osgText to support .osg IO make it a fully functioning NodeKit. Robert Osfield 2002-06-11 18:41:57 +00:00