Home › Forums › Graphics / Blender › Enable Gyroscope Device Orientation Control
Tagged: blender, camera, gyroscope, javascript
- This topic has 10 replies, 4 voices, and was last updated 2 years ago by
kdv.
-
AuthorPosts
-
2021-04-01 at 3:20 am #39869
charityworks
CustomerHi,
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.2021-04-01 at 8:31 am #39871
Yuri KovelenovStaffHi,
please take a look at this https://blog.csdn.net/zjbcool/article/details/81750456
2022-02-17 at 4:10 am #49433ma77hew
ParticipantHi,
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
2023-10-24 at 7:38 pm #67894ma77hew
ParticipantHello, has there been any developments with this at all?
2023-10-24 at 10:59 pm #67899kdv
ParticipantIt has been working for a long time.
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.
2023-10-25 at 4:50 pm #67916ma77hew
ParticipantHi KDV, thanks for that, but this is with a panorama, not a 3D environment. I guess it is the same?
2023-10-25 at 4:53 pm #67917kdv
Participantnot a 3D environment
Who told you that? That’s usual 3D scenes. Btw, the only thing you can do while using
DeviceOrientationControlsis 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.
2023-10-25 at 5:00 pm #67918ma77hew
ParticipantThe 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.2023-10-25 at 5:02 pm #67919kdv
ParticipantThe 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.
2023-10-25 at 5:17 pm #67920ma77hew
ParticipantDo you have a screenshot of the puzzle setup to achieve that?
2023-10-25 at 5:19 pm #67921kdv
ParticipantNo 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.
-
AuthorPosts
- You must be logged in to reply to this topic.
