Skip to content

Conversation

@voidrc
Copy link
Contributor

@voidrc voidrc commented Feb 24, 2025

added --camera-orbit option and test the option

Fix: #1743

@github-actions
Copy link

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

}

// Check if camera orbit option is enabled
if (this->Options.scene.camera.orbitTime > 0)
Copy link
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
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
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
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
Contributor Author

voidrc commented Feb 26, 2025

my bad : )

@mwestphal
Copy link
Member

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

@voidrc
Copy link
Contributor Author

voidrc commented Feb 27, 2025

On it 🫡

@mwestphal
Copy link
Member

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

@voidrc
Copy link
Contributor Author

voidrc commented Mar 11, 2025

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

@mwestphal
Copy link
Member

No problem, thanks for the feedback.

@mwestphal
Copy link
Member

Hey @v0id-strike

Do you need help moving forward ?

@mwestphal
Copy link
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