Commit Graph

  • e266385769 Moved the InitVisitor::setState() into the SceneView::init() method to make sure that it always has the correct State object at the of the init. Robert Osfield 2004-02-02 16:55:29 +00:00
  • f5e2f7c731 Added atan2f to the list of #define's into include/osg/Math. Robert Osfield 2004-02-02 08:55:17 +00:00
  • 4723b8a059 Commented out the PagedLOD priority offset to leave it at its default values, so not to force the loading of distance children before near ones, letting PagedLOD set priorities simply on the depth into a child range. Robert Osfield 2004-02-01 17:21:12 +00:00
  • db02810270 Changed the osgviewer example to use the osg::Timer::instance instead a loca instance. Robert Osfield 2004-02-01 17:19:33 +00:00
  • b79c340922 From Nick, "I have modified the gdal code to read ecw images as well There is a small issue though ... GDALRasterBand::GetColorInterpretation() is not implemented for ecw images (in GDAL's sources I downloaded today) ... I put small hack in there to interpret the bands based on their index and it seams to work .." Robert Osfield 2004-02-01 17:18:36 +00:00
  • 675d38d6f3 Increased expiry delay from 1 second to 30 seconds Robert Osfield 2004-02-01 17:17:16 +00:00
  • 24b710986f Fixed the PagedLOD::removeExpiredChildren() so it only removes the high res child that has expired and no more. Robert Osfield 2004-02-01 16:13:07 +00:00
  • 9f81630453 Fixed GL_COMPRESSED_RGB_S3TC_DXT1_EXT pathway so both pixel and internal formats are the same. Robert Osfield 2004-02-01 15:40:33 +00:00
  • cec8dd54ed Improvements to the merging of source image datasets into the destination tiles which ensure that gaps don't appear. Robert Osfield 2004-02-01 10:27:19 +00:00
  • 4714f93054 Fixed second pathway for computing HeightField bounding box. Robert Osfield 2004-01-31 21:27:02 +00:00
  • 1ec93f9cce Fixed HeightField compute bounding box implementation. Robert Osfield 2004-01-31 20:45:40 +00:00
  • d83fa3fca5 Added AnimationPathCallback::getAnimationTime() method Robert Osfield 2004-01-31 11:34:28 +00:00
  • 434e16598e Fixed another typo :) Robert Osfield 2004-01-30 21:17:50 +00:00
  • bf24b0c23b Fixed misspelling of dependencies Robert Osfield 2004-01-30 21:17:27 +00:00
  • 72cce1e343 Added new dependancies file which contains a list of libraries that various OSG modules depend upon, these can be set as installed or not. The makedirdefs now uses this to configure which modules to compile. Robert Osfield 2004-01-30 21:11:58 +00:00
  • 268096be69 Added osg:: infront of State in Draw callback to make the callback work when copy and pasting it in user code. Robert Osfield 2004-01-30 21:10:05 +00:00
  • 26303b989a Added new osgspacewarp example which demonstrates how to create a star field which becomes lines as one accelerates, similar to the effect seen in star trek's warp drive. Robert Osfield 2004-01-30 21:09:21 +00:00
  • 407fbdb353 From Bob Keuhne, warning fixes under OSX Robert Osfield 2004-01-30 16:12:53 +00:00
  • 0199f77965 Added osgText dependancy to the TXP plugin Robert Osfield 2004-01-30 15:54:41 +00:00
  • eee79585f1 Added Windows icon Robert Osfield 2004-01-30 15:52:58 +00:00
  • 9772b21e35 Added osgmovie example, derived from Ulrich Hertlien's original videotex example, and brought up to date. Robert Osfield 2004-01-30 14:06:29 +00:00
  • a8b772c09a Changed the snap image filename to save_image.jpg taking advantage of the new JPEG writing support. Robert Osfield 2004-01-30 13:53:15 +00:00
  • eda2d8dfba From Stephane, added support for writing JPEG images. Robert Osfield 2004-01-30 13:52:12 +00:00
  • b4774099d6 Fixed the clampProjectionMatrix method so it doesn't modify the input znar and zfar, by avoid the use of float/double&. Robert Osfield 2004-01-29 20:14:20 +00:00
  • 5005047043 Adde Texture1D to .dsp file Don BURNS 2004-01-29 17:09:13 +00:00
  • dea75f5510 Attempts to fix compile problems under IRIX due to namespace problems. Robert Osfield 2004-01-29 15:47:51 +00:00
  • 965ed49427 Improved support for handling externally set projections Robert Osfield 2004-01-29 15:47:06 +00:00
  • 475c583975 From Pavel Moloshtan, add support to osg::Texture files for GL_ARB_shadow_ambinet support Robert Osfield 2004-01-29 11:16:49 +00:00
  • 7a94ab3903 Added double's as parameters to _clampProjectionMatrix() template function to cure compile problems Robert Osfield 2004-01-29 10:44:08 +00:00
  • 362cc3ccc3 Fixed WIREFRAME_CLOSED swap in flt loader. submitted by Andreas Ekstrand Don BURNS 2004-01-28 22:23:10 +00:00
  • b49f70f0ef Made the thread priority outwith the frame PRIORITY_MIN Robert Osfield 2004-01-28 20:17:10 +00:00
  • ef13d749ae Adding scaling of skirt. Robert Osfield 2004-01-28 14:44:35 +00:00
  • 84f1f788f3 From Mike Weiblen, icons for osgviewer under Windows. The osgviewer changes effectively provides template for making icons for all the examples. Robert Osfield 2004-01-28 10:53:59 +00:00
  • 39d7afaed2 Added support for CullVisitor::clampProjectionMatrixCallback Robert Osfield 2004-01-28 10:49:23 +00:00
  • 21633a9b8f Added 1D texture support to .ive plugin. (Fixed a couple of misspellings as well). Don BURNS 2004-01-27 22:45:03 +00:00
  • 635f302a2a Added support for osg::Texture::setBorderWidth(). Robert Osfield 2004-01-27 21:29:58 +00:00
  • 43df3b90ef Fixed problems with the DatabasePager free of texture objects and display list before they are finished with. Robert Osfield 2004-01-27 14:49:59 +00:00
  • 6f61b34590 Added className() method to GlyphTexture for debugging purposes. Robert Osfield 2004-01-27 14:47:41 +00:00
  • 6700faccf4 Added operator = implementations to template classes. Robert Osfield 2004-01-27 14:46:29 +00:00
  • d226e3ec68 From Nick, added VectorUInt in osgText/String hack to get around VS's stoopid compiler bugs. Robert Osfield 2004-01-27 11:50:32 +00:00
  • 28ce0c232b Re-enabled the unref image of texture apply, since the bug of disappearing textures was due to a bug in DatabasePager. Robert Osfield 2004-01-26 14:52:11 +00:00
  • f21a70a4e7 Set the delete of expired subgraphs in the database thread to false, to prevent problems with osgText. Will need to solve the dirtyTextureObject issue. Robert Osfield 2004-01-26 14:51:01 +00:00
  • a32759eafb Removed Texture unref on apply. Robert Osfield 2004-01-26 13:55:17 +00:00
  • fbd7a45b8e Fix to computation of size of texture in presense of compressed textures + mipaplevels<=1 Robert Osfield 2004-01-26 09:01:08 +00:00
  • b10393d001 From Nick, added Text support. Robert Osfield 2004-01-25 13:52:55 +00:00
  • ffec17c6bf Removed redundent , from enum. Robert Osfield 2004-01-24 20:50:33 +00:00
  • e17df6a8a5 Added release of file request block in the DatabasePager destructor. Robert Osfield 2004-01-24 09:41:29 +00:00
  • e247b11861 Added proper handling of the rotation of billboards about an artbitary axis. Note, this code while mathermatically is not optimal, and will need to reviewed in the future to optimize it. Robert Osfield 2004-01-23 21:47:39 +00:00
  • 2b9707cdfe Added rotation of billboard normal into flattern transform Optimizer pass. Robert Osfield 2004-01-23 16:29:54 +00:00
  • 635cf7f7c5 Made getLookAt() etc methods const Robert Osfield 2004-01-23 16:09:56 +00:00
  • 0300607dbb Fixed the handling of the Producer Fovy so that it accounts for Producer now using degrees in set and get methods Robert Osfield 2004-01-23 13:38:28 +00:00
  • edce2211fa From Romano Magacho, fixes to handle the subloading from Image when the internal format changes requiring a rebuild of the texture object. Robert Osfield 2004-01-23 13:25:45 +00:00
  • 34bc8a2471 Reverted by hand osgshadowtexture Robert Osfield 2004-01-23 12:06:03 +00:00
  • d594982dd2 Added support for copying tex coord data directly from prpgGeometry. Robert Osfield 2004-01-22 14:24:51 +00:00
  • ea77b1b031 Added report of LOD scale Robert Osfield 2004-01-22 12:28:55 +00:00
  • c49be54142 Added setLODScale into TileMapper traversal Robert Osfield 2004-01-22 12:21:59 +00:00
  • a5dd1951fc Added back in handling of non seam children in seam subgraphs, now uses a seperate group to enclose both the seam and the non seam children. Robert Osfield 2004-01-22 11:33:40 +00:00
  • 9801bb5cfc From Nick, addition of pruning to remove redundent local materials. Robert Osfield 2004-01-22 10:55:56 +00:00
  • 2fe34c0b6d Added setName("TileContent") on the subgraphs that represent the contents of the tiles, this name is then searched for during the TileMapper pre cull traversal to help cut short traversals, and thereby improve its performance. Robert Osfield 2004-01-22 10:43:59 +00:00
  • 84737941e1 Added controls over the datatbase pager threading priority during and outwith the frame. Robert Osfield 2004-01-22 10:42:32 +00:00
  • b604d22982 Added _activeSwitchSet(sw._activeSwitchSet) into the copy constructor. Robert Osfield 2004-01-21 20:38:03 +00:00
  • 57a8e5a916 Commented back in osg::Material settings Robert Osfield 2004-01-21 19:13:09 +00:00
  • 9d1ace20d9 Added new mechanism for handling Seams. Robert Osfield 2004-01-21 17:26:23 +00:00
  • 2f194ad5a0 Build fix. Robert Osfield 2004-01-20 10:02:45 +00:00
  • 8dd9d163fc Upates from Nick. Robert Osfield 2004-01-19 15:55:51 +00:00
  • 9ebffd4055 Added support for osg::Texture::setUnRefImageDataAfterApply(true) into all objects osg::Textures the TXP plugin creates. Robert Osfield 2004-01-19 11:02:54 +00:00
  • 694aec666c Fixed bug in logic in areAllTextureObjectsLoaded() which was producing the exact opposite result to what it should have been generating. Robert Osfield 2004-01-19 11:01:45 +00:00
  • b9f032bbb5 Updates for improvements to osgdem, such as adding support for skirt and border into osg::HeightField, handling of computation of neigherbouring tiles in osgdem's DestinationGraph. Robert Osfield 2004-01-18 21:59:20 +00:00
  • c06c73993e Improvements to generation of terrain and texture'd LOD'd destination datasets Robert Osfield 2004-01-16 16:39:04 +00:00
  • 6a76810c11 Added automatic generation of LOD levels with destination graph Robert Osfield 2004-01-15 21:07:34 +00:00
  • 6ff3f430b0 Clean ups of floats & .0f's Robert Osfield 2004-01-14 15:14:20 +00:00
  • 273b9c47b4 Fixed #undef's Robert Osfield 2004-01-13 16:07:02 +00:00
  • 29e6cb8cb1 From Daved Ergo, patch for handling group names better Robert Osfield 2004-01-13 10:30:36 +00:00
  • d4cfaae406 Fixed typo's of ImpostorSprite Robert Osfield 2004-01-13 09:47:50 +00:00
  • 72b8e5797c Fixed for Win32 build Robert Osfield 2004-01-13 09:47:31 +00:00
  • 87299f4fc0 Added support for automatic subdivision of the destination graph Robert Osfield 2004-01-12 22:03:29 +00:00
  • 4765c8744d Introduce new Matrix::invert() implementation from Ravi Mathur, with tweaks by Robert Osfield. Robert Osfield 2004-01-12 14:22:18 +00:00
  • c3b888c862 Fixed compile warning Robert Osfield 2004-01-12 14:21:26 +00:00
  • b89ec5dcf9 Changed of _firstTime intial values of 0 to DBL_MAX. Robert Osfield 2004-01-12 13:53:04 +00:00
  • c51c2893ce Improvements from Pavel. Robert Osfield 2004-01-11 21:33:43 +00:00
  • d072e1087c Added support for controlling the LODScale via '*' and '+' keys in osgProducer::Viewer. Robert Osfield 2004-01-10 21:29:15 +00:00
  • 10a3accf0b Fixed consolodateRequireResolutions() methods Robert Osfield 2004-01-10 20:58:09 +00:00
  • 23443aa5db From Alberto Farre, added osgDB::SharedStateManager. Also a couple of ammendments by Robert Osfield, adding get/setSharedStateManager() methods into osgDB::Registry, and clean up fixes in SharedStateManager for the StateSet arrays. Robert Osfield 2004-01-10 17:13:20 +00:00
  • 30c2cca1a3 Did a to_unix on all the LWS files include GNUmakefile. Robert Osfield 2004-01-10 09:10:44 +00:00
  • 8747b5161a Standardised on using value_type in most methods in Matrixd & Matrixf interfaces and Matrix_implementation.cpp. Robert Osfield 2004-01-09 20:33:23 +00:00
  • 4390114670 From Romano Magacho, add group->setName() to flattening of static transforms Robert Osfield 2004-01-09 14:07:26 +00:00
  • 5241ca2f2c Fixed to TXP plugin from Nick. Robert Osfield 2004-01-09 13:35:55 +00:00
  • ea16360b24 Fixes from Geoff. Robert Osfield 2004-01-08 21:39:14 +00:00
  • 6bdd84e3b0 Made the default settings of Quat 0,0,0,1 to represent a zero rotation. Robert Osfield 2004-01-08 21:04:42 +00:00
  • dd40692eb6 Moved the default light to be from the sky. Robert Osfield 2004-01-07 20:58:07 +00:00
  • 1f7a32c052 Fixed TXPPagedLOD.h/.cpp typos. Robert Osfield 2004-01-07 19:57:16 +00:00
  • 1353d0ca55 Fixed tabs to be four spaces. Robert Osfield 2004-01-07 14:14:38 +00:00
  • dd460006a4 From Nick, updates to TXP plugin to handle differences in LOD levels between adjacent tiles. Robert Osfield 2004-01-07 14:10:47 +00:00
  • 9c15baf92f Added osgsimplepager example program Robert Osfield 2004-01-07 12:38:55 +00:00
  • 7e2aaeffcd Removed redundent DatabasePager pointer. Robert Osfield 2004-01-07 12:38:36 +00:00
  • 2f918d62d7 Added DatabasePager::setUseFrameBlock(bool) method Robert Osfield 2004-01-07 12:37:44 +00:00
  • 72ac2f7eee Removed eroneous CreateShadowedScene.cpp/.h from .dsp Robert Osfield 2004-01-07 08:43:38 +00:00
  • cace776940 Moaved PagedLOD::PerRangeData implementaton into .cpp and add missing return *this to copy operator. Robert Osfield 2004-01-07 08:39:33 +00:00
  • 5638a54d2e Fixed ending of .dsp Robert Osfield 2004-01-07 08:36:14 +00:00
  • 894537a016 Simplified the API for using the DatabasePager, by providing a single DatabasePager::updateSceneGraph(..) method, and added a ref_ptr<> into osDB::Registry for managing a single DatabasePager in a centralised way. Robert Osfield 2004-01-06 21:18:36 +00:00