Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

add automatic camera movement support #393

Open
kfarr opened this issue Feb 5, 2024 · 3 comments
Open

add automatic camera movement support #393

kfarr opened this issue Feb 5, 2024 · 3 comments

Comments

@kfarr
Copy link
Contributor

kfarr commented Feb 5, 2024

Ideas from @rostyslavnahornyi from @kfarr's notes

Create scenery viewer with moving camera (ie imagine in each community scene, a button to "review" a new page where people can see automatic camera movement inspection ... )

@vincentfretin
Copy link
Contributor

You can probably start using something like this c-frame/aframe-cursor-teleport#55
and in the editor, define a sequence of points of interest with position with rotation, and move to the next point automatically. Maybe a change would be needed to define the animation duration based on the distance between the two points.
Or something like https://github.com/protyze/aframe-alongpath-component that seems to do just that.

@kfarr
Copy link
Contributor Author

kfarr commented Mar 20, 2024

Great feedback @vincentfretin thank you!

Another example method from @mrxz demonstrated here: https://fingerpaint.fern.solutions/ and described:

It's a single camera entity with a component that handles all the movement and 'switching'. There's a list of "shots", where each shot is defined as a starting position, end position, looking direction (or lookAt target), fov and a duration. Each tick the component simply updates all the properties on the camera. If a shot ended, the next position and orientation will be that of the next shot, creating the illusion that it switched to a "different camera".

@vincentfretin
Copy link
Contributor

If found again this tweet, camera movement through a gaussian splat, looks good:
https://twitter.com/tommyoshima/status/1753235906776244526

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants