AnimGraph.m_connection_data_storage size based on input sockets not number of connections. #6

Closed
opened 2023-04-01 14:07:32 +02:00 by martin · 1 comment

Currently the block AnimGraph.m_connection_data_storage is generally too big and scales with number of connections in the graph, instead of the number of output sockets.

However, a connection alwas ensures that the same address is used for the output and input sockets we waste space here.

Currently the block AnimGraph.m_connection_data_storage is generally too big and scales with number of connections in the graph, instead of the number of output sockets. However, a connection alwas ensures that the same address is used for the output and input sockets we waste space here.
martin added this to the Hierarchical Blend Tree project 2024-05-08 00:02:20 +02:00
martin added the
runtime
label 2024-05-08 00:14:23 +02:00
Poster
Owner

Fixed as of cd56efca3d. Could still be improved / streamlined to make it easier to understand what actually ends up in AnimGraphBlendTree::m_input_buffer, AnimGraphBlendTree::m_output_buffer, AnimGraphBlendTree::m_connection_storage_buffer but will leave that for another cleanup in #14.

Fixed as of cd56efca3d53. Could still be improved / streamlined to make it easier to understand what actually ends up in `AnimGraphBlendTree::m_input_buffer, AnimGraphBlendTree::m_output_buffer, AnimGraphBlendTree::m_connection_storage_buffer` but will leave that for another cleanup in #14.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: martin/AnimTestbed#6
There is no content yet.