Page 1 of 1

Minetest and VR

PostPosted: Fri Apr 22, 2016 20:12
by mikemac30
Is it possible? What I mean is it possible to render minetest in side by side 3d?

Re: Minetest and VR

PostPosted: Fri Apr 22, 2016 22:25
by lightonflux
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

Re: Minetest and VR

PostPosted: Sat Apr 23, 2016 05:13
by benrob0329
It would be even cooler if someone could convince HTC or Oculas to make a library for us Open Devs...

Re: Minetest and VR

PostPosted: Sat Apr 23, 2016 17:18
by TumeniNodes
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

Re: Minetest and VR

PostPosted: Sat Apr 23, 2016 17:25
by lightonflux
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

Re: Minetest and VR

PostPosted: Sat Apr 23, 2016 17:27
by TumeniNodes
Thank you...
I'm off to go break somethin'! :D

Re: Minetest and VR

PostPosted: Sat Apr 23, 2016 17:41
by TumeniNodes
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...

Re: Minetest and VR

PostPosted: Sun Apr 24, 2016 20:56
by mikemac30
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?

Re: Minetest and VR

PostPosted: Sun Apr 24, 2016 22:18
by lightonflux
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.

Re: Minetest and VR

PostPosted: Thu May 05, 2016 02:01
by wilkgr76
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.

Re: Minetest and VR

PostPosted: Thu May 05, 2016 02:29
by TumeniNodes
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

Re: Minetest and VR

PostPosted: Sat May 07, 2016 04:53
by AnxiousInfusion
Yes, somebody has already began work on a VR implementation of Minetest.

Re: Minetest and VR

PostPosted: Sat May 07, 2016 07:46
by wilkgr76
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.

Re: Minetest and VR

PostPosted: Wed Jun 15, 2016 14:34
by Chris2000SP
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.

Re: Minetest and VR

PostPosted: Tue Jun 21, 2016 01:17
by domtron vox
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

Re: Minetest and VR

PostPosted: Tue Jun 21, 2016 03:14
by BrandonReese
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.