armory3d / armory

3D Engine with Blender Integration
https://armory3d.org
zlib License
3.05k stars 316 forks source link

Support for VR headsets #1587

Open destlaver opened 4 years ago

destlaver commented 4 years ago

I just found out this engine and I am amazed. I've tried unreal and unity but I think Armory can compete very well for these reasons: 1 - Modelling and programming the game in the same editor 2 - Shader node system 3 - Animation for creating story driven game a lot easier 4 - Blender 2.8 user interface a lot more easier than other editors

Please don't abandon this project guys.

My project is to create a heavy rain like game with my oculus rift. I think this engine is the most suitable for my case but it leaks VR support.

I saw it was implemented with webvr and then removed for some reason.

I will try to implement it for my oculus rift and I will submit my pull request if it is ok.

Thanks for your work

QuantumCoderQC commented 4 years ago

Hi @destlaver,

WebVR support is still present but is buggy. I was able to run some basic scenes with 6D head tracking using Oculus Quest headset.

The option to enable webVR is at Render properties -> Armory render path -> Renderer -> VR

destlaver commented 4 years ago

Hi @QuantumCoderQC , thanks for your reply. I will try to implement the native support 'cause I think webVR's performance would limit graphic quality of the game

highco commented 4 years ago

What is the status of this? For me, stable VR support is the single most important feature that's currently missing in Armory3D.

Did you succeed in implementing native support for VR @destlaver?

stereo3d commented 3 years ago

Any news on this topic? The VR checkbox (Render properties -> Armory render path -> Renderer -> VR) can be checked but compiling process seems to stop.

QuantumCoderQC commented 3 years ago

@uwe22 Thanks for the report.

It used to work until this commit in Iron I think.

Currently I get this error in Krom:

Scene exported in 0.020026206970214844
E:\Armory\ArmorySDK\iron\Sources/iron/RenderPath.hx:438: characters 9-22 : Class<Krom> has no field vrBeginRender
E:\Armory\ArmorySDK\iron\Sources/iron/RenderPath.hx:440: characters 9-20 : Class<Krom> has no field vrEndRender
E:\Armory\ArmorySDK\armory\Sources/armory/renderpath/RenderPathDeferred.hx:428: characters 20-30 : Void -> Void should be Int -> Void
E:\Armory\ArmorySDK\armory\Sources/armory/renderpath/RenderPathDeferred.hx:428: characters 20-30 : For function argument 'drawMeshes'

Haxe compiler error.
Finished in 2.298809766769409
ERROR: Build failed, check console

And this in Browser:

Scene exported in 0.010528802871704102
E:\Armory\ArmorySDK\armory\Sources/armory/renderpath/RenderPathDeferred.hx:428: characters 9-19 : iron.RenderPath has no field drawStereo

Haxe compiler error.
Finished in 2.2780227661132812
ERROR: Build failed, check console

@luboslenco what would be a possible fix for this?

stereo3d commented 3 years ago

Thank you I get exactly the same errors in Krom and Browser.

@uwe22 Thanks for the report.

It used to work until this commit in Iron I think.

Currently I get this error in Krom:

Scene exported in 0.020026206970214844
E:\Armory\ArmorySDK\iron\Sources/iron/RenderPath.hx:438: characters 9-22 : Class<Krom> has no field vrBeginRender
E:\Armory\ArmorySDK\iron\Sources/iron/RenderPath.hx:440: characters 9-20 : Class<Krom> has no field vrEndRender
E:\Armory\ArmorySDK\armory\Sources/armory/renderpath/RenderPathDeferred.hx:428: characters 20-30 : Void -> Void should be Int -> Void
E:\Armory\ArmorySDK\armory\Sources/armory/renderpath/RenderPathDeferred.hx:428: characters 20-30 : For function argument 'drawMeshes'

Haxe compiler error.
Finished in 2.298809766769409
ERROR: Build failed, check console

And this in Browser:

Scene exported in 0.010528802871704102
E:\Armory\ArmorySDK\armory\Sources/armory/renderpath/RenderPathDeferred.hx:428: characters 9-19 : iron.RenderPath has no field drawStereo

Haxe compiler error.
Finished in 2.2780227661132812
ERROR: Build failed, check console

@luboslenco what would be a possible fix for this?

luboslenco commented 3 years ago

I started to add native vr interface (steam vr and oculus vr) to iron a while back, it will be available once armory switches to https://github.com/armory3d/armorcore.

stereo3d commented 3 years ago

Is there maybe any news on this topic. Or a way to manually use @luboslenco armorcore in a project? Many thanks for any updates.

HelloAmElio commented 2 years ago

any new updates on this really exited about it

stereo3d commented 2 years ago

Dear Developers. Please keep us updated if there is any progress regarding armorcore. Many thanks in advance.

stereo3d commented 2 years ago

Dear Developers. Thank you for your great work. Please let us know if there is any chance we could use Armory for VR authoring.

stereo3d commented 1 year ago

Dear Developers. Please keep us updated if there is any news on this topic. Many thanks in advance.