Commit Graph

  • d3f5bc6e2d Changed SGRawValue::DefaultValue to an inline function. Tim Moore 2009-07-17 11:40:36 +02:00
  • f525a05be8 Use SGAtomic's compareAndExchange instead of a new SGSwappable class Tim Moore 2009-07-17 00:29:48 +02:00
  • fc7ec4299e include file change to make simgear work with OSG 2.9.X again Tim Moore 2009-07-16 23:09:10 +02:00
  • 21d053b1b6 Fix effects code to work with OSG 2.8.2-rc4 Tim Moore 2009-07-16 18:25:36 +02:00
  • 68e64a5aa7 Use std::back_inserter instead of my local hack Tim Moore 2009-07-16 12:53:11 +02:00
  • 8e718fe288 Add new Effects files to vcproj timoore 2009-07-15 23:12:25 +00:00
  • efec9070e1 Fixes for technique predicates timoore 2009-07-15 23:11:55 +00:00
  • e3646d4d4a more effects features timoore 2009-07-15 23:11:44 +00:00
  • 4219f16f61 Construct effects from property lists timoore 2009-07-15 23:10:44 +00:00
  • c3b1802e95 materials use only simgear::Effect timoore 2009-07-15 23:10:32 +00:00
  • 40fe078021 Use Effect to implement point lights timoore 2009-07-15 23:10:21 +00:00
  • a5a6600e74 Use SGExpressions for evaluating a Technique's validity timoore 2009-07-15 23:10:13 +00:00
  • 03b9303f22 Overhaul of SGExpression timoore 2009-07-15 23:10:06 +00:00
  • b5a59ea6f9 Work in progress for Technique validation timoore 2009-07-15 23:09:58 +00:00
  • c6b2124129 Use Effects in materials library, and therefore in scenery timoore 2009-07-15 23:09:31 +00:00
  • d320a6facb Effects framework timoore 2009-07-15 23:09:19 +00:00
  • 0793c2cb8c Blow away unused SGMaterialLib::add_item functions timoore 2009-07-15 23:08:42 +00:00
  • d14755abb8 cleanup timoore 2009-07-15 23:08:36 +00:00
  • abd4aa2e6b Add PropertyList typedef for vectors of property list nodes. timoore 2009-07-15 23:08:30 +00:00
  • 58417e78e5 Add a method to setStringValue that takes a std::string argument timoore 2009-07-15 23:08:22 +00:00
  • 390eb1c6e9 Don't cache results of getDisplayName timoore 2009-07-15 23:08:10 +00:00
  • d4c6530a72 Add VEC3D and VEC4D property types timoore 2009-07-15 23:08:01 +00:00
  • ff17b44a41 Extend properties to support new property types. timoore 2009-07-15 23:07:53 +00:00
  • 5bd2d47571 Cleanup of properties timoore 2009-07-15 23:07:45 +00:00
  • f8e475cd34 Refactor GLX only debug code fredb 2009-07-12 17:48:49 +00:00
  • a05e063949 Compile when not GLX fredb 2009-07-06 22:58:09 +00:00
  • eb06a90109 Geoff McLane: add a bunch of debugging code to find a persistant bug for Atlas/Map and fix them one by one. ehofman 2009-07-02 14:01:38 +00:00
  • e2f6632fee Support MSVC 64-bit architecture fredb 2009-06-28 22:20:22 +00:00
  • 5c5c583dcc Add MSVC90 (VS2008) project files fredb 2009-06-28 20:27:15 +00:00
  • 0d8d5c02d0 Update MSVC 7.1 projects - Put PLIB and FLTK in 3rdParty fredb 2009-06-28 13:34:31 +00:00
  • 382e0c6ad2 Remove unneeded explicit scenegraph deletion. frohlich 2009-06-28 09:19:04 +00:00
  • a8d1c44408 Remove unmaintained, outdated and misleading project files. Use VC7.1 projects instead fredb 2009-06-27 21:45:25 +00:00
  • 78b4318c34 Suppress warnings fredb 2009-06-27 07:41:33 +00:00
  • b47031a099 Win32 fix fredb 2009-06-27 06:41:08 +00:00
  • 0f7b65a921 Provide a thread safe SGWeakPtr implementation. Extend SGAtomic with atomic exchange and add. Import updates from the original implementation of that in OpenFDM. frohlich 2009-06-24 05:19:52 +00:00
  • 33f7903aeb Update MSVC 7.1 projects fredb 2009-06-23 20:35:41 +00:00
  • f3c2740917 Win32 fix fredb 2009-06-23 20:35:17 +00:00
  • 09a57c7a52 No observed_ptr needed. frohlich 2009-06-23 20:34:46 +00:00
  • 9068f0606e Remove unused headers. frohlich 2009-06-23 20:26:57 +00:00
  • c577b7e369 Propagate the lanel loader through the options. frohlich 2009-06-23 20:26:26 +00:00
  • 5850464ba7 Move the carrier interactive geometry configuration into the model files. frohlich 2009-06-22 18:39:44 +00:00
  • 50e240d5e4 Move the texture code to FlightGear/utils/Modeller ehofman 2009-06-22 09:35:12 +00:00
  • 75c2a45b25 Add some trailing spaces ... frohlich 2009-06-20 11:11:48 +00:00
  • c958d63897 Fix a warning from GCC - 'ALIAS' was unhandled in the switch stmt. jmt 2009-06-20 09:33:44 +00:00
  • b633b8d0d3 change MAX_PATH to max_path to avoid Windows compilation problems Tim Moore 2009-06-17 11:37:21 +02:00
  • 76948416a9 overhaul sg_throwable to behave like a proper exception Tim Moore 2009-03-04 11:15:47 +01:00
  • f4a527c57c Add a simple class to subdivide Bezier curves fredb 2009-06-14 10:56:28 +00:00
  • c491baff0e Remove unused variable fredb 2009-06-14 10:53:09 +00:00
  • 6d05fc6f57 Finally get rid of that member in the SGModelData callback. Move call of SGModelData::modelLoaded directly into the xml reader. frohlich 2009-06-11 18:53:19 +00:00
  • ca53add820 Mark static transforms as static. frohlich 2009-06-11 18:32:46 +00:00
  • 6fe3099ab4 Revert a change from 2009/06/07. Should make the Nasal code for some xml models work again. frohlich 2009-06-11 13:39:52 +00:00
  • a34eceb327 Also handle PagedLOD nodes frame count in the update visitor. frohlich 2009-06-11 08:42:44 +00:00
  • c9042c3186 Also test against bounds when updating the scene. frohlich 2009-06-11 07:15:07 +00:00
  • b46fe0d51c Fix waypoint test, thanks Martin. jmt 2009-06-10 22:46:15 +00:00
  • 6d1d3173fe Extend SGWaypoint with track and speed data, and compute tracks with the distance in SGRoute. jmt 2009-06-10 12:42:44 +00:00
  • 030d044d03 Win32 fix fredb 2009-06-09 20:51:24 +00:00
  • 29fb8e0f74 Fix bad interaction between CourseAndDistance overloads and use of implicit SGWaypoint construction from SGGeod. jmt 2009-06-09 00:01:14 +00:00
  • 6e326976d5 Update route/waypoint tests for revised API jmt 2009-06-08 23:30:54 +00:00
  • 03a7d72a62 Change SGWaypoint to use SGGeod internally. Remove some unused code, to support cartesian waypoints and compute distance off a cartesian route. Add a helper to access the total route distance. jmt 2009-06-08 23:18:39 +00:00
  • f913febd71 More cleanup. frohlich 2009-06-07 11:58:11 +00:00
  • daa0fbdc6b Do not modify danymically generated textures. frohlich 2009-06-07 11:50:01 +00:00
  • d4c52b599d Provide something more sensible for the properties root for the modelLoaded call. MAy be this needs to be revisited, but in any case better than constant zero. frohlich 2009-06-07 11:30:12 +00:00
  • ec88373eb7 Cleanup. frohlich 2009-06-07 11:27:53 +00:00
  • 4286cafdeb Doing the compilers job: constant propagation. This variable is nowhere set except to zero. frohlich 2009-06-07 11:26:48 +00:00
  • 3880d8e2f2 Slight cleanup. Remive last reference to plibs file utility library. frohlich 2009-06-06 10:38:53 +00:00
  • 671c84ad44 Remove unused header. frohlich 2009-06-06 09:17:37 +00:00
  • a0d687bb24 Use osgDB::FileUtils instead of plib file utils. frohlich 2009-06-06 09:16:04 +00:00
  • 704385ff0a Replace SGPlacementTrans usage with osg::PositionAttitueTransform. Remove SGPlacementTrans. Update build system. frohlich 2009-06-06 08:07:20 +00:00
  • 81a657edec Use osg's builtin mechanisms to traverse only in range nodes with the update visitor. frohlich 2009-06-06 07:24:26 +00:00
  • 9d0bad29c0 Invent a property root if not given in the options struct. frohlich 2009-06-03 19:30:35 +00:00
  • 2fb8e32104 test for addChild also ehofman 2009-05-25 11:12:59 +00:00
  • c522e499b2 find the last index instead of the last pos for addChild ehofman 2009-05-25 11:12:24 +00:00
  • 4700955480 Avoid empty search path extensions for the case that only the bucket index number is given. frohlich 2009-05-25 04:59:51 +00:00
  • 2c66081fa4 When loading stg files honour the original path if given. frohlich 2009-05-24 06:38:58 +00:00
  • 855e88da43 Enable stg loading by filename. frohlich 2009-05-23 12:00:17 +00:00
  • ad302db9a8 segfault-- mfranz 2009-05-23 07:32:29 +00:00
  • bfa5fff500 Cleanup. Additional null pointer checks. Simplify redundant interface arguments. frohlich 2009-05-22 18:20:11 +00:00
  • 01c64fd554 Give the models properties as an argument to the init callback. frohlich 2009-05-22 14:53:57 +00:00
  • 13a2b92a32 remove duplicated header entry mfranz 2009-05-19 21:29:13 +00:00
  • 29e79f8f61 Also note the btg reader header in the build system. frohlich 2009-05-19 05:30:59 +00:00
  • 8f7527ede0 Restore the special capability of the btg reader to read compressed files. frohlich 2009-05-19 05:30:16 +00:00
  • 7cd149a4d8 Implement current osgDB::ReaderWriters supportsExtension interface instead of the previous one. frohlich 2009-05-16 18:05:21 +00:00
  • e45912fd8a Attach the ModelData to the options instead of the userdata field. frohlich 2009-05-16 17:46:12 +00:00
  • 56c4ba67c6 * Add a function to create a node after the laste node with the same name (this frees the xml property loader from keeping track of the number of nodes with the same name that have already been added to the property tree). * make some small code cleanups at the core of the property tree. ehofman 2009-05-09 11:34:28 +00:00
  • 7e7ce2f38e Merge branch 'maint' into next Tim Moore 2009-05-18 00:34:06 +02:00
  • 7dc9eba2d0 Make SimGear compile with osg trunk frohlich 2009-05-16 08:13:52 +00:00
  • f91d96b51a - fix one broken #include path (in a not usually compiled test app) - turn four #include paths from the "foo" form to <foo> mfranz 2009-05-12 15:56:30 +00:00
  • bc19609147 tcpserver: typo mfranz 2009-05-06 16:17:05 +00:00
  • 1ccaf3a0bd fix leaks mfranz 2009-05-06 06:32:09 +00:00
  • 03bfd829da add a bit of comment ehofman 2009-04-25 09:57:06 +00:00
  • e1f7a1e0a0 Stuart Buchanan : This patch changes the shader so the diffuse light element is applied based on the co-linearity of the light vector and the viewing vector. I think this makes sense, as the tree textures don't represent a surface themselves. fredb 2009-04-18 18:47:01 +00:00
  • ceeac0ecf0 Revert most of the previous patch, it didn't improve the dome since it wat adjusting the wrong bads ehofman 2009-04-12 11:42:34 +00:00
  • c9d0eac739 Put some annotations into the loaded models names. frohlich 2009-04-12 09:46:36 +00:00
  • 8f24d924ee Remove a newline printf, probably left over from development. frohlich 2009-04-12 08:05:14 +00:00
  • 8537cc9edf Let the fog color transition into the sky dome to give a more natural effect ehofman 2009-04-11 12:27:05 +00:00
  • 58f3985567 Fix a NaN at higher altitudes: sin_beta could become greater than 1.0 which is hard to understand for asin. ehofman 2009-04-06 19:24:29 +00:00
  • 872db67f21 Remove unused variables. frohlich 2009-04-02 05:38:34 +00:00
  • 006f90997a Merge branch 'maint' into next Tim Moore 2009-03-31 00:04:30 +02:00
  • 26b4776394 fix wrong bucket calculation for western hemisphere, close to poles, full-degree-longitude calculations. set_bucket computed false left border, if the span was greater than 1, longitudes were less than zero and longitudes were within SG_EPSILON on a full degree. Example: -179.0, +87.5 returned -176, 87 but should return -180, 87. Discovered by Brian Schack torsten 2009-03-27 22:38:54 +00:00
  • 66c64459e6 Makes more sense to process the orientation in this order. frohlich 2009-03-24 09:09:00 +00:00