Commit Graph

  • dc8657f57f Clean up placementtrans a bit. frohlich 2009-03-24 08:12:58 +00:00
  • 9d647b90e0 Zap aliasing compiler warnings. frohlich 2009-03-24 08:11:36 +00:00
  • f5730c950b Remove second, identical to the first one license header. frohlich 2009-03-24 08:10:47 +00:00
  • 15d37daebd Remove unused header. frohlich 2009-03-24 08:09:34 +00:00
  • 795c9876af Make it compile with gcc-4.4. frohlich 2009-03-24 08:09:16 +00:00
  • 45f653167d Make use of optimized matrix multiplication routines in osg. frohlich 2009-03-24 08:03:15 +00:00
  • 403d9b6ac1 No longer change the material properties for ac models on the fly. frohlich 2009-03-19 07:58:32 +00:00
  • 722af5f659 Cleanup. Use already structured data instead of copying stuff. frohlich 2009-03-17 12:25:26 +00:00
  • 471b9f02ec Add const accessors. frohlich 2009-03-17 12:23:15 +00:00
  • fd294b6f98 Make sure the boundingvolumes for the btg files are as high as possible in the scenegraph. frohlich 2009-03-15 15:06:19 +00:00
  • 88baaa72be Use triangle sphere intersection directly. frohlich 2009-03-15 12:56:02 +00:00
  • 61084cf1ba Make triangle sphere intersection tests usable with mixes types. frohlich 2009-03-15 12:50:24 +00:00
  • 5b63f0755a Preparations for improoved timing behaviour. frohlich 2009-03-15 11:03:37 +00:00
  • 9eb5cf6c98 Add a reference time to the velocity stuff. frohlich 2009-03-14 12:26:30 +00:00
  • 679db5a22b The chunked stuff is no longer needed for the ground tiles. frohlich 2009-03-14 11:08:43 +00:00
  • 0e35168bdb Also align the ocean tiles with some horizontal axis. This way the bounding boxes for this geometry is slightly smaller. Helps ground intersection stuff to avoid the ocean triangles earlier. frohlich 2009-03-14 11:00:40 +00:00
  • 035dcc7ab7 Improove bounding volume building in the scenery loading process. Refactor common code in the BoundingVolumeBuildVisitor.hxx. frohlich 2009-03-14 09:17:00 +00:00
  • 252deed5b9 Make the debug geometry stuff work with a time argument. frohlich 2009-03-14 09:16:06 +00:00
  • c2c4cad753 Compile under windows fredb 2009-03-13 07:33:38 +00:00
  • 42e76477cf Make sure each carrier gets its own valocity. frohlich 2009-03-13 05:45:11 +00:00
  • 1eade74e5a warning-- mfranz 2009-03-12 20:07:47 +00:00
  • f1f0fa0aa9 Make use of posix clocks if available. Have a more general timestamp implementation. Very useful for higher accuracy timings. frohlich 2009-03-12 18:34:07 +00:00
  • deef158822 Use a reference counted pointer for the condition. frohlich 2009-03-11 05:34:02 +00:00
  • fef2006663 Remove unused methods. frohlich 2009-03-10 19:23:19 +00:00
  • 5c97fd576a Make local functions static. frohlich 2009-03-10 19:22:08 +00:00
  • c4eb6b7b65 Remove unused functions/includes ... frohlich 2009-03-10 19:20:44 +00:00
  • 31324761cc Zap SGLocation. frohlich 2009-03-07 21:47:22 +00:00
  • e495f03ee9 Ignore winding order since it is ignored later anyway. Only emit fully defined primitives. frohlich 2009-03-07 21:45:14 +00:00
  • f5769627e4 Use SGGeod in the model placement. frohlich 2009-03-07 11:11:52 +00:00
  • 06ad73f85b Add convenience function to keep position with just an other elevation. frohlich 2009-03-07 11:10:57 +00:00
  • fa20363853 First step for something doing static friction stuff. frohlich 2009-03-05 06:06:02 +00:00
  • 2564432e71 Avoid duplicate triangles. frohlich 2009-03-03 08:25:19 +00:00
  • addf47600d Remove the StaticLeaf visitor slot. Add a nearest point visitor. frohlich 2009-03-02 18:02:50 +00:00
  • 7f534a7966 Crude hack to work around my today introduced collision tree sharing problem. frohlich 2009-03-01 21:31:18 +00:00
  • eabffece1f Don't waste space with too huge stl containers. frohlich 2009-03-01 21:25:48 +00:00
  • afed842ad1 Don't waste space with too huge stl containers. frohlich 2009-03-01 21:25:14 +00:00
  • c46cfb5d47 Win32 fix fredb 2009-03-01 15:50:45 +00:00
  • 34fe42bbd9 Build boundingvolumes in the model loading phase. frohlich 2009-03-01 15:40:22 +00:00
  • 0c1d96b749 Update MSVC 7.1 projects - Add the BVH library fredb 2009-03-01 12:50:39 +00:00
  • 9b67f52d56 SGMatrix<T>::preMultTranslate should return self ( as postMultTranslate do ) fredb 2009-03-01 12:49:52 +00:00
  • d37907d35d BVHLineSegmentVisitor::setLineSegmentEnd doesn't return anything fredb 2009-03-01 12:48:15 +00:00
  • fee8d0cf78 Implement setters for velocity notes in the model placement code. frohlich 2009-03-01 12:40:50 +00:00
  • f5f9c6b81f More data to attach to the user data field. frohlich 2009-03-01 12:37:50 +00:00
  • 4e3460a34b Include the bounding volume tree on the build system. frohlich 2009-03-01 12:36:54 +00:00
  • 8545b6ce6b Initial commit of the bounding volume tree implementation. The aim is to prove a better collion model in plenty ways. frohlich 2009-03-01 12:35:49 +00:00
  • e417903c23 Additions for the boundingvolumes Modified Files: SGGeometryTest.cxx SGIntersect.hxx SGLineSegment.hxx SGTriangle.hxx frohlich 2009-03-01 12:22:56 +00:00
  • 81eae3fa48 Rotate the scenery tiles so that the horizont is axis aligned. This might help culling and much more the upcomming collision tree. frohlich 2009-02-27 19:59:47 +00:00
  • 90c58087e8 Make material get helper function static. frohlich 2009-02-27 19:30:28 +00:00
  • 19bc1e6313 Initialize random number for the tests. Define the triangles center by the weighted sum of the vertices. frohlich 2009-02-27 18:52:53 +00:00
  • 4a4e8c87b8 Use template arguments instead of hard coded double. frohlich 2009-02-27 06:05:36 +00:00
  • f04e559dc2 Initialize uninitialized variables. Adapt the precision bounds to what matches the expectations of IEEE math. frohlich 2009-02-27 05:18:31 +00:00
  • 8e5e657344 Fix problem in unit quaternion return. frohlich 2009-02-27 05:16:52 +00:00
  • a4f1f62068 Make make check link again. frohlich 2009-02-27 05:16:12 +00:00
  • a3e279f06f The scenery center is history for a long time now. Remove that from the transforms. frohlich 2009-02-22 09:15:44 +00:00
  • d11954e80c Small cleanups, bug fixes and improovements to the geometry/math stuff. frohlich 2009-02-22 08:13:24 +00:00
  • 812170ebce Torsten Dreyer: the rotate animation has two ways to define a axis 1. by using center/x-m and axis/[xyz] 2. by using axis/[xyz]1-m and axis/[xyz]2-m durk 2009-02-21 09:11:41 +00:00
  • fdd3c77298 Fix to compile with MSC fredb 2009-02-19 20:41:36 +00:00
  • 342de209a2 Merge branch 'topic/nasal' into next Tim Moore 2009-02-16 00:48:00 +01:00
  • caeb32488e "io.flush() implementation from Melchior. Also add a final filetype element to the io.stat() array, which has been sitting around on my box for a while and doesn't seem to have broken anything." -- Andy mfranz 2009-02-15 16:54:39 +00:00
  • ff7e70f4d5 Merge branch 'topic/gcintersect' into next Tim Moore 2009-02-13 10:07:15 +01:00
  • 950f51909c New getPrimitive function. Tim Moore 2009-02-13 09:35:50 +01:00
  • f86e6d344c Make SGSubsystemGroup::Member copy constructor private. Tim Moore 2009-02-07 00:37:47 +01:00
  • 08581282dd Merge branch 'topic/cloudz' into next Tim Moore 2009-02-06 19:16:19 +01:00
  • e1e47e76ec Turn off z buffer writes for clouds. Tim Moore 2009-02-06 17:47:55 +01:00
  • 3ff059848c Update MSVC 7.1 projects - Remove pthreads dependency fredb 2009-01-25 11:53:35 +00:00
  • 22c7df5936 Merge branch 'maint' into next Tim Moore 2009-02-04 11:03:20 +01:00
  • 81a44d1340 Merge branch 'releng/1.9.1' into maint Tim Moore 2009-02-04 11:02:30 +01:00
  • 2c089e6166 Synchronize the version number with our mainantance release. simgear-1.9.1 durk 2009-02-02 05:34:13 +00:00
  • 589dae7b0c Build trees under a transform note that is rotated to Z-up. Tim Moore 2009-01-30 10:37:06 +01:00
  • 3ff13189aa Don't expand all the trees into display lists. Tim Moore 2009-01-29 07:22:42 +01:00
  • 7151c3fac1 Merge branch 'topic/yontree' into next Tim Moore 2009-01-28 07:53:38 +01:00
  • 3e023b77dd Merge branch 'maint' into next Tim Moore 2009-01-28 07:53:31 +01:00
  • e3fc89890c For the first time (no pun intended) in almost ten years time (again no pun intended) that I'm touching the time library. durk 2009-01-27 22:43:13 +00:00
  • ce2a6cfe5c Csaba HALASZ: set _arg even if there's no <command> (crash fix) mfranz 2009-01-26 18:01:48 +00:00
  • 31d9eaf54c Use osg::Geometry code to draw trees ourselves. Tim Moore 2009-01-28 07:43:09 +01:00
  • 781c445d14 Merge branch 'topic/modelopt' into next Tim Moore 2009-01-23 23:27:48 +01:00
  • 26a416399f Merge branch 'topic/yontree' into next Tim Moore 2009-01-23 23:27:37 +01:00
  • f7dc7f039e QuadTreeBuilder: create leaves on demand Tim Moore 2009-01-23 14:36:53 +01:00
  • 3c74fea087 Rewrite ShaderGeometry to use display lists and OSG primitives. Tim Moore 2009-01-21 22:20:03 +01:00
  • be0635bfd3 Optimize empty groups from .ac models Tim Moore 2009-01-23 15:22:40 +01:00
  • 6723ef95c2 Merge branch 'maint' into next Tim Moore 2009-01-19 00:13:07 +01:00
  • 1a8fd62680 Protect against division by zero in QuadTreeBuilder Tim Moore 2009-01-19 00:04:59 +01:00
  • 8b57ed46b1 Sort cloud sprites using std::sort, based on projected Z. Tim Moore 2009-01-16 00:37:40 +01:00
  • 25c08e56c2 Merge branch 'foo' into next Tim Moore 2009-01-15 22:52:11 +01:00
  • 0f148b6ab6 Fix linkage of test programs with OpenThreads. jmt 2009-01-15 14:46:37 +00:00
  • 47575fe357 Commit Benoit Laniel's patch which converts more SimGear pieces to use OpenThreads primitives directly. jmt 2009-01-15 14:34:33 +00:00
  • 7c14453b5a Since we're now sure 1.9.1 will not be released from trunk, here's Yon Uriarte's patch to convert SGReferenced over to OpenThread's atomic int. jmt 2009-01-15 14:31:51 +00:00
  • a47d5536fa Merge branch 'maint' into next Tim Moore 2009-01-14 22:34:20 +01:00
  • db8f7f21e8 Remove OptionsPusher and manipulation of osgDB dataFilePathList. Tim Moore 2009-01-14 22:13:12 +01:00
  • 3c312c55f1 Merge branch 'maint' into next Tim Moore 2009-01-14 12:13:44 +01:00
  • 2d11419cba SGPropertyNode must increment / decrement the reference counter in an aliased node. Tim Moore 2009-01-14 12:10:23 +01:00
  • 07a4508944 Merge branch 'topic/mat-anim' into next Tim Moore 2009-01-13 22:58:45 +01:00
  • 62913739bb Merge branch 'maint' into next Tim Moore 2009-01-13 22:52:19 +01:00
  • 55e9d8d944 SGMaterialAnimation: Don't install an update callback if values are static Tim Moore 2009-01-13 14:10:15 +01:00
  • a9439d58c7 SGMaterialAnimation: factor out update of osg::Material Tim Moore 2009-01-13 12:50:47 +01:00
  • 800ad40c4c Csaba/Jester : fix the material animation and display night textures fredb 2009-01-13 07:49:14 +00:00
  • 62864637a3 Merge branch 'maint' into next Tim Moore 2009-01-12 13:14:31 +01:00
  • 4d4ac7ea24 fix end of file fredb 2009-01-10 18:53:50 +00:00
  • 119651482d ignore generated files fredb 2009-01-10 16:12:50 +00:00
  • ecf0a1a736 Fix include path timoore 2008-12-27 08:16:03 +00:00