These are chat archives for highfidelity/hifi

13th
Jul 2014
AlericInglewood @AlericInglewood is going to fix /opt/highfidelity/hifi/hifi/libraries/particles/src/Particle.cpp:371:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /opt/highfidelity/hifi/hifi/libraries/particles/src/Particle.cpp:390:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /opt/highfidelity/hifi/hifi/libraries/particles/src/Particle.cpp:429:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /opt/highfidelity/hifi/hifi/libraries/particles/src/Particle.cpp:442:59: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /opt/highfidelity/hifi/hifi/libraries/particles/src/Particle.cpp:455:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /opt/highfidelity/hifi/hifi/libraries/particles/src/Particle.cpp:467:62: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /opt/highfidelity/hifi/hifi/libraries/particles/src/Particle.cpp:479:59: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /opt/highfidelity/hifi/hifi/libraries/particles/src/Particle.cpp:491:62: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /opt/highfidelity/hifi/hifi/libraries/particles/src/Particle.cpp:503:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /opt/highfidelity/hifi/hifi/libraries/particles/src/Particle.cpp:515:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /opt/highfidelity/hifi/hifi/libraries/particles/src/Particle.cpp:527:62: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /opt/highfidelity/hifi/hifi/libraries/particles/src/Particle.cpp:540:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /opt/highfidelity/hifi/hifi/libraries/particles/src/Particle.cpp:552:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /opt/highfidelity/hifi/hifi/libraries/particles/src/Particle.cpp:565:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /opt/highfidelity/hifi/hifi/libraries/particles/src/Particle.cpp:588:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /opt/highfidelity/hifi/hifi/libraries/particles/src/Particle.cpp:610:64: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /opt/highfidelity/hifi/hifi/libraries/particles/src/Particle.cpp:622:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Thijs Wenker
@thoys
Jul 13 2014 14:47
go for it :)
AlericInglewood
@AlericInglewood
Jul 13 2014 14:49
Heh - I just needed a quick clipboard and wanted to delete the message again (now).. only to find out you can't edit "/me" actions afterwards? :blush:
AlericInglewood
@AlericInglewood
Jul 13 2014 16:01
This is scary:
> mousePressEvent event.x,y = 841, 564
> mousePressEvent event.button = LEFT
> MyAvatar.position = <5222.44677734375, 2158.875732421875, 6526.9208984375>
> Clicked on voxel!
> 2.center = <5222.44677734375, 2158.961181640625, 6527>
> mouseReleaseEvent event.x,y=841, 564
Note that the X coordinate is exactly the same - I clicked with an 11+ digits precision on the same place as my avatar... Well, I clicked on pixel 841,564 .. I wonder why on earth that would lead to a position where my avatar is. Surely the avatars position is not related to my screen pixels? :\
AlericInglewood
@AlericInglewood
Jul 13 2014 16:09
Actually... that Z coordinate is equally strange, almost - it's an exact integer. But well, I can imagine something that would cause that with voxel surfaces :P
AlericInglewood
@AlericInglewood
Jul 13 2014 16:15

Ok, this thing seriously fails any randomness test, after just a few clicks...

> 2.center = <5222.44677734375, 2159, 6526.791015625>
> mouseReleaseEvent event.x,y=839, 534

(the avatar position didn't change)

AlericInglewood
@AlericInglewood
Jul 13 2014 18:44
Anyone knows what happens when I already did a pull request and then push a new commit?
Thijs Wenker
@thoys
Jul 13 2014 18:47
then it will synchronize
@AlericInglewood
ah you did hehe
Jason Hawks
@nbq
Jul 13 2014 18:49
I just got a kinect and need the faceshift file for hifi, anyone here have the ability to send me that?
oh and hey thoys and alericing
AlericInglewood
@AlericInglewood
Jul 13 2014 18:57
@thoys I did, kinda to test - only to find that I still had a typo in it :P.. which I then ALSO quickly pushed, only to find that there was another typo left lol. Neither was serious (I had already compiled and tested the code), but still :blush: . waves @BitsOfCoaling
AlericInglewood
@AlericInglewood
Jul 13 2014 19:28
I added inline comments to #3164 - but that isn't showing up on the right -->
AlericInglewood
@AlericInglewood
Jul 13 2014 20:32
SkeletonModel::buildShapes is called 13 times for the same avatar (namely MyAvatar) when starting interface...
AlericInglewood @AlericInglewood added some serious debug shit
AlericInglewood
@AlericInglewood
Jul 13 2014 22:05
[2014-07-14T00:03:30] joint =  type='FBXJoint', isFree=false, freeLineage={}, parentIndex=-1, distanceToParent=0, boneRadius=0, translation={type='glm::vec3', x=0.35299, y=64.2153, z=-0.12377}, preTransform={type='glm::mat4', [ 1 0 0 0; 0 1 0 0; 0 0 1 0; 0 0 0 1; ]}, preRotation={type='glm::quat', x=0, y=0, z=0, w=1}, rotation={type='glm::quat', x=0, y=0, z=0, w=1}, postRotation={type='glm::quat', x=0, y=0, z=0, w=1}, transform={type='glm::mat4', [ 15 0 0 5.29485; 0 15 0 963.23; 0 0 15 -1.85656; 0 0 0 1; ]}, rotationMin={type='glm::vec3', x=-3.14159, y=-3.14159, z=-3.14159}, rotationMax={type='glm::vec3', x=3.14159, y=3.14159, z=3.14159}, inverseDefaultRotation={type='glm::quat', x=0, y=0, z=0, w=1}, inverseBindRotation={type='glm::quat', x=0, y=0, z=0, w=1}, bindTransform={type='glm::mat4', [ 1 0 0 0.35299; 0 1 0 64.2153; 0 0 1 -0.12377; 0 0 0 1; ]}, name="Hips", shapePosition={type='glm::vec3', x=-3.75706, y=0.61388, z=-6.05052}, shapeRotation={type='glm::quat', x=0, y=0, z=0, w=1}, shapeType=UNKNOWN_SHAPE}
Thijs Wenker
@thoys
Jul 13 2014 22:05
oke, are you debugging that?
AlericInglewood
@AlericInglewood
Jul 13 2014 22:06
That's the output of: qDebug() << "joint = " << joint;
Thijs Wenker
@thoys
Jul 13 2014 22:06
ok
its a nice representation, did you add that in the toString function? or however that works in c++
AlericInglewood
@AlericInglewood
Jul 13 2014 22:07
No, as QDebug operator<<