We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

VR version of my Vehicle Fantasy, timer and IBL lighting issues

Home Forums Bug Reports and Feature Requests VR version of my Vehicle Fantasy, timer and IBL lighting issues

Tagged: , , ,

Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • #29619
    illussimo
    Customer

    I have made a VR (WebXR) version of my Vehicle Fantasy. I had to change quite a few things.
    HTML elements can not be used for interactions in VR, the camera works in quite a different manner, textures had to be halved in size and so on. But after some struggling, I managed to get something acceptable. Mind you, I only have an iPhone 5/SE, a cheap Shinecon VR viewer, and I could test with the WebXR emulator extension on Chrome. Not ideal, but you have to start somewhere.
    I somehow got everything working as intended with the following exceptions:

    1. The Set Timer puzzle doesn’t seem to work. I probably missed something but couldn’t find what I missed in the user manual. I also couldn’t find any example project using this puzzle. :unsure: Now actions start when unintentionally hovering over something. I want things only to happen when hovering long enough (about 3 seconds) over something.
    2. b. When changing views, the view changes but the IBL lighting stops working. I used the medium quality IBL rendering because the app would crash if I used high-quality IBL rendering. :cry:

    I have included a screenshot of my timer Puzzle setup.

    I’m curious how things work on an Oculus Quest or so. (At the moment I just can’t afford to buy one.) Feedback is welcome.
    :bye: Simone

    #29625
    dssctr
    Customer

    hi Simone,

    I have an HTC vive with controllers, in which you basically aim a laser pointer(ray) from your hand controller over your buttons/text.

    Experience issues: Yes, the timing is almost immediate with your text hover and they quickly change the background. Then a couple seconds later change to another third background. So I agree something may be off with the SetTimer. I made my own vr project and found that clicking the buttons(objects) to be most effective trigger for me. Like your door for example in order to Enter.

    What I like: 1)I love your entrance transition, and the inside of the vehicle. 2) It looked great in VR. 3)Lovely backgrounds. 4)great modeling and animations.

    My(selfish)wishlist: I love it, but want it to fly like the Santa sleigh example, or better yet a choosable destination from the cockpit controls. I’ve done similar tests, and If you parent your ship to the camera, you can just animate your camera/ship around with the tween camera puzzle. I know you don’t have an Oculus ( that would be my first choice) so testing all this must be a pain. Good luck :good:

    regards, Rick

    #29628
    illussimo
    Customer

    Thank you so much for this feedback. I would like to make the vehicle walk around and add more flying (or diving experiences like you suggested and like the inspiring Heli Ride by Al Sande. It would be nice if movements could be controlled with the control stick in the vehicle and have the gauges animate accordingly. I might have a go at that in a while. I have to find my way through too many ideas and projects. :wacko: Sounds, familiar?
    :bye: Simone
    By the way, did the IBL lighting work when the background changed?

    #29630
    dssctr
    Customer

    Sorry, no it did not. :-(

    #29633
    illussimo
    Customer

    :cry: Thanks for letting me know. Hope I will get some help soon. :scratch:

    #29637
    Al Sande
    Customer

    Thank you so much for this feedback. I would like to make the vehicle walk around and add more flying (or diving experiences like you suggested and like the inspiring Heli Ride by Al Sande. It would be nice if movements could be controlled with the control stick in the vehicle and have the gauges animate accordingly.

    I haven’t tried controlling animations with puzzles yet (mine just run out of the box) but it would be cool to make a “simulator” that one could control a bit more. I wonder if it would be possible to do a base animation (where the model’s empty follows a base path) with minor movements triggered by other animations. Actually, might this be possible with multiple empties, each animated a bit differently but all parented to the “base” path/empty? Hmmm……

    Anything I can contribute from my experiences and/or failures let me know (although I think you’re into this a lot deeper than me!)

    Al

    #29688
    illussimo
    Customer

    Hello Al,
    See my answer to your questions in my former (non-VR version) post.
    :bye: Simone

    #29740
    illussimo
    Customer

    I would love to publish my VR app but can’t solve the 2 issues mentioned at the start of this post. :wacko:
    Yuri, Mikhael, Alex or Ivan, please, Help! :cry:

    #29809

    Hi Simone,

    Thank you for your work on creating this awesome VR experience!

    1. The timer your register in the hover event should be explicitly deleted by remove timer when you hover out of your object. If not, it will trigger when you don’t expect it to happen.

    2. Does the switch environment work when you use PMREM quality with reduced cubemap size (e.g 256)?

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #29852
    illussimo
    Customer

    Hello Alex, Thanks for your answer.
    I have now implemented the remove timer in my hover out actions and now the timer works. :yahoo:

    Unfortunately reducing the cube-map size to 256 didn’t help. When not in VR mode it works fine but in VR mode IBL turns off after changing the scene.
    Updating the app to Blender 2.83.1 with V3D 3.2. didn’t help to solve the IBL lighting issue.
    Might it be a limitation of WebXR or a bug?

    I have most timers set to 3 seconds but maybe that is too long.
    It would be great if you could test it out. I only have my simple “cardboard” setup.
    Vehicle Fantasy VR version
    Thanks again,
    :bye: Simone

    #29865

    Glad you resolved the hover issue! I’ve checked your demo on Oculus Quest and the environment changes just fine.

    It’s possible there is some memory issue. How did you implement environment switching? Is it replacing one texture by another? I’ve found you use 4K environment. This map alone may occupy up to 180 MB of combined (GPU+CPU) memory.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #29886
    illussimo
    Customer

    Thanks for testing this,
    On my iPhone5-SE/Cardboard setup and WebXR emulator, the environment-sphere changes just fine. :yes: (small delay on iPhone). Only the IBL lighting is turned off after switching scenes.
    I have used 512×256 HDR images for the IBL lighting, used the Medium IBL lighting option in the Verge3D render settings and, as you suggested, reduced Cubemap from 512 to 256.
    I use 2 4K textures for the environment spheres. Each has 2 equirectangular images in jpg. By reducing the size to 2K I would lose too much detail. I also think that this might not be the bottleneck.

    I tried both techniques: replacing the HDR images and, my favourite way, by building a node-tree with mix shaders, switching mix values in Puzzles.
    Both with the same result.
    Switching IBL lighting might be problematic on non-high-end VR viewers.

    I have attached screenshots of memory-maps. (memory usage seems quite okay.)
    It would be nice to get to the bottom of this, maybe, general issue.
    Hope this is useful info.
    Thanks again,
    :bye: Simone

    #30487
    illussimo
    Customer

    Hello Alexander,
    I have updated the VR version of my Vehicle Fantasy to Verge3D 3.3 pre2 in the hope that the IBL lighting issue when changing scenes, would be resolved.
    But the issue remains. :cry:
    Could you please look into this issue. (I have included screenshots in the above post.)
    Thanks in advance,
    :bye: Simone

    #30535

    Hi Simone,
    The issue is that we can’t actually reproduce the issue. You might want to send as your project files, so we can take a look more closely and search for possible reasons why it does not work as it should be.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #31697
    illussimo
    Customer

    Hello Alexander,
    I have sent the zip file to Yuri. It is a simpler setup for testing purposes.
    It still has the problem (in VR mode).
    Play around with it and see if you can find out what’s going on.
    I think it must be something with IBL lighting purely.
    Maybe it has something yo do with Polyfill when it overrides the WebXR API.
    You wrote that everything works well with Oculus Quest but I hope you will get IBL light switching working on more simple devices as well. I think this will be important for many more Verge3D users.
    All the best, :bye:
    Simone

Viewing 15 posts - 1 through 15 (of 22 total)
  • You must be logged in to reply to this topic.