Skip to content

feature: default orbit in given time#2016

Closed
voidrc wants to merge 8 commits intof3d-app:masterfrom
voidrc:CamOrbit
Closed

feature: default orbit in given time#2016
voidrc wants to merge 8 commits intof3d-app:masterfrom
voidrc:CamOrbit

Conversation

@voidrc
Copy link
Copy Markdown
Contributor

@voidrc voidrc commented Feb 24, 2025

added --camera-orbit option and test the option

Fix: #1743

@github-actions
Copy link
Copy Markdown

You are modifying libf3d public API! ⚠️Please update bindings accordingly⚠️!
You can find them in their respective directories: python, java, webassembly.

Comment thread library/src/animationManager.cxx Outdated
}

// Check if camera orbit option is enabled
if (this->Options.scene.camera.orbitTime > 0)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont think camera orbit should be handled in animation, but it should be handled in the eventLoop directly.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I even think the camera orbit should be handled in the application event loop, not in the lib

namespace options {
namespace scene {
struct camera {
double orbit_time = 0.0;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that not how you add an option, look at options.json :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@voidrc
Copy link
Copy Markdown
Contributor Author

voidrc commented Feb 26, 2025

my bad : )

@mwestphal
Copy link
Copy Markdown
Member

So we discussed it in discord, lets implement that in the application event loop :)

@voidrc
Copy link
Copy Markdown
Contributor Author

voidrc commented Feb 27, 2025

On it 🫡

@mwestphal
Copy link
Copy Markdown
Member

Hi @v0id-strike ! Do you need help moving forward ?

@voidrc
Copy link
Copy Markdown
Contributor Author

voidrc commented Mar 11, 2025

Sorry, i was busy with semesters.
Will finish as soon as possible after semester

@mwestphal
Copy link
Copy Markdown
Member

No problem, thanks for the feedback.

@mwestphal
Copy link
Copy Markdown
Member

Hey @v0id-strike

Do you need help moving forward ?

@mwestphal
Copy link
Copy Markdown
Member

Hey @voidrc

Need any help moving forward ?

@voidrc voidrc closed this by deleting the head repository Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a CLI option to generate an animated camera orbit

2 participants