f3d icon indicating copy to clipboard operation
f3d copied to clipboard

Add a CLI option to generate an animated camera orbit

Open mwestphal opened this issue 1 year ago • 7 comments

Is your feature request related to a problem? Please describe. F3D supports loading camera from files and provide a --camera-index CLI option to select it. F3D also support animation which could animation the selected camera. However, many file do not have any camera nor animations.

Lets add a dedicated CLI option to add an animated camera orbit

Suggested implementation

  • Add a CLI options --camera-orbit that let user specify the time to complete orbit
  • When used, this will add an animation with good default if there is none, or rely on existing animation if there is some
  • Add dedicated logic in animationManager::tick to update camera accordingly to camera parameters
  • Should support loading correctly at any time
  • Add tests

mwestphal avatar Dec 02 '24 07:12 mwestphal

related to https://github.com/f3d-app/f3d/issues/46

mwestphal avatar Dec 02 '24 07:12 mwestphal

So, idea is adding default camera path when there is none. and traveling that path within given time. If so i am taking this

voidrc avatar Jan 27 '25 21:01 voidrc

The idea is to be able to do a simple orbit over time, yes.

mwestphal avatar Jan 28 '25 07:01 mwestphal

Hi @v0id-strike

How is it going ? Do you need any help ?

mwestphal avatar Feb 22 '25 09:02 mwestphal

yeap. going well. will open Pull request by tommorow

voidrc avatar Feb 22 '25 20:02 voidrc

Sorry. i was supposed to open pull request today. and ran into issue

voidrc avatar Feb 23 '25 21:02 voidrc

Adressed here: https://github.com/f3d-app/f3d/pull/2016

mwestphal avatar Mar 01 '25 11:03 mwestphal

No feedback on https://github.com/f3d-app/f3d/pull/2016, unassigning for now.

@voidrc do not hesitate to comment if you want to keep this one :)

mwestphal avatar Jun 18 '25 05:06 mwestphal