|
Blender V5.3
|
#include <draw_shader_shared.hh>
Public Member Functions | |
ObjectMatrices | |
| void | sync (const Object &object) |
| void | sync (const float4x4 &model_matrix) |
Transform Point | |
Space conversion helpers for points (coordinates). | |
| float3 | point_object_to_world (float3 lP) const |
| float3 | point_world_to_object (float3 P) const |
| float3 | point_object_to_view (ViewMatrices view, float3 lP) const |
| float3 | point_view_to_object (ViewMatrices view, float3 vP) const |
| float4 | point_object_to_homogenous (ViewMatrices view, float3 lP) const |
| float3 | point_object_to_ndc (ViewMatrices view, float3 lP) const |
Public Attributes | |
| float4x4 | model |
| float4x4 | model_inverse |
Definition at line 350 of file draw_shader_shared.hh.
|
inline |
Definition at line 438 of file draw_shader_shared.hh.
References model, ViewMatrices::viewmat, and ViewMatrices::winmat.
Referenced by point_object_to_ndc().
|
inline |
Definition at line 443 of file draw_shader_shared.hh.
References ViewMatrices::perspective_divide(), and point_object_to_homogenous().
|
inline |
Definition at line 428 of file draw_shader_shared.hh.
References model, and ViewMatrices::viewmat.
Definition at line 418 of file draw_shader_shared.hh.
References model.
Referenced by draw::gsplat::eval_radiance(), draw::gsplat::eval_splat(), eevee::geom_mesh(), eevee::geom_volume(), eevee::shadow::usage::tag_usage_frag(), eevee::shadow::usage::tag_usage_vert(), workbench::prepass::vert_mesh(), workbench::volume::vertex_function(), and workbench::shadow::Resources::vertex_main().
|
inline |
Definition at line 433 of file draw_shader_shared.hh.
References model_inverse, and ViewMatrices::viewinv.
Referenced by workbench::volume::fragment_function().
Definition at line 423 of file draw_shader_shared.hh.
References model_inverse, and P.
Referenced by eevee::SurfVolume::eval_froxel(), eevee::geom_pointcloud(), eevee::shadow::usage::TagUsageTransparent::inflate_bounds(), eevee::shadow::usage::tag_usage_frag(), and eevee::shadow::usage::tag_usage_vert().
|
inline |
Definition at line 45 of file draw_resource.hh.
References blender::math::invert(), model, and model_inverse.
|
inline |
Definition at line 39 of file draw_resource.hh.
References model, and model_inverse.
| float4x4 ObjectMatrices::model |
Definition at line 351 of file draw_shader_shared.hh.
Referenced by direction_transform_light_to_world(), direction_transform_object_to_view(), direction_transform_object_to_world(), eevee::geom_curves(), eevee::geom_gsplat(), eevee::geom_mesh(), eevee::geom_pointcloud(), node_light_info_impl(), node_output_material_thickness(), normal_transform_view_to_object(), normal_transform_world_to_light(), normal_transform_world_to_object(), blender::operator<<(), point_object_to_homogenous(), point_object_to_view(), point_object_to_world(), point_transform_light_to_world(), point_transform_object_to_view(), point_transform_object_to_world(), sync(), sync(), workbench::prepass::vert_curves(), and workbench::prepass::vert_pointcloud().
| float4x4 ObjectMatrices::model_inverse |
Definition at line 352 of file draw_shader_shared.hh.
Referenced by direction_transform_view_to_object(), direction_transform_world_to_light(), direction_transform_world_to_object(), draw::gsplat::eval_radiance(), eevee::geom_mesh(), normal_transform_light_to_world(), normal_transform_object_to_view(), normal_transform_object_to_world(), blender::operator<<(), point_transform_view_to_object(), point_transform_world_to_light(), point_transform_world_to_object(), point_view_to_object(), point_world_to_object(), sync(), and sync().