jrbudda / minecrift

VR mod for Minecraft. For Minecraft version 1.7.10
http://www.vivecraft.org
Other
324 stars 32 forks source link

[REQUEST] Side By Side on PC only #341

Open lilgandhi1199 opened 3 years ago

lilgandhi1199 commented 3 years ago

How do I get into the menus and simply enable SBS mode without a VR headset? I have a 3D projector plugged into my PC via hdmi that can decode 120hz 720p SBS into real 3D with my active IR glasses. But it won't even let me boot into the game to switch to this mode.

What would the vivecraft options txt file look like to make this change without opening the game?

ghost commented 3 years ago

this software is not designed to drive a 3d output. it is designed to render the buffer twice side by side which is how VR works, one render per eye.

lilgandhi1199 commented 3 years ago

Perfect that's exactly what I described. Let's make it happen

ghost commented 3 years ago

it is designed to drive the output to a vr headset which has its own proprietary firmware and driver, which is titled OpenVR. to get it to work on an SBS projector, you need to rewrite the mod's code so that it no longer uses OpenVR and uses whatever library your projector requires instead.

tl;dr it's crashing because your projector is not supporting OpenVR.

lilgandhi1199 commented 3 years ago

No it merely needs to leave the render on the computer. When SBS is selected and a virtual emulator is ran is that not exactly what it does? Or does it actually route it to the virtual input leaving the screen blank?

ghost commented 3 years ago

it routes one render (technically two) to what it is expecting to be a headset output loaded in by OpenVR, and then is rendering a mirror to your desktop.

again, you will need to rewrite this mod so that it does not use OpenVR whatsoever and goes desktop-screen-only instead.

lilgandhi1199 commented 3 years ago

First off can you confirm SBS is a render option? Have you seen it yourself or tested it? Secondly you are confirming that on the desktop it actually shows the side by side render itself? (while also duplicating it off to software)

Or is it merely showing the original 2D (left, right, or "center" eye)?

ghost commented 3 years ago

the SBS mode you are seeming to confuse for "Dual Eye Mirror mode" is just a mirror of what the "headset" is currently expected to be outputting, showing the left eye's buffer on the left, and the right eye's buffer on the right, stretched to fit the window. because OpenVR has a bunch of overhead that checks for a headset so that it can interact with the firmware, it is seeing your projector as simply a projector and thus won't output to it.

for the third time, you will need to rewrite this mod to not use OpenVR in order to achieve what you are asking for. OpenVR will never work with an SBS projector.

lilgandhi1199 commented 3 years ago

Perfect. There are plenty of virtual VR softwares I was just hoping to avoid all the BS overhead. It seems I cannot. Still easy though lol Peace

ghost commented 3 years ago

I would love to see how this fork turns out for you though as it is an interesting idea. If you have any more questions about porting this mod to SBS projection, please visit the vivecraft discord.

lilgandhi1199 commented 3 years ago

We'll see what kind of frame rate penalties I'll be getting for doing this duplication all the time...

No VR headset detected. Would you like to proceed anyways? Yes Please :P

ghost commented 3 years ago

Vivecraft in Dual Eye Mirror mode renders the game 4 times. so only asking for twice won't be a big issue.