Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ondemand rendering & better trackball #17

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

fl4p
Copy link

@fl4p fl4p commented Jan 13, 2016

World is listening for change events from the controls. On an event it invalidates to infinity so the render loop does not miss an update. Rendering will stop after the last change event plus 100ms.

Additionally I changed the trackball behavior a bit, it was quite squishy. Damping now depends on the state, e.g. whether the user is holding/dragging or if it has been released.

@domitry
Copy link
Owner

domitry commented Jan 13, 2016

OK, I'll review it a little bit later :)

@fl4p
Copy link
Author

fl4p commented Jan 13, 2016

Don't merge it, the movie animation does not render because it does not use any controller, sorry. Ill investigate this.

@domitry
Copy link
Owner

domitry commented Jan 13, 2016

OK!

@fl4p
Copy link
Author

fl4p commented Jan 13, 2016

This is enough, if all modifications to the scene are done via the interface of Stage.

@fl4p
Copy link
Author

fl4p commented Jan 17, 2016

Try out my new trackball implementation (3rd one)
http://f4bsch.github.io/trackball-testing/

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.

3 participants