Commit Graph

37 Commits (8485bff29b98f47954b78b31b2e0511f94de3be4)

Author SHA1 Message Date
Kadah 649318c478 fix DOS line endings (and a whitespace diff) 2011-04-22 17:20:57 -07:00
Loren Shih d1b0b745f8 SH-1381 FIXED Avatar Physics behavior is tightly tied to viewer framerate
Changed range of gain; previous range was too small.
2011-04-21 20:30:38 -04:00
Loren Shih 44c13f9d64 SH-1381 Avatar Physics behavior is tightly tied to viewer framerate
Changed physics algorithm to perform integration over several steps if framerate is slow.
Fixed a fundamental issue in the algorithm where timestep wasn't being used to calculate velocity changes.
Had to change around some parameter ranges since the physics are calculated slightly differently now.
2011-04-21 19:49:03 -04:00
Loren Shih 8bc118c934 SH-1381 FIXED avatar physics behavior is tightly tied to viewer framerate
Breaking up physics into smaller integration steps.
2011-04-20 12:37:44 -04:00
Loren Shih b06a02a9ed SH-1384 FIXED AvatarPhysicsTest debug setting does not work
Took out setting, no longer needed.  Was formely restricted to gods.
2011-04-20 11:30:00 -04:00
Kadah 50c9b45e99 automated merge seraph-viewer-pre-beta > firestorm 2011-04-22 17:12:21 -07:00
Loren Shih 4bdcb215f6 cosmetic variable name change 2011-04-20 10:42:58 -04:00
Loren Shih 8c7e87a86c SH-1364 FIXED Avatar Physics are not updating smoothly even for high-performance machines.
"high" graphics settings now give 100% updates, versus 90%.
Changed a simple constant that was acting as a threshold for when physics should be updated (the constant was set way too high, meaning that updates were being skipped).
2011-04-13 15:23:11 -04:00
Loren Shih 4cd4665ea0 SH-1365 FIXED Avatar Physics don't behave well for less than 100% max effect
This change looks more complicated than it actually is.  I basically turned max effect into a scaling parameter, versus a clamping parameter.  Piece of cake, just moved some code around and made minor logic changes.
2011-04-13 15:21:16 -04:00
Loren Shih 0cc7d4e0e3 SH-1329 FIXED Physics are "twitchy" for high-FPS machines
Fixed bug that was messing up time slices for physics.
2011-04-13 15:13:10 -04:00
Loren Shih 7467507e69 SH-1365 FIXED Avatar Physics don't behave well for less than 100% max effect
This change looks more complicated than it actually is.  I basically turned max effect into a scaling parameter, versus a clamping parameter.  Piece of cake, just moved some code around and made minor logic changes.
2011-04-13 15:21:16 -04:00
Oz Linden 40a0e6fd2c fix incorrect license headers 2011-04-09 21:57:01 -04:00
Loren Shih c60be7adf2 SH-1319 fix missing include 2011-04-07 13:23:01 -04:00
Oz Linden f532b18953 SH-1319: Fix for disappearing torso sections on avatars 2011-04-07 12:55:12 -04:00
Seraph Linden 750bd70f99 Added duplicate morph to handle breast bounce/clap. Took out unused params in llphysicsmotion.cpp. 2011-04-03 21:16:34 -04:00
Seraph Linden f4acefa3cb Fix for butt gravity direction.
Added more displacement range for butt leftright.
2011-04-03 18:09:38 -04:00
Seraph Linden df7e88d9f4 Minor fixes. 2011-04-03 17:46:56 -04:00
Seraph Linden 557bd29249 Fix for compile error. 2011-04-03 17:27:11 -04:00
Seraph Linden 555151740c Changed _driven params to cross wearables; major fix so they wouldn't keep getting reset to default values from wearable.
Took out smoothing param.
Redefined maxeffect param to affect range of motion.
2011-04-03 17:25:17 -04:00
Seraph Linden c49e457d5f Changed Max Velocity param name to Max Effect 2011-04-03 13:59:19 -04:00
Seraph Linden c287a89d54 Added breast sway (left-right). 2011-04-03 13:56:55 -04:00
Seraph Linden a0ca2c825d Moved Drag to be a general shape physics param, to save on number of transmitted params. 2011-04-02 18:36:49 -04:00
Loren Shih 787d09b73c Tweaking of avatar physics detail slider. 2011-03-31 15:56:33 -04:00
Loren Shih b578707362 Simple fix for out-of-bounds parameter issues. 2011-03-31 15:41:01 -04:00
Loren Shih 5d8d3ce3bb Change in physics parameter names.
Split some physics parameters into separate accordions based on updown/leftright.
Fixed a minor issue with physics edit tab height.
2011-03-30 23:17:58 -04:00
Loren Shih cdfe946d9c Cleanup to logically group physics params in avatar_lad.xml.
Added more controls for belly & butt.
Cleaned up code around physics parameter initialization.
2011-03-30 19:28:03 -04:00
Loren Shih 4773f49afb A bit of rearchitecture so that we can have edit wearables that don't have associated snapshots. Needed to support physics wearables, which don't use a snapshot. 2011-03-29 20:57:17 -04:00
Loren Shih 73e39abfc7 Velocity now gets zeroed out if the param is pushed beyond limits.
Rescaled the max speed param.
2011-03-21 15:39:42 -04:00
Loren Shih 07cc4b2478 Fixes for physics update thresholds. 2011-03-21 14:15:41 -04:00
Loren Shih 3524b112bd Added left-right butt control.
Did a bunch of code cleanup.
2011-03-21 12:04:31 -04:00
Loren Shih 00e98c2c12 Added more belly bounce. Added butt driver param back in. 2011-03-18 18:59:59 -04:00
Loren Shih e82e56b902 Set default parameters.
Renamed various parameters.
2011-03-18 18:02:27 -04:00
Loren Shih adc942e090 Variety of fixes for param ranges.
Turned off normal/binormal effects for morphing.
Fixed issue where updates were always being sent even if below the change threshold.
2011-03-18 16:04:28 -04:00
Loren Shih 5dd2f3a29b Some code cleanup. Changed equations to occur in normalized (0,1) space instead of parameter space. 2011-03-18 14:54:30 -04:00
Loren Shih 78dd8f669c Comments. 2011-03-18 10:31:38 -04:00
Loren Shih d5b2f0f20a Enabling for belly vertical motion. 2011-03-18 10:16:03 -04:00
Loren Shih fdb7a48ade Work in progress. Big code cleanup ported from TheShining/avatar-physics (defunct branch).
Added butt and belly.
2011-03-17 17:36:01 -04:00