Commit Graph

  • 426fd9eaf7 Missed check of changes to the RemoveRedundentNodesVisitor Robert Osfield 2006-11-26 14:17:22 +00:00
  • 3613e66e82 Added extra checks to RemoveRedendentVisitor to catch Groups that may only have one child, but also have StateSet's etc and thefore not suitable for removal. Robert Osfield 2006-11-24 21:19:11 +00:00
  • 2a8c48c13c Added isIdentity() method Robert Osfield 2006-11-24 21:10:57 +00:00
  • 5044a85c9e Improved handling of bounding polytope Robert Osfield 2006-11-24 17:20:01 +00:00
  • 006435e679 Added support for positional lights into computeShadowVolumeGeometry code and cleaned up OccluderGeometry interface. Robert Osfield 2006-11-24 11:37:57 +00:00
  • 51744272d5 Improved the ShadowVolumeGeometry orientations. Robert Osfield 2006-11-23 21:32:49 +00:00
  • ef9595e73a Add compute of tight bounding box to enable better placement of the base plane. Robert Osfield 2006-11-23 17:29:43 +00:00
  • e7ef0ca846 First cut at generating the ShadowVolumeGeometry Robert Osfield 2006-11-23 16:55:46 +00:00
  • 156cf1e97f Added basic silhoette detection Robert Osfield 2006-11-23 11:22:49 +00:00
  • 675e4a2cde From Roger James, "fixes mostly related to texture handling." Robert Osfield 2006-11-22 21:11:46 +00:00
  • a3b1d8cd54 From Paul Martz, add OSG_FILE_PATH to end of setting of OSG_FILE_PATH to preserve any previous settings Robert Osfield 2006-11-22 21:09:48 +00:00
  • 3016deaba9 From Paul de Repentigny, "When calling osgdem with argument "--image-ext", the application just returns after loading the proper ReaderWriter for the given extension." Fix was to remove the erroenous return. Robert Osfield 2006-11-22 20:52:16 +00:00
  • 9c66cb4127 From Sylvan Marie, "I attached my revised dxfEntity.cpp file from the DXF plugin with the 2 following improvements: Robert Osfield 2006-11-22 20:47:53 +00:00
  • 1f3a851cfc From Farshid Lashkari, Added missing initialization of the _scaleByTextureRectangleSize variable in two of its constructors. Robert Osfield 2006-11-22 20:39:44 +00:00
  • 0a696dbdc7 Added removeNullTriangles() method to help removed triangles with coincedent corners. Robert Osfield 2006-11-22 15:38:59 +00:00
  • a22bede80f Added new HeightAboveTerrain.cpp LineOfSight.cpp wrapper files Robert Osfield 2006-11-22 09:10:14 +00:00
  • 8483624646 Added compute and visualization of triangle and vertex normals Robert Osfield 2006-11-21 16:59:34 +00:00
  • d0df2df7ad Replaced the setTextureUnit(0) call in State::reset() with code that just sets the member variables without requiring a graphics context. Robert Osfield 2006-11-21 16:59:04 +00:00
  • 91a9a87dd4 Added removeDuplicates function Robert Osfield 2006-11-21 16:16:56 +00:00
  • b400a2738b Reordered methods to make associated functions clearer. Robert Osfield 2006-11-21 16:15:42 +00:00
  • e16f33e9c5 Renamed osgviewer-Info.plist to osgviewerApplication-Info.plist to prevent svn naming collision problems under Windows due t osgviewer/osgViewer case insentive file name collisions. Robert Osfield 2006-11-21 14:42:36 +00:00
  • 95568b24fa Added nested files Robert Osfield 2006-11-20 21:48:40 +00:00
  • b6e261d4d3 Added -losgFX Robert Osfield 2006-11-20 12:25:38 +00:00
  • b5231932ac Added missing LGPL section to LICENSE.txt Robert Osfield 2006-11-20 10:12:57 +00:00
  • b67de41991 Rearranged the #ifdef's to prevent compile problems under NVidia 2.1 OGL drivers Robert Osfield 2006-11-17 20:45:29 +00:00
  • ffc3d4e351 From Eric Wing, updates to Xcode projects Robert Osfield 2006-11-17 16:25:29 +00:00
  • b30fb02b92 From Eric Wing, new ogsimpleviewCocoa example. Robert Osfield 2006-11-17 16:22:58 +00:00
  • 6b6bc4de10 Added missing PointSprite files Robert Osfield 2006-11-17 14:51:48 +00:00
  • e45245b7d6 From Farshid Lashkari, "Attached is a patch that adds the new coordOriginMode to the .osg reader/writer for PointSprites." Robert Osfield 2006-11-16 17:35:12 +00:00
  • 052d44a440 From Frashid Lashkari, added support for PointSprites to .ive Robert Osfield 2006-11-16 16:42:11 +00:00
  • 2151573ccd From Michael Platings, Fixed Geometry cloning of the texture coordinates and vertex attributes. Robert Osfield 2006-11-16 16:25:29 +00:00
  • a73e9250ee Added alpha test setting Robert Osfield 2006-11-15 20:29:28 +00:00
  • c24289315a Fixed comment Robert Osfield 2006-11-15 20:24:09 +00:00
  • 2aec799d98 Updated wrappers Robert Osfield 2006-11-15 20:23:15 +00:00
  • 43c6a1c275 From Eric Wing, add version check for use of automatic resizeing Robert Osfield 2006-11-15 11:21:53 +00:00
  • ee35f18acb From Mathias Froehlich, replaced assert with notify() error message. Robert Osfield 2006-11-15 10:08:09 +00:00
  • 43af60e19e Added note about license or file, and link to specs. Robert Osfield 2006-11-14 19:29:49 +00:00
  • 5d91960cb7 Removed redundent osgac3.h file. Robert Osfield 2006-11-14 19:19:54 +00:00
  • 2b28b472b4 From Mathias Fröhlich, fixed order of setting of texture image. Robert Osfield 2006-11-14 19:19:15 +00:00
  • 2fbda800b7 Updated wrappers Robert Osfield 2006-11-14 17:24:37 +00:00
  • 30ad811cac From Eric Wing, add use of the autodetection of windowing size support in SDL-version 1.2.10 and later. From Robert Osfield, made the above an optional compile as it breaks apps based on previous version of SDL. Robert Osfield 2006-11-14 16:59:00 +00:00
  • 0c6a05392b From Mathias Froehlich, "Improovments: - does proper edge detection with the crease angle given in the ac file - the reader is much more verbose in case of broken files - no more static variables - std::stream based - much faster, up to a factor of 50 for a polygonal test model - if the file contains polygonal surfaces the loaded geometry is still polygonal as long as the polygons are convex. Concave polygons are still tesselated. Rationale: If the user needs triangular models he can throw away that extra information with the osgUtil::Optimizer himself. But the read step preserves as much extra information that is contained in the file as possible. Also the polygonal models look a bit smoother than the triangular ones. - a huge cleanup - the basic parsing logic from the original ac3d developer is untouched - the writer part is untouched Robert Osfield 2006-11-14 16:37:07 +00:00
  • a8378d0bfa Added osgViewer depdendency to osgintersection, osgGLUT* examples Robert Osfield 2006-11-14 15:06:17 +00:00
  • bae46a0fbd From Jason Beverage, "I ran though the sample data that Gert provided earlier today and tracked down the problem. The xoffset in readHeightField and readImage were being applied even in projected coordinate systems. This patch should fix the issue." Robert Osfield 2006-11-14 12:55:00 +00:00
  • d0cc014f1b Further migration to using RenderInfo Robert Osfield 2006-11-14 12:51:31 +00:00
  • b5bb541cca From Stephan Huber, Follows is required to prevent unidented cloning of shared arrays : "I added some calls to isOperationPermissibleForObject() so I can permit the flattten-pass with my specialized objects in my own code." Robert Osfield 2006-11-14 12:49:53 +00:00
  • 7cb1bcbd7d From Farshid Lashkari, "This patch adds a CoordOriginMode to the osg::PointSprite attribute. The mode needs to be changed to LOWER_LEFT when rendering point sprites to pbuffers or FBOs, otherwise the points will be transformed on the CPU." Robert Osfield 2006-11-14 12:29:54 +00:00
  • 5f59741b42 Added support for handling osg::ShapeDrawable style drawables in OccluderGeoemtry. Robert Osfield 2006-11-14 12:16:39 +00:00
  • 1bb7da6085 Added check against null SceneData to prevent crash with empty models Robert Osfield 2006-11-14 09:54:21 +00:00
  • ad1c9964e0 Further work on OccluderGeometry Robert Osfield 2006-11-11 21:30:29 +00:00
  • c3f3093ecc From John Kelso, add support for default frame time for children of a Sequence node Robert Osfield 2006-11-10 15:25:04 +00:00
  • 8983544a86 Further work on osgShadow::GeometryOccluder Robert Osfield 2006-11-10 15:07:13 +00:00
  • d23c04018b Updated wrappers Robert Osfield 2006-11-08 11:49:35 +00:00
  • a11dd1c479 From Eric Wing, updates to Xcode project for new osgViewer library Robert Osfield 2006-11-08 10:00:43 +00:00
  • a1f20f1a00 From Eric Wing, change osgGA::SimpleViewer to osgViewer::Viewer. From Robert Osfield, added -losgViewer & -losgGA to makefiles. Robert Osfield 2006-11-08 09:50:27 +00:00
  • 530e9e08d4 Added better handling of writeNode operations that arn't successful. Robert Osfield 2006-11-07 17:00:56 +00:00
  • ac9a28051f Fixed the writeNode function so it was properly return FILE_NOT_HANDLED, fixing a big with it writing out an empty .flt file. Robert Osfield 2006-11-07 17:00:29 +00:00
  • c607a6dd7f Updated wrappers Robert Osfield 2006-11-07 14:26:48 +00:00
  • 5ac6ea9a8d Ben van Basten, "1 Bug fix in reuseParticle where originally an old particle that was already killed would be killed again, but instead should have been placed on the dead stack for future reuse. Robert Osfield 2006-11-07 13:48:20 +00:00
  • c9fed221a5 Added initial cut of osgShadow::OccluderGeometry Robert Osfield 2006-11-07 13:43:01 +00:00
  • d199fd0072 Changed debug output from NOTICE to INFO Robert Osfield 2006-11-07 13:26:31 +00:00
  • 6a81dc157d From Tery Welsh, added support for inheriting all CameraNode CullSettings and then restoring the original values. Robert Osfield 2006-11-07 13:00:14 +00:00
  • d061c087fa Removed debug comment. Robert Osfield 2006-11-07 12:08:03 +00:00
  • 86c6a88c98 From Mathias Froehlich, workaround fix for problematic run length encoded RGB files. Robert Osfield ammend workaround to support multi-byte colour channels. Robert Osfield 2006-11-07 12:02:37 +00:00
  • c289cdca57 Thanks to Björn Hein for spotting mistakes in EventQueue.cpp and StateSetManipulator, now fixed by Robert Osfield. Problems were: Robert Osfield 2006-11-06 13:22:57 +00:00
  • 28defbbbad Added osgViewer library to build list Robert Osfield 2006-11-03 14:07:20 +00:00
  • 5be6995022 Added IntersectionVisitor to wrappers Robert Osfield 2006-11-02 18:58:01 +00:00
  • 4606948bb8 Added IntersectionVisitor to osgUtil project Robert Osfield 2006-11-02 17:07:32 +00:00
  • 06cca16a2a Added convinience constructors to help support picking with the new osgUtil::Intersector classes. Robert Osfield 2006-11-02 17:05:46 +00:00
  • 7d12b85632 Added basic PolytopeIntersector functionality based on checking vertices against polytopes. Robert Osfield 2006-11-02 15:50:04 +00:00
  • c3643a738c Renamed osgviewer.dsp to osgviewerapplication.dsp and fixed directory name of osgsimpleviewerProducer Robert Osfield 2006-11-02 15:40:42 +00:00
  • 1c91b505dd Fixed bug in Polytope::contains(const std::vector<Vec3>& vertices) which resulted in false positives. Robert Osfield 2006-11-02 15:22:38 +00:00
  • 984ac93749 Updated wrappers Robert Osfield 2006-11-02 12:32:41 +00:00
  • e0f395fd07 Moved SimpleViewer and GraphicsWindow into their own osgViewer library, updated simpleviewer examples to reflect this change Robert Osfield 2006-11-02 12:27:15 +00:00
  • f9fb99dc43 Added prelimnary work on PolytopeIntersector. Robert Osfield 2006-11-02 12:17:06 +00:00
  • 15f7abe100 Improved handling of projected coords in new intersection classes Robert Osfield 2006-11-01 17:18:45 +00:00
  • 75169ad16f Added support for osgUtil::Intersectors being in WINDOW, PROJECTION, VIEW or MODEL coordinates Robert Osfield 2006-11-01 14:41:32 +00:00
  • a253e17d3e Implemented HeightAboveTerrain and added usage into osgintersection Robert Osfield 2006-10-31 12:59:51 +00:00
  • e9b501002c Added LineOfSight and HeightAboveTerrain classes Robert Osfield 2006-10-31 08:41:24 +00:00
  • 16c238fc60 Added osgSim::LineOfSight and osgSim::HeightAboveTerrain classes Robert Osfield 2006-10-30 20:29:06 +00:00
  • c615f7345c Updated wrappers Robert Osfield 2006-10-30 12:39:05 +00:00
  • 0f65ed9189 From Per Fahlberg, "Attached is a fix to get the proper normals on an md2 model, actually the way it was before would sometimes lead to a crash since it was attaching the wrong array to the geometry..." Robert Osfield 2006-10-30 12:28:37 +00:00
  • f9b9efec16 From Vladimir Shabanov, "The DDS plugin didn't correctly read mipmapped A8L8 textures. I've attached a small fix for this. Robert Osfield 2006-10-30 12:23:37 +00:00
  • baeb41a416 From Michael Henheffer, "There's a problem with OverlayNodes where the texture will not display if continuous updating is set to false. Robert Osfield 2006-10-30 12:19:41 +00:00
  • c5c4c5da1d From Edgar Ellis, " method may not take the node into consideration when computing its bound. Robert Osfield 2006-10-30 12:14:00 +00:00
  • a48a4aa7d3 From Michael Henheffer, "Bug: The reader would crash when trying to load a .tif image that contained an 8-bit color map. The crash occured at line 545: Robert Osfield 2006-10-30 12:05:56 +00:00
  • 321215c6ec From Mathieu Marache, fixed osgsimpleviewerQt4 so that it uses the correction options Robert Osfield 2006-10-30 11:55:02 +00:00
  • b4135398da Added handling of geometry indices offset when merging geometries with indices Robert Osfield 2006-10-30 11:00:25 +00:00
  • 358b96e953 Added osgUtil::IntersectorGroup to handle groups of osgUtil::Intersectors Robert Osfield 2006-10-27 15:11:17 +00:00
  • 0fe424996d From Andrew Lorino and Robert Osfield, Improvements to the handling of texture paths Robert Osfield 2006-10-26 16:52:10 +00:00
  • ce3929fd5f Added beginings of new osgUtil::IntersectionVisitor and osgintersection class Robert Osfield 2006-10-26 16:03:17 +00:00
  • d5aaa6e530 Updatd wrappers Robert Osfield 2006-10-26 16:02:38 +00:00
  • 44a77dda7c Tweaked doxygen docs. Robert Osfield 2006-10-24 16:24:24 +00:00
  • c892fafa1c Updated wrappers Robert Osfield 2006-10-24 09:45:50 +00:00
  • 85dc696c09 Added FadeText::setFadeSpeed and made internal data structures protected. Robert Osfield 2006-10-24 09:06:28 +00:00
  • 648455da34 Changed the dependency list to use -losg -losgDB instead of OSG_LIBS Robert Osfield 2006-10-23 15:29:59 +00:00
  • 8544337aca Fixed OSX x86 endian issue in Quicktime movie plugin. Robert Osfield 2006-10-21 21:06:27 +00:00
  • f3b71fc2ac From David Callu: Robert Osfield 2006-10-17 15:17:06 +00:00
  • 763c25a1ed Changed name osg osgshadow example.dsp to avoid MS conflicts Robert Osfield 2006-10-17 12:29:07 +00:00
  • a24eb4f9ef Added osgshadow example Robert Osfield 2006-10-17 11:28:34 +00:00