Minetest and VR

Post Reply
mikemac30
New member
Posts: 5
Joined: Fri Apr 22, 2016 20:04

Minetest and VR

by mikemac30 » Post

Is it possible? What I mean is it possible to render minetest in side by side 3d?

User avatar
lightonflux
Member
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof
Location: Germany

Re: Minetest and VR

by lightonflux » Post

MT has 5 3D rendering modes.

* anaglyph
* interlaced
* topbuttom
* sidebyside
* pageflip

So yes.

Just set "3d_mode" to one of the above values in your minetest.conf file and start minetest. If you use 0.4.14 you can use the advanced settings menu: Client → Graphics → Game → Advanced → 3D mode

User avatar
benrob0329
Member
Posts: 1341
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: Minetest and VR

by benrob0329 » Post

It would be even cooler if someone could convince HTC or Oculas to make a library for us Open Devs...

User avatar
TumeniNodes
Member
Posts: 2983
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: Minetest and VR

by TumeniNodes » Post

lightonflux wrote:MT has 5 3D rendering modes.

* anaglyph
* interlaced
* topbuttom
* sidebyside
* pageflip

So yes.

Just set "3d_mode" to one of the above values in your minetest.conf file and start minetest. If you use 0.4.14 you can use the advanced settings menu: Client → Graphics → Game → Advanced → 3D mode
Any further information on this? I was unaware of these features and now I'm interested, but cannot seem to find the info/documentation
A Wonderful World

User avatar
lightonflux
Member
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof
Location: Germany

Re: Minetest and VR

by lightonflux » Post

TumeniNodes wrote:
lightonflux wrote:MT has 5 3D rendering modes. […]
Any further information on this? I was unaware of these features and now I'm interested, but cannot seem to find the info/documentation
Afaik there is only source code and git messages. If someone would collect the infos and write an article about the mods and how to use them that would be great.

https://github.com/minetest/minetest/co ... 2d8091abe0
https://github.com/minetest/minetest/co ... c70af7c6fc
https://github.com/minetest/minetest/co ... 4bda86e6bf
https://github.com/minetest/minetest/co ... 9779eac64b
https://github.com/minetest/minetest/co ... 671637782f
https://github.com/minetest/minetest/pull/1253

User avatar
TumeniNodes
Member
Posts: 2983
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: Minetest and VR

by TumeniNodes » Post

Thank you...
I'm off to go break somethin'! :D
A Wonderful World

User avatar
TumeniNodes
Member
Posts: 2983
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: Minetest and VR

by TumeniNodes » Post

Hmmm, actually... I think Ill hold off until the new release before I really do break something...
Interesting, some of the parts in these codes are parts needed, related to water reflection / refraction..., i.e. stencilbuffer and some other parts...
A Wonderful World

mikemac30
New member
Posts: 5
Joined: Fri Apr 22, 2016 20:04

Re: Minetest and VR

by mikemac30 » Post

Okay Thanks @lightonflux I just tried it on my DIY VR headset. It works perfect except when you open your inventory, chest, or pause the game it opens the window in 3d and 2d. Also any text on the right side (in side by side 3d) is kinda messed up and it looks like there is other text over it. I can live with some messed up text but the double window is super annoying. And whats this about 0.4.14? I thought the latest was 0.4.13?

User avatar
lightonflux
Member
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof
Location: Germany

Re: Minetest and VR

by lightonflux » Post

mikemac30 wrote:[…]troubles and bugs[…]. And whats this about 0.4.14? I thought the latest was 0.4.13?

Sorry to hear that you have experienced rendering bugs. I recommend you open issues for the problems your encounter. Please file them here.

0.4.13 is indeed the current stable version. But many of us use the development version (directly from git). And now that we are in freeze (no new features get added) you run the feature set of 0.4.14 + bugs if you play on the dev version.

If you file your issues, please try to use the newest MT version. It is super easy to compile on Linux. And if you use WIndows take a look at the builds sub forum.

wilkgr76
Member
Posts: 832
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: Minetest and VR

by wilkgr76 » Post

lightonflux wrote:
TumeniNodes wrote:
lightonflux wrote:MT has 5 3D rendering modes. […]
Any further information on this? I was unaware of these features and now I'm interested, but cannot seem to find the info/documentation
Afaik there is only source code and git messages. If someone would collect the infos and write an article about the mods and how to use them that would be great.

https://github.com/minetest/minetest/co ... 2d8091abe0
https://github.com/minetest/minetest/co ... c70af7c6fc
https://github.com/minetest/minetest/co ... 4bda86e6bf
https://github.com/minetest/minetest/co ... 9779eac64b
https://github.com/minetest/minetest/co ... 671637782f
https://github.com/minetest/minetest/pull/1253
In the latest builds, in advanced settings, there is an explanation.
N/A

User avatar
TumeniNodes
Member
Posts: 2983
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: Minetest and VR

by TumeniNodes » Post

wilkgr76 wrote:In the latest builds, in advanced settings, there is an explanation.
"Advanced settings".... oooooo... aren't we getting fancy... :D
Im gonna have to dust off my 3D mcgoogly thingies now! Anyone made a Hula dancer mod yet?? :P
A Wonderful World

User avatar
AccidentallyRhine
Member
Posts: 252
Joined: Sun Aug 02, 2015 05:43

Re: Minetest and VR

by AccidentallyRhine » Post

Yes, somebody has already began work on a VR implementation of Minetest.

wilkgr76
Member
Posts: 832
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: Minetest and VR

by wilkgr76 » Post

AnxiousInfusion wrote:Yes, somebody has already began work on a VR implementation of Minetest.
It really seems like they forked an old version... Do you see the ugly green hatted guy and those textures? Of course, 3d players might just not work with that yet, and they prefer the older textures...still.
N/A

Chris2000SP
New member
Posts: 1
Joined: Wed Jun 15, 2016 14:10
GitHub: Chris2000SP
In-game: Chris2000SP

Re: Minetest and VR

by Chris2000SP » Post

Hi folks,
i am interested in this, and i tested side-by-side. I wonder why the eyes displayed reversed. I mean the left picture is on the right eye and the right on the left eye. This makes no sense, isn't it?

Edit:
i am a beginner in coding but i think on this line: https://github.com/minetest/minetest/bl ... ne.cpp#L29
is set a global position of the camera, if i understand the code correctly.
And on line:
https://github.com/minetest/minetest/bl ... e.cpp#L284
and the following lines sets the side-by-side config.

But i can't test it while i don't know to compile for win32.

User avatar
domtron vox
Member
Posts: 111
Joined: Thu Feb 20, 2014 21:07
GitHub: DomtronVox
IRC: Domtron
In-game: Domtron

Re: Minetest and VR

by domtron vox » Post

mikemac30 wrote:... I just tried it on my DIY VR headset ...
This is what I'm interested in. :P

Did you follow some sort of project, or did you do your own reaserch and wing it? Also please post pictures if it isn't too much trouble. :D

User avatar
BrandonReese
Member
Posts: 839
Joined: Wed Sep 12, 2012 00:44
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese
Location: USA

Re: Minetest and VR

by BrandonReese » Post

wilkgr76 wrote:
AnxiousInfusion wrote:Yes, somebody has already began work on a VR implementation of Minetest.
It really seems like they forked an old version... Do you see the ugly green hatted guy and those textures? Of course, 3d players might just not work with that yet, and they prefer the older textures...still.
The other video you can see they are using 0.4.13. They are using the minimal game.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests