Andrew Meadows
f126ce299a
ContactPoint = set of assymetric distance consraints
2014-08-04 17:34:24 -07:00
Andrew Meadows
4beee3fecf
add Shape::getVerletPoints()
2014-08-04 17:33:24 -07:00
Andrew Meadows
d1b2ba4a43
fix bug: false positive capsuleCapsule() collision
...
for capsules with parallel axes and negative pojection of
center-to-center separation
also replace fabs() with fabsf()
2014-08-04 17:30:23 -07:00
Andrew Meadows
1ec6ee05f3
Rename ContactConstraint to ContactPoint
2014-08-01 15:08:21 -07:00
Andrew Meadows
3305f5edf9
merge upstream/master into andrew/ragdoll
2014-08-01 11:13:18 -07:00
Andrew Meadows
789eeed760
limit action of ContactConstraint to penetration
2014-08-01 11:11:41 -07:00
Andrew Meadows
9d2744296e
update physics stats names
2014-07-31 13:33:46 -07:00
Andrew Meadows
fc1d805d54
add ContactConstraint and use to impede muscles
2014-07-31 13:16:06 -07:00
Andrew Meadows
0f82236f2c
minor cleanup
2014-07-31 13:09:10 -07:00
Andrew Meadows
0b9f246661
set the shape ID in the ctor's NOT the dtor
2014-07-31 13:08:27 -07:00
Brad Hefta-Gaub
d4d4069f11
Merge pull request #3225 from birarda/master
...
cmake file cleanup to suppress warnings on cmake 3.0
2014-07-30 19:20:18 -07:00
Brad Hefta-Gaub
d6e6cfd585
Merge pull request #3216 from wangyix/inbound_audio_stream
...
Audio ringbuffer classes refactored into subclasses of InboundAudioStream
2014-07-30 18:00:17 -07:00
Stephen Birarda
2796f71419
library cleanup to suppress warnings on cmake 3.0
2014-07-30 15:06:15 -07:00
Andrew Meadows
f579d2a0e2
add CollisionInfo::getShapePairKey()
2014-07-30 13:11:45 -07:00
Andrew Meadows
176d8d157d
remove unused Constraint::_type
2014-07-30 13:07:32 -07:00
Andrew Meadows
7b76753daf
add PhysicsSimulation::_frame
2014-07-30 11:45:53 -07:00
Andrew Meadows
c0689f3784
fix old bug: rotation of CapsuleShape not updated
...
when setting endpoints directly
2014-07-30 11:30:08 -07:00
Andrew Meadows
53db6dec13
fix old copy-n-paste typo
2014-07-30 11:29:43 -07:00
Andrew Meadows
917833d92a
namechange for Shape::_id
2014-07-30 11:29:07 -07:00
Andrew Meadows
dde0cbddcc
add Shape::_id
2014-07-30 11:09:19 -07:00
Andrew Meadows
81ba686fdf
more perfstats for ragdoll simulation
2014-07-30 11:02:47 -07:00
Andrew Meadows
67b9c185eb
formatting and minor tweaks to constraint strengths
2014-07-29 16:48:34 -07:00
wangyix
71c23eac1e
added TimeWeightedAvg to InboundAudioStream
...
_maxFramesOverDesired hardcoded right now
2014-07-29 13:51:46 -07:00
Atlante45
03031c4c04
Outdated link
2014-07-28 16:36:12 -07:00
wangyix
9bbd055404
added stdev method of jitter calc to InboundAudioStream
2014-07-28 11:41:08 -07:00
Andrew Meadows
60612f6397
implement VerletPoint::integrateForward()
2014-07-25 15:23:12 -07:00
Andrew Meadows
b2c2cfec79
implement base Ragdoll::stepRagdollForward()
2014-07-25 15:22:25 -07:00
Andrew Meadows
2ddca4fbf9
split independent classes out of Ragdoll files
2014-07-24 09:50:16 -07:00
Andrew Meadows
b62f04e9fe
check for nan's coming out of rotationBetween()
2014-07-23 16:51:53 -07:00
Andrew Meadows
c0e02107c5
minor cleanup
2014-07-23 16:51:26 -07:00
Philip Rosedale
1b265f3adb
Merge pull request #3180 from AndrewMeadows/ragdoll
...
Ragdoll Part4: ragdoll shapes follow target joints, visible joints follow ragdoll shapes
2014-07-17 16:00:02 -07:00
Brad Hefta-Gaub
437e3efbc2
Merge pull request #3179 from wangyix/quick_audio_PR
...
Lost audio packets are replaced with silent frames in AudioMixer; AudioMixer silent-packet-dropping now enabled no matter what; Moving avg of audio frames available replaces _currentJitterBufferFrames
2014-07-17 11:44:05 -07:00
Andrew Meadows
b22652f441
merge upstream/master into andrew/ragdoll
2014-07-17 10:52:27 -07:00
Andrew Meadows
66158cb8a2
fix capsule-vs-capule collision test
2014-07-17 09:19:17 -07:00
wangyix
6764ace8eb
droppable silent packets are added for dropped packets;
...
_currentJitterBufferFrames replaced with moving average of frames
available. Downstream framesAvailable stat now includes the frames in
QAudioOutput as well as the ringbuffer.
2014-07-16 14:41:24 -07:00
Andrew Meadows
922912b784
merge upstream/master into andrew/ragdoll
...
Conflicts:
interface/src/Menu.h
2014-07-16 09:00:36 -07:00
Andrzej Kapolka
469e31cc05
Script bindings for QColor.
2014-07-15 16:44:02 -07:00
wangyix
1047ec7c87
merge with upstream
2014-07-14 16:25:26 -07:00
Aleric Inglewood
935f28aa35
Type fix. That that even compiled :/
2014-07-14 21:18:37 +02:00
wangyix
cb5a9bf668
moved some const defs to avoid redefinition
2014-07-14 10:43:02 -07:00
Aleric Inglewood
13c2c69d06
Fix another typo in previous commit
2014-07-13 20:54:27 +02:00
Aleric Inglewood
ea98b58b40
Debug support: allow printing of glm types to QDebug.
...
This adds support for serialization to QDebug of
glm::vec3, glm::quat and glm::mat4.
Output example:
qDebug().nospace() << "Calling PhysicsEntity::findRayIntersection(" << origin << ", " << direction << ", &distance) const; numShapes = " << numShapes;
leads to:
[2014-07-13T20:24:47] Calling PhysicsEntity::findRayIntersection({type='glm::vec3', x=5222.45, y=2159.05, z=6527.79}, {type='glm::vec3', x=0, y=-0.119145, z=-0.992877}, &distance) const; numShapes = 0
Note that we explicitly don't return dbg.space() because
we want to be able to print these things comma separated
as follows: {...}, {...}, ... as opposed to {...} , {...} etc.
I changed the already existing operator<< for Box to
the more general case, where it just prints its members
and doesn't mess with the internals of its members.
The result is more verbose, but also more recognizable when
in the future everything will look the same, allowing
for speed reading the debug output.
The constructor of Box needed to made explicit because
it was too annoying that when one forgets to #include "StreamUtils.h"
that writing a glm::vec3 resulted in printing out a Box,
implicitly converted from the vector.
2014-07-13 20:43:02 +02:00
wangyix
82e9aa8bb7
made stats easier to read; reverted injected stream deletion conditions
2014-07-11 16:08:15 -07:00
Andrew Meadows
c5a5f8c5d4
bug fix: bad logic in capsule-vs-capsule
2014-07-11 10:54:16 -07:00
Andrew Meadows
7c8f5e2c12
Remove some old TODO comments
2014-07-11 10:54:03 -07:00
wangyix
25f4f63a1e
added window PacketStreamStats to AudioStreamStats
2014-07-10 16:42:23 -07:00
wangyix
35419eb939
Merge remote-tracking branch 'upstream/master' into quick_audio_PR
2014-07-10 11:56:35 -07:00
wangyix
a955a17472
changed RingBufferHistory to use qvector instead of raw array
2014-07-10 11:55:19 -07:00
wangyix
0b213f9616
streamlined AudioStreamStats packing; added #include <limits>
2014-07-10 10:44:33 -07:00
wangyix
35e4b253c2
added typename keyword in MovingMinMaxAvg.h
2014-07-10 10:35:29 -07:00