These are chat archives for highfidelity/hifi

31st
May 2016
aoighost
@aoighost
May 31 2016 15:50
Probably stupid question, does anyone have a suggestion for something I can look at to see how C++ in hifi is exposed to QScript?
(hell, that would probably be a good documentation tutorial to write)
Clément Brisset
@Atlante45
May 31 2016 15:53
Most of our interface classes are called *ScriptingInterface
libraries/script-engine/src/Vec3.h would probably be a good place to start.
Ironically, that one doesn't finish by ScriptingInterface
You can also checkout libraries/entities/src/EntityScriptingInterface.h
aoighost
@aoighost
May 31 2016 15:58
Thanks, I appreciate it. I'm trying to figure out how to do this so I can get my feet wet and do https://worklist.net/20753
Once I get it done I'm likely going to PR and do a bid (if it not being under bidding isn't a problem)
I'm thinking create a new bit of code called cryptoscriptinginterface for this.
As a security guy, I can't help but feel that while on one hand it makes sense to put RSA under networking, it irks me.
Not sure if I would be able to come up with a better place to put it though, at least not without a whole new lib for security related code or other similar functionality.
Clément Brisset
@Atlante45
May 31 2016 16:03
This job is still in suggestion, meaning it has not been accepted by one of the managers of the product yet.
I can ping one of them to take a look at it.
aoighost
@aoighost
May 31 2016 16:03
Thanks, I appreciate it.
Job hunt hasn't been going so well, really want to get some contract work in so I can continue my end of VR stuff as well.
Clément Brisset
@Atlante45
May 31 2016 16:04
Usually, I would Make a bid with a small description of your game plan before putting in too much work so as to not do stuff in vein.
aoighost
@aoighost
May 31 2016 16:04
Frankly, I would love to work at hifi, but I got an email back saying I didn't have enough experience for the opening currently there, so that's on the wait list.
Clément Brisset
@Atlante45
May 31 2016 16:04
Gotcha
aoighost
@aoighost
May 31 2016 16:06
My background is kind of odd. Started doing an open source combat flight sim, got in to infosec, saw ghost in the shell, then worked for a bit on RealXtend, took a hiatus while I dealt with stuff on my end. Graduated college, got a job last year as a security engineer, that didn't quite pan out as hoped, laid off in January, haven't had much luck with job hunt since then. I've got a few VR projects I'm starting on with Unity3D, but this is closer to my main end goal.
So I figure if I can do some bids, maybe I can A. prove myself as not just being total noob, maybe leading to full on working for hifi later on, and B. pay my bills
Clément Brisset
@Atlante45
May 31 2016 16:09
Can't hurt. I know we had a flowchart for the worklist jobs but I'm struggling to find it.
aoighost
@aoighost
May 31 2016 16:09
Thanks, I appreciate it.
The ironic thing, I was actually brainstorming something similar to the end goal of hifi before I got my previous job. Shortly after being let go, I find out about hifi and go "well, better to help them than to reinvent the wheel given how damn close the objectives of the two projects are to each other"
Clément Brisset
@Atlante45
May 31 2016 16:23
wl-workflow-v3.pdf
Here is the chart in question.
aoighost
@aoighost
May 31 2016 16:26
Thanks, I appreciate it.
Clément Brisset
@Atlante45
May 31 2016 16:26
No problem, I forwarded the job, so there should be an update on it fairly soon.
Let me know if you have any more questions.
aoighost
@aoighost
May 31 2016 16:26
Alright, will do. Thanks!
Clément Brisset
@Atlante45
May 31 2016 16:27
I would also checkout the coding standard over here to save some time during review: https://github.com/highfidelity/hifi/wiki/Coding-Standard
Usually I would say just follow what you see in the codebase.
aoighost
@aoighost
May 31 2016 16:29
That's what I usually do for styles anyway.
I remember seeing one person try to PR torque and they changed the code style of the entire project in the PR. That was bad.
Clément Brisset
@Atlante45
May 31 2016 16:31
Ahahaha, yeah that doesn't sound great.
Like just make a PR to just change the indentation from spaces to tabs.
:+1: :shipit:
hmm, Steam is on, but vive isn't plugged in
Clément Brisset
@Atlante45
May 31 2016 16:46
Interesting, do you have SteamVR running?
aoighost
@aoighost
May 31 2016 16:47
not at the moment, but my oculus is plugged in and the oculus home is up
even killed oculus home, steam, and leap motion, still failing
wonder if it's because debug build
Clément Brisset
@Atlante45
May 31 2016 16:49
Looks like an assert is triggering because the app couldn't acquire the openvr system.
aoighost
@aoighost
May 31 2016 16:49
weird
it's not configured to open vive
Clément Brisset
@Atlante45
May 31 2016 16:50
Having SteamVR running should fix that, it's a bug in on our dev build.
aoighost
@aoighost
May 31 2016 16:53
weird, my oculus dk2 seems to be having hardware issues, going to try a reboot
really hope this isn't a hardware failure
hardware seems good
now it boots
weird
Clément Brisset
@Atlante45
May 31 2016 16:57
What was happening?
aoighost
@aoighost
May 31 2016 16:58
after reboot
so having steam off, and oculus up, opens up the interface
killing steam wasn't working prior because the hardware was derping on my dk2
trying with steam now
I should note I have the vive software installed as well, but haven't set up the vive yet
Clément Brisset
@Atlante45
May 31 2016 16:58
Yeah that's weird.
aoighost
@aoighost
May 31 2016 16:59
steam up it works again
let's test with steamvr
Clément Brisset
@Atlante45
May 31 2016 16:59
The reason it was crashing I believe is because it detected the vive software and we made a recent change that activates all available plugins.
So that bit of code runs and fails:
aoighost
@aoighost
May 31 2016 16:59
steamvr prior to reboot wasn't detecting the dk2, now it is
Clément Brisset
@Atlante45
May 31 2016 17:00
    if (!_system) {
        _system = acquireOpenVrSystem();
    }
    Q_ASSERT(_system);
aoighost
@aoighost
May 31 2016 17:00
and now hifi boots with steamvr up
hmm
looks like if the system has some weird hiccup with detecting the rift hardware, while the vive software is installed, it thinks there's a vive, and fails
looks like an error handling issue
BillWindwalker
@BillWindwalker
May 31 2016 17:34
It seems my Nvidia 3D VR system activated automatically one day while using this software so I'm going to see if I can give it a try and Link My Samsung Galaxy S7 edge with the VR headset to see what it looks like wish me luck
What will be nice to see is a scale conversion system for when you're importing STL files and have an STL capability of importing files
Clément Brisset
@Atlante45
May 31 2016 17:45
"Link My Samsung Galaxy S7 edge with the VR headset" not sure what you mean by that. Stream the frames to your S7?
Re STL: Yes, we eventually move to a plugin system so that we can easily add support for any type of 3D/Model files.
One of the many things we haven't had the time to get to yet.