Commit Graph

  • 22d54f05e4 Added DOFTransform, MatrixTransform and PositionAttitudeTransform to NodeVisitor. Robert Osfield 2002-08-18 14:42:43 +00:00
  • a9732aa046 Added check to disable color binding when the secondary colour extension doesn't exist. Robert Osfield 2002-08-18 11:16:31 +00:00
  • 2c174237c7 Fixed typo in #define of UBYTE4 Robert Osfield 2002-08-17 07:34:11 +00:00
  • 2ab0f689eb Added Texuture::SubloadCallback example into the osgprerender demo to illustrate how to use it. Robert Osfield 2002-08-16 15:14:43 +00:00
  • 7dfefaf67f Added new osg::Texture::SubloadCallback, and getNumMipmapLevels() to osg::Texture and osg::Image. This additions are design to make texture subloading more flexible. Robert Osfield 2002-08-16 13:33:32 +00:00
  • bff72e1077 Fixes from Ulrich Hertlein to get the pfb plugin compiling with using any deprecated API. Robert Osfield 2002-08-16 10:56:20 +00:00
  • 8551e1c555 Supported added for secondary color & fog coords to osg::Geometry and osg::State. Robert Osfield 2002-08-15 20:27:33 +00:00
  • 848ce4ae74 From Perry, support for color added to the MeshPrimtive/LocalVertexPool code. Robert Osfield 2002-08-15 20:25:46 +00:00
  • 5f6dbfecf3 Removed the getData() from MeshRecord and the dummy SMesh record, this allow the FaceRecord base class to directly provide the datatype. Robert Osfield 2002-08-15 15:04:23 +00:00
  • ccbc1df85b Added a using namespace std; and removed std:: from from std::hex and std::dec. Robert Osfield 2002-08-15 14:09:36 +00:00
  • 4cbab17096 Added a virtual keyword into the getData() overrided methods. Robert Osfield 2002-08-15 13:04:13 +00:00
  • 61e3b34bc7 Submission from Perry Miller for support of OpenFlight15.7's local vertex pool and mesh primitives. Converted Perry's code to work with the osg::Geometry instead of osg::GeoSet. Robert Osfield 2002-08-15 11:25:23 +00:00
  • 7d00b3b729 Added SG_EXPORT to PositionAttitudeTransform and MatrixTransform. Robert Osfield 2002-08-14 20:56:04 +00:00
  • 60b73bcb7b Commented out the #define USE_DEPRECATED_API. Robert Osfield 2002-08-14 09:30:02 +00:00
  • a0be239f12 Added some comments Don BURNS 2002-08-13 18:29:50 +00:00
  • f9cc8783b3 Futher improvements and fixes to osg::AnimationPath, and the osglight demo to show it action. Robert Osfield 2002-08-13 15:31:10 +00:00
  • 7c049360ff Made improvements to osg::AnimationPath, added osg::PositionAttitudeTransform::AnimationPathCallback which us an app callback which uses an AnimationPath to specify the new positions of the transform. Robert Osfield 2002-08-13 13:22:46 +00:00
  • 983da4fb9c Fixed uninitialized _sortMode. Robert Osfield 2002-08-13 09:35:06 +00:00
  • 743b174da9 Added new s/getPivotPoint() support to osg::PositionAttitudeTransform. Robert Osfield 2002-08-12 17:40:36 +00:00
  • 29490a8c1c Updates to DOFTransform so that its overrides the traverse() and compute*() methods rather than depending upon callbacks for animating and compute matrices. Merged the put/inverseput code between Sasa's and Ferndinand's DOF code. Robert Osfield 2002-08-12 13:42:43 +00:00
  • d43b00ac4e attempt to fix read only status of Sequence.cpp. Robert Osfield 2002-08-12 13:37:35 +00:00
  • 7010c1c4f8 Removed dependency of the new osg::DOFTransform and osg::Sequence Node's on osgUtil by implementing a NodeVisitor::VisitorType enum, and associated g/setVisitorType. This allows callbacks to querry the visitor/traversal type without doing down cast's to specific visitor subclasses such as osgUtil::AppVisitor/CullVisitor. Robert Osfield 2002-08-11 21:26:58 +00:00
  • 19eaf17632 Temporarily commented out the flat staic transforms visitor since it was causing problems with the new DOFTransform class. Robert Osfield 2002-08-11 10:32:20 +00:00
  • 5d61488476 Submission for Gideon May, fixes for spacing in various osgText files. Robert Osfield 2002-08-09 19:51:12 +00:00
  • 392150521a Fixed the X and Y axis rotation billboards so that now rotate correctly. Robert Osfield 2002-08-09 16:27:39 +00:00
  • 0c6991ea27 Fixes for IRIX 32bit timmer on O2. From Tom Jolley. Robert Osfield 2002-08-08 21:36:22 +00:00
  • f0f40cbf88 Fixed warning related to where _increasingFlags is an unsigned short and 0xffffff is being truncated, spotted by Tom Jolly. Robert Osfield 2002-08-08 15:10:58 +00:00
  • 824e77e518 Removed inline definition from front of setMaxAnisotropy method. Robert Osfield 2002-08-08 15:09:18 +00:00
  • ed30834757 Fixed typos, sent in by Warren Macchi. Robert Osfield 2002-08-08 13:45:16 +00:00
  • d351bad121 Fixed bug related to switching on/off culling modes. Patch from Nikolaus Hanekamp. Robert Osfield 2002-08-08 13:41:18 +00:00
  • d9b7b13bd3 Changed the Geometry::setVertexArray and GeoSet::setCoords so that they call dirtyBound() instead of reseting the local bound flag, this ensures the updates are propagated upwards through into the parents. Robert Osfield 2002-08-08 11:27:11 +00:00
  • f5c7fcf51d Fixed the shininess factor in 3ds plugin. Robert Osfield 2002-08-08 11:01:07 +00:00
  • b9b013e15b Changed the support for anisotropic filtering in osg::Texture so that it is now controlled via the setMaxAnisotropy(float) method, and is set up independently for the mag filter mode, which it previously was done. Robert Osfield 2002-08-07 15:52:24 +00:00
  • 0bee7dd3d9 Renamed osgsequence.cpp to osgsequence.dsp, as it was clearly a typo... Robert Osfield 2002-08-07 10:10:33 +00:00
  • c5898e7f48 Fixed type of DOFTransform.cpp Robert Osfield 2002-08-07 10:08:42 +00:00
  • e01f9eb891 Added shells for DOFTransform and PositionAttitudeTransform to the .osg loader, still need to fill in the saving and loading of paramters. Robert Osfield 2002-08-06 17:07:05 +00:00
  • ffb2d3826b Changed the default value of _animationOn to true. Robert Osfield 2002-08-06 10:37:22 +00:00
  • 5822c2c1ff Fixed typo in comment. Robert Osfield 2002-08-06 10:07:17 +00:00
  • 8a5d7f9bfb Adde getViewFrustum() to camera. Robert Osfield 2002-08-06 10:04:06 +00:00
  • 25740b5c7f Added new osg::DOFTransform node from Sasa Bistrovic, designed to mirror the OpenFlight DOF transform nodes. Robert Osfield 2002-08-05 15:07:18 +00:00
  • 6c998bf97d Added support for PROTECTED modes into the .osg reading and writing. Robert Osfield 2002-08-05 13:29:51 +00:00
  • 25307305a0 Added an example of the use of the PROTECTED modes and attributes into the osgreflect demo so that toggling texturing on or off won't affect the mirror planes texturing. Robert Osfield 2002-08-05 13:12:09 +00:00
  • 70724c353f Fixed compile errors under IRIX. Robert Osfield 2002-08-05 12:52:18 +00:00
  • fd788daa69 Added support to StateAttribute/State to support PROTECTED flag for modes and attributes so that they cannot be overriden from above via the OVERRIDE flag. This is useful for things like manipulators that have handles display in the scene, you might want to prevent their state being affected by other overriding of light, wireframe modes etc. Robert Osfield 2002-08-05 12:40:24 +00:00
  • 6b52e17c48 Fix to iv/vrml loader so that it correctly passes back the right ReadResult and checks the validity of the file extension being passed to the plugin. Removed main.cpp * .h moving all its functionality into readerwriter.cpp. Robert Osfield 2002-08-04 21:11:00 +00:00
  • 93403a54db Changed the error reporting so that it directs it all via osg::notify, and only uses the INFO level for reporting that the file to load is not recognised. Also add check for LWO2 loading so that it returns FILE_NOT_HANDLED message correctly. Robert Osfield 2002-08-04 20:51:03 +00:00
  • cab49a9307 From Ruben Lopez, updates to VRML/IV loader. Robert Osfield 2002-08-04 20:34:48 +00:00
  • fb0d87b29c Added Sequence.cpp to osg plugin workspace file. Robert Osfield 2002-08-03 19:42:39 +00:00
  • cdf63113f1 Changed the copy constructor of for _light mem var to use a dynamic_cast<StateAttribute*>. Robert Osfield 2002-08-03 19:37:32 +00:00
  • 6a04fc3dee Integrated Ulrich Hertlien's osg::Sequence node, and osgsequence demo, and support for osg::Sequence in the pfb loader. Robert Osfield 2002-08-03 18:11:21 +00:00
  • c253d3558b Changed the range max and min members variables to maximum and minimum to prevent collision with windows min and max macros. Robert Osfield 2002-08-03 18:03:40 +00:00
  • 1ba901cf64 Added support for a sort callback in RenderBin. Robert Osfield 2002-08-03 16:49:42 +00:00
  • 067c10b49c Fixed comments. Robert Osfield 2002-08-03 16:48:36 +00:00
  • b89f3fa9b1 Added cout's of the view frustum to the aid debugging, these cout's are now commented out, and are just left in so that they may be used to double check things in future. Robert Osfield 2002-08-03 16:37:13 +00:00
  • ddd78eb95e Fix for Win32 build Robert Osfield 2002-08-02 19:11:06 +00:00
  • e1a6a18036 Added missing _nodePath.clear() and _segHitList.clear() to InteresectVisitor::reset(). Robert Osfield 2002-08-02 15:14:59 +00:00
  • 1adc4992ff Updates to iv/vrml loader from Ruben. Robert Osfield 2002-07-31 15:16:14 +00:00
  • 3840972440 Updates to the iv loader from Ruben - conversion from GeoSet to Geoemetry. Robert Osfield 2002-07-30 10:08:50 +00:00
  • fae159df08 Forced the use of non mip mapped texture during subloading in the osgprerender demo. Robert Osfield 2002-07-29 21:29:41 +00:00
  • 0fa1b4a2ff Removed default value from constructor. Robert Osfield 2002-07-29 11:02:14 +00:00
  • 067dc6cddf Fixes to the new texture subloading methods. Robert Osfield 2002-07-29 00:04:07 +00:00
  • 6b59f66d80 Checked in new methods for setting up texture subloading, these allow the user to control which parts on an image are subloaded from, and how big the initial texture is. Robert Osfield 2002-07-28 23:28:27 +00:00
  • 02bb66a572 Checked in Pavel's updates for non texured surfaces. Robert Osfield 2002-07-28 23:27:21 +00:00
  • 05472135b0 Added set/getUnrefImageOnApply() methods and associated flag and code in Texture::apply() to set the _image to 0 on apply. Note, this will only work when you have a single graphics context, as with multiple graphics contexts one can't delete the image after the first apply, as there will be more than one texture object to update. Robert Osfield 2002-07-28 21:25:32 +00:00
  • 63e3364cc3 Checked in Marco's commented out #defines/rejigged struct names to get things compiling under Windows, will need to check this in future as it may change with regeneration of parser files with lex/yacc. Robert Osfield 2002-07-28 21:15:25 +00:00
  • 556fa81fda Chagned the initiliazation of iterators, sent in by Alberto Barbati. Robert Osfield 2002-07-28 12:52:15 +00:00
  • 0977e68727 Fixes to NodeCallback and RenderBin from Alberto Barbati. Robert Osfield 2002-07-28 12:49:01 +00:00
  • 74f5cbe16a Fixes to the inventor/vrml loader. Robert Osfield 2002-07-27 21:35:21 +00:00
  • 4962065fb7 From Macro, removal of use of display lists during double pass rendering of particles. Robert Osfield 2002-07-27 10:34:14 +00:00
  • 2c1b07e752 Fix for Windows Robert Osfield 2002-07-27 10:25:51 +00:00
  • 933ecce3d9 Fixes for Win32 build. Robert Osfield 2002-07-27 10:22:58 +00:00
  • 73b007fccb Added return value to addViewport. Robert Osfield 2002-07-27 10:09:39 +00:00
  • 83a276a16a Added missing osg:: from various references to osg::Objectf Robert Osfield 2002-07-26 18:46:18 +00:00
  • 5622b8c48b Added support for LWO2, send in by Pavel Moloshtan. Robert Osfield 2002-07-26 16:33:25 +00:00
  • 6728edaa34 Added project file for inventor plugin. Robert Osfield 2002-07-26 16:02:57 +00:00
  • 078cdbed49 Added Ruben Lopez's Inventor/VRML 1.0 loader. Robert Osfield 2002-07-26 15:37:23 +00:00
  • 8901c42434 Change Geometry paramter name to lower case geometry. Robert Osfield 2002-07-26 12:49:19 +00:00
  • fe8d097cc0 From Ferdinand Cornelissen - Futher updates to the DOF code. Robert Osfield 2002-07-25 22:08:51 +00:00
  • 150b055053 Added missing return statement to if() block in Matrix::mult code. Bug spotted by Ray Conner. Robert Osfield 2002-07-25 21:58:53 +00:00
  • 95bdcfc3f6 Fixes to Doxygen files from Neil. Robert Osfield 2002-07-25 21:50:08 +00:00
  • 7a4c43c06e Changed > operator to < and swapped sides of expression, to enable compilation across compilers. Robert Osfield 2002-07-25 21:45:46 +00:00
  • cb1e1183c7 Fix to geometry combiner which wasn't check the overall color array values in the lessGeometry functor. Robert Osfield 2002-07-25 16:15:01 +00:00
  • ec6c2cd229 Fix to DOF Record from Sasa Bistroviae. Robert Osfield 2002-07-25 15:25:42 +00:00
  • a6eb0a8209 Fix for colors in old flt models from Brede. Robert Osfield 2002-07-25 15:21:18 +00:00
  • 2ecdb629e6 Removed double quotes from around the : DBGF = -g -DOSG_USE_MEMORY_MANAGER Robert Osfield 2002-07-25 14:42:01 +00:00
  • 55b7ed10a1 Implemented the DOF handling more cleanly, as per OpenFlight15.7 docs. Robert Osfield 2002-07-24 16:29:00 +00:00
  • 42358b61ae Added missing std:: to endl; Robert Osfield 2002-07-23 18:44:03 +00:00
  • b2fa79293c Added the missing _primtives from the copy constructor list. Robert Osfield 2002-07-23 15:48:12 +00:00
  • 9033b8a336 Added fog toggling to Viewer.cpp, 'y' reduces fog density, 'Y' increases fog density. Robert Osfield 2002-07-23 15:45:55 +00:00
  • 6d690740a6 Mods for HP-UX port. Robert Osfield 2002-07-23 15:01:51 +00:00
  • 2268246fa9 Added mode checking into StateSet to try and catch non texture OpenGL modes which have been applied to the texture modes and visa-versa. Robert Osfield 2002-07-23 14:35:38 +00:00
  • a41930ed17 Support added for Gnu C++ under Solaris. Robert Osfield 2002-07-23 13:30:47 +00:00
  • 80afddc08d Checked in Tino Schwarze's port to HP-UX. Robert Osfield 2002-07-23 10:48:22 +00:00
  • 609a9ebf21 Updates to osgParticle form Macro. Robert Osfield 2002-07-22 16:01:00 +00:00
  • f007e7c3be Merged changed to osgParticle from Macro, these add the ability to orientate the particles to predefined axis. Robert Osfield 2002-07-22 13:05:31 +00:00
  • 3dd07ea354 Fixed more uninitialized variables and two potential memory leaks. Robert Osfield 2002-07-22 12:41:55 +00:00
  • bfefb55a9f Fixed various uninitiliazed variables. Robert Osfield 2002-07-21 20:34:38 +00:00
  • 3cda894ca5 Added default construction values for various member variables to fix report uninitialized variables. Robert Osfield 2002-07-21 10:44:25 +00:00
  • b23aea5173 Futher work on ensuring that all datatypes are initilizaed in OSG objects. Robert Osfield 2002-07-21 10:04:33 +00:00
  • 389dd8adbb Futher changes to remove unitialized variables/reordering of initialization to prevent unitialized warnings. Robert Osfield 2002-07-21 01:29:11 +00:00