-
Notifications
You must be signed in to change notification settings - Fork 117
tweak(tree): Decouple tree sway, topple and sink time step from render update #1652
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
tweak(tree): Decouple tree sway, topple and sink time step from render update #1652
Conversation
GeneralsMD/Code/GameEngineDevice/Source/W3DDevice/GameClient/W3DTreeBuffer.cpp
Outdated
Show resolved
Hide resolved
38d536d to
4e24452
Compare
4e24452 to
25727a1
Compare
|
Updated. |
Skyaero42
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me
Skyaero42
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trees seem to sway correctly
25727a1 to
210e8f9
Compare
|
Replicated SwayClientUpdate in Generals without conflicts. Things in W3DTreeBuffer not replicated because Generals version of it is old. |
This change decouples tree sway, topple and sink time step from render update.
Note that there are 2 kinds of trees:
Only optimized trees will enjoy full decoupling.
The unoptimized trees use the following modules:
We cannot decouple ToppleUpdate and SlowDeathBehavior from logic.
TODO