Better HN
topnewbestaskshowjobs
Log inSign up

blensor

1,427 karma · joined May 12, 2016 (10y ago) · 528 submissions

XRWorkout - Gamified calisthenics in XR www.xrworkout.io

Blender Sensor Simulation www.blensor.org

Submissions

comment 6y ago · link · parent

At the moment it will only run on the Oculus Quest. There is nothing really keeping it from working on other 6DOF headsets as well, the Initialization code may need to be tweaked a bit but I don't plan to at the moment.

You could take the source and check the Godot VR tutorial (https://docs.godotengine.org/en/3.1/tutorials/vr/vr_starter_...) to see if you can modify it for your own headset.

And without hand tracking it may be a bit uncomfortable to do push ups. But maybe the knuckles controller will be comfortable enough.

comment 6y ago · link · parent

You have to be on the 12.x firmware and enable it under Experimental features. I just realized that I should probably mention that in the instructions.

comment 6y ago · link · parent

I am developing on a linux laptop with a mediocre graphics card.

Godot is a ~500MB Download (including the export templates), and that's it. It's fast, and does not take much space (disk and ram). Once started it takes up 0.8% of my RAM (about 256MB).

Oculus Quest support is currently only semi official. You have to compile the godot_oculus_mobile plugin yourself but that is really easy and in the future it will be available as an asset from the assetlibrary.

As for assets I used, you can import fbx, obj and gltf that should be sufficient enough for most basic things.

Mostly my workflow is to download something from sketchfab or blendswap pepare it in Blender, export it as gltf and import it in Godot.

Or for simpler stuff like the claws or the head cues I just do it in Blender myself.

comment 6y ago · link · parent

It does the usual point counting how many and how accurately you hit the cues. This is somehow an indicator how in shape you are but, apart from that there is no measurement of body properties

comment 6y ago · link · parent

That depends on where you are coming from. If you are using Godot 3.2 stable then you just need to set "Hand Tracking" to "optional" in the Android export settings.

As for the code for using it there are a initialization steps you have to do in your main scene. I suggest you take a look at the hand tracking demo in the godot_oculus_mobile plugin (https://github.com/GodotVR/godot_oculus_mobile)

However, if you are using an older beta release of 3.2 then I suggest upgrading to 3.2-stable because the packaged apk in the export templates does not have to correct permissions to support hand tracking.

comment 6y ago · link · parent

Here are two videos of the game in action:

https://www.youtube.com/watch?v=6TnzuIsVT6o

https://www.youtube.com/watch?v=mSPQulHXlJo

comment 6y ago · link · parent

Thanks, I should probably make it a bit clearer that those are videos.

comment 6y ago · link · parent

Developer here. I built this for my own daily workout but it may be useful for others as well, so I decided to make it open source.

It was built using Godot 3.2 [1] and uses the Oculus Quest hand tracking to free up your hands which is especially important for the pushups.

[1] godotengine.org

399.

Show HN: VRWorkout – A VR calisthenics rhythm game made with Godot(vrworkout.at ↗)

119 points · by blensor · 6y ago · 34 comments

comment 6y ago · link · parent

I don't know what the fuzz is all about, any sane person would open a different console an just 'killall telnet'

Obviously this is a joke, but I have to admit that's usually my go to solution for those rare cases where I need to actually use telnet (to some tcp socket for debugging).

comment 6y ago · link · parent

Just as I press Shift + letter to start a noun I use AltGr + 8 to start an array. Not really much of a hassle.

comment 6y ago · link · parent

The github page does not yet reflect the very latest release, still have to upload the video (due to lack of time :) ). But the latest version has an additional freeplay mode without music (just the sound effects), that way you can play your own music hit the drum to the beat of the music to tell the game the BPM and then you can play to your own background music.

comment 6y ago · link · parent

I built that [1] with it. Getting somehting playable was incredibly fast (but I guess that's not different from unity), and I have not hit any major roadblocks yet. Development was rather smooth. The fact that the hand tracking was supported even before it was supported in Unreal Engine (as far as I know) is also a major plus. A big shout out to Holger Dammertz who did the work on that.

[1] www.vrworkout.at

comment 6y ago · link · parent

Thanks to the Godot devs. I've been using the 3.2 betas over the last months and I was totally happy with the experience. But I am happy that I can work with an official release version now which makes it easier to have others use the codebase as well.

comment 6y ago · link · parent

I am not a medical expert or even remotely tied to that field but don't livers regrow to some extent? If this process could be extended even further wouldn't that mean we could regrow complete livers from partial donations pretty soon, making the whole "waiting for a donor" gamble obsolete?

comment 6y ago · link · parent

Are there any APIs out there that show the separate amounts a counter credit is made out of (for Bank of America accounts)? We wanted to use it for importing transactions into our system but if several checks are deposited at once the amount would have to ne split manually as it comes in as one transaction.

comment 6y ago · link · parent

Might be interesting to add the Ouster sensor to our sensor simulation [1] to give people the ability to play around with the data even if it's outside the price range?

[1] blensor.org

comment 6y ago · link · parent

I only released the first test version a week ago and it's relying on the beta of godot as well as a patched export template to support hand tracking, that's why I haven't released it yet. There is currently development going on to integrate the necessary changes into the godot_oculus_mobile plugin and into Godot itself to support that. Once it can be run without patching several different components I will add the source. Or if too many people ask and giving that explanation becomes more work than actually supporting them to get it running before everything works out of the box :)

comment 6y ago · link · parent

I have started VR development very recently for a small side project and I am very happy with Godot (I mentioned the link in one of the other replies, it's calle VRWorkout).

Currently you should use the 3.2 Beta and have to install the godot_oculus_mobile plugin yourself, but once that is setup, you have an Android symbol in your Godot Editor and can hit play to get it running on the Oculus Quest headset.

It's reinstalled for each time you hit play, so that takes a few seconds. I don't know how unity handles this.

Performance wise you are on your own I guess, so you should know what to do and what not to do to achieve good performance.

Don't know about language bindings, I am using GDscript as it is close enough to python to get by.

From my point the whole experience was a breeze, given that's it's free and a really small download I would definitely at least check it out before trying something heavier.

comment 6y ago · link · parent

Mostly that it runs super smooth on linux and I do not have a high end laptop, so I wanted something on the lightweight end of the spectrum. I then came along a youtube tutorial about getting started with VR development on Godot by the main Godot dev. So I'd say all the stars aligned and I had a reason to try it out. The Godot discord is also a very nice place, as I got in contact with the developer who works on the hand tracking support. It's really very much like the Blender developer community, from the people hanging out there.

comment 6y ago · link · parent

I have been looking into godot every once in a while when it came up on HN and liked what you could do but was not convinced that I want to use it.

Recently I wanted to write a workout game for the Oculus Quest for my own use and I am really impressed how well VR development works in Godot. I have never made a godot game before and never made a VR game before and it is really progressing nicely. An added benefit is that one of the devs has already added experimental hand tracking support. So even if the big game studios do not support it yet godot games can already support it, which is a real benefit for a workout game where you also have to do pushups (unsing the controller is a bit unwielding there)

For those who are interested what a first game looks in godot

https://github.com/mgschwan/VRWorkout

comment 6y ago · link · parent

It's the annual Chaos Communication Congress that is held between christmas and new years eve and that is also live streamed.

Usually there are lot's of interesting topics for the HN community

comment 6y ago · link · parent

I think that's just physics, I noticed the same behavior with my Jabra headphones. If I have my phone lying somewhere I can walk away quite some distance but if I have it in my left pocket and only the right headphone in while walking outside ( which I usually do this way) the connection becomes somehow spotty. My guess is that in an open space where there is nothing to effectively bounce off the waves the only path left is through my body which is so much water that it dampens the signal to a point where it becomes unreliable

comment 6y ago · link · parent

I'll try to make a parallel that in my opinion explains the thought behind the OPs argument.

In the early days people usually lived close to water bodies (rivers, lakes, etc.) because the closer you lived to the water the better your society thrived (water being essential for live, agriculture, transportation, etc). But there is a limit where if you go too far (i.e. into the water) the benefits evaporate possibly reversing the benefits (building houses into the water adds complexity, flooding, etc).

So there is probably a (global?) optimum that is neither too complex nor too simplistic

comment 7y ago · link · parent

I think the bigger problem is that we as content consumers are more and more looking for quantity rather than quality. While reading this climbing text I was thinking that I should probably carefully check for inconsistencies but I felt I can't be bothered to. I am not sure if that is only my feeling but it feels like the content matters less and less as long as I get entertained and with the neural nets getting better and better and I getting less picky we will meet somewhere in the middle where my brain keeps scanning for buzzwords and the net optimizing for it. Which feels this way with youtube, netflix et al. as well and I think this won't become a future we really like.

comment 7y ago · link · parent

Are you sure that he had artificial draft from the pace car? From the photos it was at least 1 1/2 body lengths in front of him and since it was projecting the optimal path for the pacers the distance was probably very constant the whole time.

comment 7y ago · link · parent

While I do recognize that the bar is arbitrarily set I do still believe that there is a significant difference between a scenario that could very well happen by chance in the normal world (optimal weather, zero wind, optimal surface) compared to doping and pushing the runner with wind from behind.

comment 7y ago · link · parent

How are they bending the rules if they try to prove that a human can run a marathon distance in less than two hours? I am not arguing that he has run a marathon below 2:00, but he is the first recorded human that has achieved such a feat - which is kind of a barrier many people have tried to break or at least recognized to exist - even though it has required them to remove all possible outside factors like wind and they even re-paved parts of the route to make conditions optimal, and he got pretty lucky with the weather today.

comment 7y ago · link · parent

Only because pause has an implied continuing while stopped requires an explicit continuing. Which might not even be the case depending on context because if you stopped at a red light I would assume that you did not give up your car and walked away but you are waiting for the condition to change before you start again

comment 7y ago · link · parent

Ah ok. I've got a T265 which I hope will work as it has an IMU as well and can output the image frames as far as I know. And while the T265 does do the tracking already I need to have a global reference frame as I would like to drive on a predfined track.
1
131415
18