|
Blender V5.3
|
#include <eevee_velocity.bsl.hh>
Public Member Functions | |
| void | local_position_deltas (float3 lP, int vert_id, float3 &lP_prev, float3 &lP_next, uint resource_id) const |
| void | vertex_velocity (float3 lP_prev, float3 lP, float3 lP_next, float3 &motion_prev, float3 &motion_next, uint resource_id, float4x4 model_mat) const |
Public Attributes | |
| CameraVelocity | camera |
| const float4x4(& | velocity_obj_prev_buf )[] |
| const float4x4(& | velocity_obj_next_buf )[] |
| const float4(& | velocity_geo_prev_buf )[] |
| const float4(& | velocity_geo_next_buf )[] |
| const VelocityIndex(& | velocity_indirection_buf )[] |
Definition at line 336 of file eevee_velocity.bsl.hh.
|
inline |
Given a triple of position, compute the previous and next motion vectors. Returns a tuple of local space motion deltas.
Definition at line 350 of file eevee_velocity.bsl.hh.
References velocity_geo_next_buf, velocity_geo_prev_buf, and velocity_indirection_buf.
|
inline |
Given a triple of position, compute the previous and next motion vectors. Returns a tuple of world space motion deltas. WARNING: The returned motion_next is invalid when rendering the viewport.
Definition at line 370 of file eevee_velocity.bsl.hh.
References P, transform_point(), velocity_indirection_buf, velocity_obj_next_buf, and velocity_obj_prev_buf.
| CameraVelocity eevee::GeometryVelocity::camera |
Definition at line 337 of file eevee_velocity.bsl.hh.
| const float4(& eevee::GeometryVelocity::velocity_geo_next_buf)[] |
Definition at line 342 of file eevee_velocity.bsl.hh.
Referenced by local_position_deltas().
| const float4(& eevee::GeometryVelocity::velocity_geo_prev_buf)[] |
Definition at line 341 of file eevee_velocity.bsl.hh.
Referenced by local_position_deltas().
| const VelocityIndex(& eevee::GeometryVelocity::velocity_indirection_buf)[] |
Definition at line 344 of file eevee_velocity.bsl.hh.
Referenced by local_position_deltas(), and vertex_velocity().
| const float4x4(& eevee::GeometryVelocity::velocity_obj_next_buf)[] |
Definition at line 340 of file eevee_velocity.bsl.hh.
Referenced by vertex_velocity().
| const float4x4(& eevee::GeometryVelocity::velocity_obj_prev_buf)[] |
Definition at line 339 of file eevee_velocity.bsl.hh.
Referenced by vertex_velocity().