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.

Enable Gyroscope Device Orientation Control

Home Forums Graphics / Blender Enable Gyroscope Device Orientation Control

  • This topic has 10 replies, 4 voices, and was last updated 1 year ago by kdv.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #39869
    charityworks
    Customer

    Hi,

    I saw in the Manual that Camera has ‘Device Orientation Controls — implements gyroscope-driven view’ which ‘can be enabled with Javascript.’

    Can someone help how this can be implemented?

    Thanks in advance,
    C.S.C.

    #39871

    Hi,

    please take a look at this https://blog.csdn.net/zjbcool/article/details/81750456

    Chief 3D Verger | LinkedIn | Twitter

    #49433
    ma77hew
    Participant

    Hi,

    please take a look at this https://blog.csdn.net/zjbcool/article/details/81750456

    I’ve taken a look at this example, but I cannot seem to get it to work on my HTML scene via WordPress. What type of Controls do I set my Blender Camera to, in order for this to work?Thanx

    #67894
    ma77hew
    Participant

    Hello, has there been any developments with this at all?

    #67899
    kdv
    Participant

    It has been working for a long time.

    https://graphics.cs.wisc.edu/Courses/559-sp21-three/three.js/examples/misc_controls_deviceorientation.html

    https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:8d3d31c08e/panorama_view/panorama_view.html

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #67916
    ma77hew
    Participant

    Hi KDV, thanks for that, but this is with a panorama, not a 3D environment. I guess it is the same?

    #67917
    kdv
    Participant

    not a 3D environment

    Who told you that? That’s usual 3D scenes. Btw, the only thing you can do while using DeviceOrientationControls is looking around.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #67918
    ma77hew
    Participant

    The background of this environment Looks like an HDR scene.
    Anyways, the reason why I am asking this question here is because I’d like to combine this with a joystick plugin so users can navigate the cameras with both.

    #67919
    kdv
    Participant

    The background of this environment Looks like an HDR scene.

    A panoramic texture applied to a big sphere.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #67920
    ma77hew
    Participant

    Do you have a screenshot of the puzzle setup to achieve that?

    #67921
    kdv
    Participant

    No puzzles. JS only. See the source code of those pages. Note that it will work via HTTPS only (that means you can’t test an app in a local network ). And you can’t use two types of controls (FP and DO) at the same time.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

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