5d18f0ee11Tidied 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
8b1e9345dfUpdates to osg::Drawable::AppCallback and osgprerender demo.
Robert Osfield
2002-07-10 20:30:57 +00:00
27338f57b1Added app callback to Drawable.
Robert Osfield
2002-07-10 15:35:47 +00:00
b3ac26f3dcUpdates 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
7f56ceaea1Rejigged the line endings.
Robert Osfield
2002-07-10 11:26:48 +00:00
c1fc3dcdb9Ported all the demos and loaders across to use the new multitexturing API.
Robert Osfield
2002-07-10 11:22:24 +00:00
46af97727aAdded 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
44d0bb05e7Updates from Macro to support the new multitexture API, and improve bounding box computation.
Robert Osfield
2002-07-10 09:14:46 +00:00
f4a167c64cAdded setCurrentRenderBin() method.
Robert Osfield
2002-07-10 09:04:28 +00:00
842eb59e1fImplemented more code for the new osgprerender demo.
Robert Osfield
2002-07-09 19:23:53 +00:00
68540f5fb1Updates to the osgprerender code. Still doesn't do anything interesting yet..
Robert Osfield
2002-07-09 13:31:50 +00:00
3ab727713dAdded 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
b3904ef729Warnings fixes for IRIX - there was a missing "const" in the sameKindAs(.) method.
Robert Osfield
2002-07-09 10:33:15 +00:00
aca7f7b216Fixes for IRIX build.
Robert Osfield
2002-07-09 10:23:48 +00:00
0c943945f7Implemented 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
419e1360d5Added Mike Connell to authors list.
Robert Osfield
2002-07-08 09:42:51 +00:00
211a823642Added 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
2baeea6caeAdded winsock32 libs to osgcluster demo.
Robert Osfield
2002-07-07 22:08:27 +00:00
eb361bc047Rehashed the osgcluster project file to see if it solves the failure under windows.
Robert Osfield
2002-07-07 20:16:30 +00:00
8f4a77ce4cFixes for Windows build.
Robert Osfield
2002-07-07 17:42:34 +00:00
e23b40e316Added include<unistd.h> to __DARWIN_OSX__ build.
Robert Osfield
2002-07-07 17:40:34 +00:00
4696d319e5Did 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
0801b363f5Work on supporting multitexturing in State/StateSet/StateAttribute/Geoemtry.
Robert Osfield
2002-07-07 14:40:41 +00:00
9787641512Added VisualStudio files for Win32 port of osgcluster demo.
Robert Osfield
2002-07-04 18:47:33 +00:00
0dcd5cb017Added support for Win32 broadcast and recience over lan. Changes sent in by Michael Gronager.
Robert Osfield
2002-07-04 18:41:13 +00:00
5014a4f809Used typedef's for std::vector<>'s used inside DrawElements implementations.
Robert Osfield
2002-07-04 14:49:37 +00:00
f80a7e05b1Added osgGA to the MIGNW makedefs.
Robert Osfield
2002-07-04 14:23:58 +00:00
5957c21082Fixed the TriangleFunctor QUAD_STRIP code so that it produces consistent results.
Robert Osfield
2002-07-04 09:49:12 +00:00
04a841bf93Spotted by Neil Salter - missing transform. in the Transform copy operator.
Robert Osfield
2002-07-03 20:33:21 +00:00
fa8fbc225dAdded osgUtil dependency to the flt project.
Robert Osfield
2002-07-03 11:16:43 +00:00
3700e7e2cdReimplemted 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
304e56db51osgcallback required fixes for new osg::Drawable::CullCallback
Don BURNS
2002-07-02 06:28:41 +00:00
d2aa4270ceAdded 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
0443d4cffaMore 64 bit build specifics in IRIX makedefs file
Don BURNS
2002-07-01 14:40:09 +00:00
edb702b8dfRemoved -ldl from makedefs for IRIX
Don BURNS
2002-07-01 14:20:37 +00:00
48e7679e78Rewrote 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
4e81711ef7A couple fixes to remove Performer runtime warnings.
Robert Osfield
2002-06-28 20:54:09 +00:00
ebbd72556eFixes from Ulrich Hertlein to build of pfb plugin. Small mods to these by Robert.
Robert Osfield
2002-06-28 16:25:46 +00:00
ee6444c643Added to the osggeometry demo.
Robert Osfield
2002-06-28 14:42:34 +00:00
f809ef8a7bRewriting the osggeomtry demo to illustrate more primitive types.
Robert Osfield
2002-06-28 11:11:20 +00:00
975e2fe709Removed commas from the end of enum lists.
Robert Osfield
2002-06-28 08:47:23 +00:00
26497c7581Change =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
01992a7790Ported 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
7eaba69bb6Added SG_EXPORT which was missing.
Robert Osfield
2002-06-27 15:18:10 +00:00
fb3e705709Converted the template DrawElements primitive class into three seperate non templated classes - UByteDrawElements, UShortDrawElements, UIntDrawElements.
Robert Osfield
2002-06-27 13:15:34 +00:00
532a32416fMoved the AttributeArray and Primitive classes into their own header and source files.
Robert Osfield
2002-06-27 10:50:19 +00:00
726d680184Removed the test aginst a iterator as a bool.
Robert Osfield
2002-06-27 09:56:30 +00:00
90f4aa0515Added comment to explain #ifdefs for member templates.
Robert Osfield
2002-06-26 21:11:59 +00:00
7bc2a513e7Added #idef to Export to add check for support for member templates.
Robert Osfield
2002-06-26 21:10:45 +00:00
7c95922300Ported 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
8094c777b7Added templated constructor to TemplateArray & DrawElements template to handle VisualStudio7.0 build.
Robert Osfield
2002-06-26 17:48:13 +00:00
bdafc27d9cPorted pfb, txp and obj loaders across to use osg::Geometry.
Robert Osfield
2002-06-26 14:34:04 +00:00
40fefcf335Ported 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
1ceb0b60a8Fixes for Cygwin build from Norman Vine.
Robert Osfield
2002-06-25 20:47:42 +00:00
3765631cd7Fix to Quat::slerp so that it interpolates along the shortest path.
Robert Osfield
2002-06-25 20:36:17 +00:00
cbeeeefdabAdded 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
336c47e5feFixed osgText::Text::DrawModeType::ALIGNEMENT spelling mistake, now is ALIGNMENT.
Robert Osfield
2002-06-24 21:44:27 +00:00
cbb95d0445Checked in .osg support for the new osg::Geometry class.
Robert Osfield
2002-06-24 21:37:34 +00:00
d174f60f8cAdded required std:: to front of endl to fix Win32 build.
Robert Osfield
2002-06-24 12:53:27 +00:00
f2e215bf44Added 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
bbc129e5c6Compile Fixes for Win32.
Robert Osfield
2002-06-22 15:46:43 +00:00
7dd82beaa9Temporarily removed the references to multi-texturing calls.
Robert Osfield
2002-06-21 19:24:43 +00:00
49ab8f4706Added new osggeometry demo to test the work on the new osg::Geometry Drawable.
Robert Osfield
2002-06-21 16:45:45 +00:00
53b6d0c92eBug 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
ac93c6cdfcFixed constructor for TemplateArray(const TemplateArray& t,const CopyOp& copyop).
Robert Osfield
2002-06-21 07:48:05 +00:00
476f931eaaAddd 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
d763a47d2eMods 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
d31624d54aFixed incorrect naming of ConvexPlanerOccluder.
Robert Osfield
2002-06-19 20:38:08 +00:00
4f4f68e961Added 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
77e1fb7f80Added support for reading and writing OccluderNode's to the .osg file format.
Robert Osfield
2002-06-19 16:06:03 +00:00
b12e36cedeAdded computation of the bounding volume of osg::OccluderNodes.
Robert Osfield
2002-06-19 15:18:47 +00:00
21beb236d2Added support for occlusion of holes in occluders, and cleaned up the interface to ShadowVolumeOccluders.
Robert Osfield
2002-06-19 10:19:10 +00:00
b3c26d5634Changed 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
5e85cd59abAdded 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
aa58ecae2fClean ups for the Windows build.
Robert Osfield
2002-06-18 10:18:12 +00:00
d3b4a36447Added 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
6767dd49d0Rewrote 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
27412c27c9Fixes to the occluder culling code to properly disable occluders to prevent self occlusion.
Robert Osfield
2002-06-17 09:10:26 +00:00
156a9fbaeaFixes for Visual .NET and Mingw builds, and fix MacOSX notify() crash.
Robert Osfield
2002-06-15 20:57:50 +00:00
52c36dde70Added 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
25b420ac0eAdded computation of the occluders volume, scale it to a ratio of the frustum.
Robert Osfield
2002-06-14 16:28:47 +00:00
7adb75c572Added 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
73ec80843fRefined 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
c71bf35152Improvements to the plane clipping code.
Robert Osfield
2002-06-14 11:27:34 +00:00
d7760fbbd4Further updates to the occlusion culling code, also adding missing OccludeNode file the .osg plugin.
Robert Osfield
2002-06-14 08:45:28 +00:00
61df1ed6b7Further work on occlusion culling.
Robert Osfield
2002-06-13 23:46:02 +00:00
8c5722577eremoved the use of gettimeofday for 32 bit architectures...
Don BURNS
2002-06-13 19:39:28 +00:00
6888d73554Added #include <osg/ref_ptr> so that it will compile properly regardless of include order.
Robert Osfield
2002-06-13 19:34:27 +00:00
f2cbab46d4Added -osgGA to the Makefile list.
Robert Osfield
2002-06-13 19:10:29 +00:00
4e5a3696e3Merge Randall's changes.
Robert Osfield
2002-06-13 18:27:14 +00:00
0ebe473eb5Further work on Occlusion Culling. Most of work is complete, just debugging required now.
Robert Osfield
2002-06-13 16:21:00 +00:00
8dcb26967cRemoved inappropriate inline keyword which was breaking the IRIX build.
Robert Osfield
2002-06-12 16:23:59 +00:00
171312e720IRIX build fix.
Robert Osfield
2002-06-12 15:43:47 +00:00
65a9a8043eChanges for MacOSX build, send in by Bob Kuehne.
Robert Osfield
2002-06-12 14:57:35 +00:00
47bbe8f3ccFixed 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
e467027946Fix for renaming of ShadowOccluderVolume to ShadowVolumeOccluder.
Robert Osfield
2002-06-12 13:54:14 +00:00
c7e99ff77aFurther work on occludision code.
Robert Osfield
2002-06-12 09:22:30 +00:00
fa13d948b5A little more work on Occlusion culling.
Robert Osfield
2002-06-11 19:52:55 +00:00
247cb3ff7eChecked 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