Open BenoitEncounters opened 2 years ago
A sun position API (such as https://www.programmableweb.com/api/suncalc-rest-api) could be used in the skybox or an A-Frame component to position the sun and also optionally additional directional lights from results. I have been thinking about experimenting with a sun/skybox that is moving consistently from end user computer clocks, might look into this at some point too.
Thank you so much for this answer! So I could already implement this API in Spoke? Sun moving from computer clocks wouldn't be necessary in my case specifically I'd say, but an interactive time slider to use while in the room to change dynamically the time of the day would be amazing (instead of a static setting in Spoke). What would be the steps I can already implement to make a prototype of this?
Benoît Perrin https://www.linkedin.com/in/ben-perrin/
Digital Director
Video & New Media Content Creation
www.benoitperrin.com
+41798171731
On Thu, 23 Dec 2021 at 15:58, Edvard Ødegaard @.***> wrote:
A sun position API (such as https://www.programmableweb.com/api/suncalc-rest-api) could be used in the skybox or an A-Frame component to position the sun and also optionally additional directional lights from results. I have been thinking about experimenting with a sun/skybox that is moving consistently from end user computer clocks, might look into this at some point too.
— Reply to this email directly, view it on GitHub https://github.com/mozilla/hubs/issues/4946#issuecomment-1000539787, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWC3AA236S5JMIWWN3AM23LUSOLQTANCNFSM5KCJIYWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
Quick demo of what manipulating values in the skybox could look like: https://twitter.com/MattBCool/status/1413193368650194947 adding a feature request tag for tracking.
Is your feature request related to a problem? Please describe. Not really related to a problem but is a request from the people I work with.
Describe the solution you'd like I make scenes in hubs with photogrammetry models. We would like to be able to position the models according to the north pole, latitude, and longitude. From that, it should be possible to obtain the exact position of the sun at certain hours to be put like in the Skybox parameters. This will be useful for shadow and light simulations.
Describe alternatives you've considered The alternative would be another software like Unreal
┆Issue is synchronized with this Jira Task