-
Notifications
You must be signed in to change notification settings - Fork 781
Make vkb::sg::Node a unified class vkb::scene_graph::Node<bindingType> #1413
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
Conversation
cd6dea9 to
7324c7a
Compare
7324c7a to
4893bab
Compare
SaschaWillems
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.
LGTM
gary-sweet
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.
Indeed! That needs some closer investigation. Marking this PR as a draft, for now. |
|
Sadly my C++ skills aren't good enough to describe or fix the underlying issue, but when debugging it looks the dynamic cast to `NodeC´ for child/parent relations fails. Which matches the missing rotations/translations in the conditional rendering sample. In auto parent = node.get_parent();Calls into return dynamic_cast<NodeC *>(parent);That dynamic cast fails and as such returns NULL instead. |
+ two minor improvements
03d5145
Great catch! That |
gary-sweet
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 better now, thanks

Description
Next class unified between C- and C++-bindings.
This "unification" without a prior HPP-version of
Nodeis necessary to unify classes that actually use thisNodeclass.Build tested on Win10 with VS2022. Run tested on Win10 with NVidia GPU.
General Checklist:
Please ensure the following points are checked:
Note: The Samples CI runs a number of checks including:
If this PR contains framework changes:
batchcommand line argument to make sure all samples still work properlySample Checklist
If your PR contains a new or modified sample, these further checks must be carried out in addition to the General Checklist: