These are chat archives for highfidelity/hifi

14th
Feb 2015
Lexx
@Triplelexx
Feb 14 2015 00:45
anyone using CLion IDE at all?
Bradley Austin Davis
@jherico
Feb 14 2015 02:41
is there a good method in application that can be called once per frame, or better yet, just be called repeatedly at small intervals with information about the time passed since the last interval?
hmmm.... 'idle()' maybe.
Brad Hefta-Gaub
@ZappoMan
Feb 14 2015 02:46
yes Application::idle() is basically that
Bradley Austin Davis
@jherico
Feb 14 2015 03:11
I dislike the current keyboard 'constant acceleration' movement mechanism. I'm trying to get movement to respond to my spacemouse.
there seem to be a variety of different flows for turning input into avatar changes in position and orientation over time. Right now I figure the simplest mechanism for experimentation is to put some code in the idle timer function that will wire the spacemouse translation directly to the avatar velocity, and the rotation to an immediate change in avatar orientation.
and trying to remember how I've turned the three rotation axis integers that the spacemouse SDK provides into an orientation I can compose with the existing avatar quat.
Bradley Austin Davis
@jherico
Feb 14 2015 03:16
oh right, glm has a euler angles constructor.
....and I'm babbling.
Brad Hefta-Gaub
@ZappoMan
Feb 14 2015 03:45
@jherico - it would be possible to do some of this with a script. Obviously you’d need to wire up the space mouse, but a script can drive the avatar movement. There are examples that do that with the Hydra
Brad Hefta-Gaub
@ZappoMan
Feb 14 2015 03:52
Also note: our controller interfaces are kinda messed up right now. We’ve been meaning to refactor them to match a common style and paradigm, and make it so you can access controllers both generically and specifically… so for example for controllers like Leap, Hydra, Prio, etc… we’d like people to be able to generically program for “left handl” and “right hand”… but also if they know the device is a specific device that they can get more detailed device specific features out of it
we’ve written up a design document around this, but haven’t gotten around to getting the work done.
The hydra in particular was the first 6DF device we added, and so it’s the legacy that everything else is glued on to...
so… just a heads up… there be dragons there.
Bradley Austin Davis
@jherico
Feb 14 2015 04:15
@ZappoMan thanks, I'll look into the mechanisms used to expose c++ data to JS and to wire that into avatar manipulation.
now I just need to go find a suitably low poly version model of the Oblivion drone.
Brad Hefta-Gaub
@ZappoMan
Feb 14 2015 04:19
:)
tx0h
@tx0h
Feb 14 2015 19:18
hi, i can't run interface on my debian notebook, with optirun it terminates after some warning and debug messages, without optirun it didnt get anything done, just a half baked canvas which force me to switch to the console and kill the client