Vivero / Kerbal-VR

An add-on for Kerbal Space Program (KSP) to enable virtual reality.
MIT License
175 stars 31 forks source link

Massive Terrain Flickering. Other Bugs. #94

Open 9595w opened 4 years ago

9595w commented 4 years ago

Bugs:

When I load into VR when in a vessel, the terrain likes to flicker uncontrollably. I know this was also an issue with the older versions of the mod, but hopefully it's different this time. EDIT: I just realized I wasn't set to low settings in kerbal, maybe that had something to do with it. However, it would be cool to figure out a way to make the flickering stop regardless. EDIT2: I also just tested it with lower settings and with different versions of Direct X (10, 11, 12) and they all don't have a difference. However, I also noticed that the terrain flickering isn't present when away from the craft, but is present when near. Here's what I mean: https://imgur.com/2igh3lv

I have a Valve Index, but no controller support. I see the hands which are cool, and I also know that I can remap the controls to the controllers, I just think it would be cool to be able to actually grab the throttle within the cockpit. EDIT: I also realized that you can teleport while in the cockpit, which teleports the whole craft and makes it explode. EDIT2: I also just saw the mapping for the controllers, and the flight controls work. Would recommend a stage button (either a or b button)

Suggestions for the future:

Perhaps in the future you can add support to Raster Prop Monitor again? It would make doing missions in IVA completely possible in VR.

Also something that would be cool is being able to switch from cockpit to cockpit from VR with your kerbal.

Also, when EVAing the kerbal, maybe you can somehow either remove the head from the kerbal, or keep the helmet, but just make the helmet rotate with the headset.

Overall, I'm super happy that this mod is getting worked on again. I have seen much better performance in this version and it looks like it's going in the right direction, I really hope you keep it up. VR in kerbal was always something of my dreams.

Vivero commented 4 years ago

Great suggestions, thanks for the feedback! I'll try to focus on one feature at a time, sounds like adding back support for RPM is a popular request, and likely not very difficult to do since the previous versions had it.


the terrain likes to flicker uncontrollably

Yea I can totally see that happening when I set the "Render Quality" to Fantastic. But when I set it to Fastest, it looks okay again. And like you said, it does seems to happen when the craft comes into view. When you look away from it, the flickering stops. Very strange. This bug is beyond my abilities unfortunately, I don't even know where to begin to troubleshoot it, but at least it is consistently reproducible :( Edit: nevermind, I fixed it


I also realized that you can teleport while in the cockpit, which teleports the whole craft and makes it explode.

Hah, I thought I disabled teleporting in IVA, guess not! I know about the exploding craft, I need to track that down and fix it. Kinda seems like something (the hands?) is colliding with the craft's parts.


Perhaps in the future you can add support to Raster Prop Monitor again? It would make doing missions in IVA completely possible in VR.

Yea I def want to focus on this. This is my original inspiration for the mod to begin with.

9595w commented 4 years ago

I set my render quality to all the way down and that seemed to fix the flickering. In the video I posted that was set to all the way up to fantastic.

When I'm in the game menu it is perfectly silky smooth, but when I am loaded into the SPH, VAB or loaded with a craft, there is a weird stutter. Almost like the game cant keep up with my head turning. When I'm flying a plane without moving my head around it is perfectly fine. The stutter isn't a huge problem but it is definitely there.

Another suggestion would be for movement. I think teleporting is pretty old school in terms of VR, so having the option to move around like in Boneworks or Half Life Alyx would be cool.

Can't wait to do some more testing with different mods like LMP/DMP and BD Armory! Great Work!

Vivero commented 4 years ago

About the flickering terrain, I feel so stupid, I found a stupid simple fix for that problem. No more flickering regardless of your Render Quality setting. The fix will be available in the next pre-release (whenever that may happen).

The cause of the problem was just a matter of messing with things that I shouldn't have (though to be honest, coding this whole mod feels like an exercise in "don't mess with things you shouldn't mess with")

Vivero commented 4 years ago

Re-added RPM functionality: https://github.com/Vivero/Kerbal-VR/releases/tag/v4.0.0-alpha.3