Skip to content

Model translation#4582

Merged
Goober5000 merged 7 commits into
scp-fs2open:masterfrom
Goober5000:model_translation
Aug 29, 2022
Merged

Model translation#4582
Goober5000 merged 7 commits into
scp-fs2open:masterfrom
Goober5000:model_translation

Conversation

@Goober5000

@Goober5000 Goober5000 commented Aug 22, 2022

Copy link
Copy Markdown
Contributor

This implements model translation, including the following:

  • submodel support
  • animation support
  • basic POF continuous translation
  • basic POF stepped translation
  • SEXPs to control translation
  • scripting support to read and write submodel offsets

This is merely the latest step in a long line of PRs leading to this point, starting with Swifty's submodel instance refactor and continuing through my submodel overhaul PR's and Lafiel's animation PRs.

This PR is in draft status until #4560 is merged and until we can coordinate a multi version bump.

@Goober5000 Goober5000 added sexps A feature or issue related to SEXPs models Issues or features having to do with model data (like animations or geometry) feature A totally new sort of functionality labels Aug 22, 2022

@BMagnu BMagnu left a comment

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.

Looks mostly good, Some questions and comments

Comment thread code/network/multi.h Outdated
Comment thread code/parse/sexp.cpp
Comment thread code/scripting/api/objs/modelinstance.cpp Outdated
Comment thread code/scripting/api/objs/subsystem.cpp Outdated

@BMagnu BMagnu left a comment

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.

We need to actually remember to amend the comments for the multi bump, but otherwise, looks good to me now.

Comment thread code/network/multi.h Outdated
@Goober5000

Copy link
Copy Markdown
Contributor Author

Ok, I left the comments modified but removed the multi version bump. I also rebased onto the latest master. I'll wait until the next nightly before taking this out of draft status.

@Goober5000 Goober5000 marked this pull request as ready for review August 28, 2022 21:43
@Goober5000 Goober5000 requested a review from asarium as a code owner August 28, 2022 21:43
@Goober5000 Goober5000 removed the request for review from asarium August 28, 2022 21:44
@Goober5000 Goober5000 merged commit ba82e4e into scp-fs2open:master Aug 29, 2022
@Goober5000 Goober5000 deleted the model_translation branch August 29, 2022 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature A totally new sort of functionality models Issues or features having to do with model data (like animations or geometry) sexps A feature or issue related to SEXPs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants