Blender V4.3
overlay_extra.cc File Reference
#include "DRW_render.hh"
#include "UI_resources.hh"
#include "BLI_math_color.h"
#include "BLI_math_matrix.hh"
#include "BLI_math_rotation.h"
#include "BLI_math_rotation.hh"
#include "BLI_math_vector.hh"
#include "BKE_anim_path.h"
#include "BKE_camera.h"
#include "BKE_constraint.h"
#include "BKE_curve.hh"
#include "BKE_global.hh"
#include "BKE_mball.hh"
#include "BKE_mesh.hh"
#include "BKE_modifier.hh"
#include "BKE_movieclip.h"
#include "BKE_object.hh"
#include "BKE_object_types.hh"
#include "BKE_tracking.h"
#include "BLI_listbase.h"
#include "DNA_camera_types.h"
#include "DNA_constraint_types.h"
#include "DNA_curve_types.h"
#include "DNA_fluid_types.h"
#include "DNA_gpencil_modifier_types.h"
#include "DNA_lightprobe_types.h"
#include "DNA_mesh_types.h"
#include "DNA_meta_types.h"
#include "DNA_modifier_types.h"
#include "DNA_pointcache_types.h"
#include "DNA_rigidbody_types.h"
#include "DEG_depsgraph_query.hh"
#include "ED_view3d.hh"
#include "overlay_private.hh"
#include "draw_common_c.hh"
#include "draw_manager_text.hh"

Go to the source code of this file.

Classes

union  OVERLAY_CameraInstanceData
 

Macros

#define BUF_INSTANCE   DRW_shgroup_call_buffer_instance
 
#define BUF_POINT(grp, format)   DRW_shgroup_call_buffer(grp, format, GPU_PRIM_POINTS)
 
#define BUF_LINE(grp, format)   DRW_shgroup_call_buffer(grp, format, GPU_PRIM_LINES)
 

Functions

void OVERLAY_extra_cache_init (OVERLAY_Data *vedata)
 
void OVERLAY_extra_point (OVERLAY_ExtraCallBuffers *cb, const float point[3], const float color[4])
 
void OVERLAY_extra_line_dashed (OVERLAY_ExtraCallBuffers *cb, const float start[3], const float end[3], const float color[4])
 
void OVERLAY_extra_line (OVERLAY_ExtraCallBuffers *cb, const float start[3], const float end[3], const int color_id)
 
OVERLAY_ExtraCallBuffersOVERLAY_extra_call_buffer_get (OVERLAY_Data *vedata, Object *ob)
 
void OVERLAY_extra_loose_points (OVERLAY_ExtraCallBuffers *cb, blender::gpu::Batch *geom, const float mat[4][4], const float color[4])
 
void OVERLAY_extra_wire (OVERLAY_ExtraCallBuffers *cb, blender::gpu::Batch *geom, const float mat[4][4], const float color[4])
 
static void OVERLAY_object_center (OVERLAY_ExtraCallBuffers *cb, Object *ob, OVERLAY_PrivateData *pd, const Scene *scene, ViewLayer *view_layer)
 
static void OVERLAY_object_name (Object *ob, int theme_id)
 
void OVERLAY_extra_cache_populate (OVERLAY_Data *vedata, Object *ob)
 
void OVERLAY_extra_blend_draw (OVERLAY_Data *vedata)
 
void OVERLAY_extra_draw (OVERLAY_Data *vedata)
 
void OVERLAY_extra_in_front_draw (OVERLAY_Data *vedata)
 
void OVERLAY_extra_centers_draw (OVERLAY_Data *vedata)
 
Empties
void OVERLAY_empty_shape (OVERLAY_ExtraCallBuffers *cb, const float mat[4][4], const float draw_size, const char draw_type, const float color[4])
 
void OVERLAY_empty_cache_populate (OVERLAY_Data *vedata, Object *ob)
 
static void OVERLAY_bounds (OVERLAY_ExtraCallBuffers *cb, Object *ob, const float *color, char boundtype, bool around_origin)
 
static void OVERLAY_collision (OVERLAY_ExtraCallBuffers *cb, Object *ob, const float *color)
 
static void OVERLAY_texture_space (OVERLAY_ExtraCallBuffers *cb, Object *ob, const float *color)
 
static void OVERLAY_forcefield (OVERLAY_ExtraCallBuffers *cb, Object *ob, ViewLayer *view_layer)
 
Lights
void OVERLAY_light_cache_populate (OVERLAY_Data *vedata, Object *ob)
 
Light-probe
void OVERLAY_lightprobe_cache_populate (OVERLAY_Data *vedata, Object *ob)
 
Speaker
void OVERLAY_speaker_cache_populate (OVERLAY_Data *vedata, Object *ob)
 
Camera
static void camera_view3d_reconstruction (OVERLAY_ExtraCallBuffers *cb, Scene *scene, View3D *v3d, Object *ob, const float color[4])
 
static float camera_offaxis_shiftx_get (Scene *scene, Object *ob, const OVERLAY_CameraInstanceData *instdata, bool right_eye)
 
static void camera_stereoscopy_extra (OVERLAY_ExtraCallBuffers *cb, Scene *scene, View3D *v3d, Object *ob, const OVERLAY_CameraInstanceData *instdata)
 
void OVERLAY_camera_cache_populate (OVERLAY_Data *vedata, Object *ob)
 
Relationships & constraints
static void OVERLAY_relationship_lines (OVERLAY_ExtraCallBuffers *cb, Depsgraph *depsgraph, Scene *scene, Object *ob)
 
Volumetric / Smoke sim
static void OVERLAY_volume_extra (OVERLAY_ExtraCallBuffers *cb, OVERLAY_Data *data, Object *ob, ModifierData *md, Scene *scene, const float *color)
 

Macro Definition Documentation

◆ BUF_INSTANCE

◆ BUF_LINE

#define BUF_LINE ( grp,
format )   DRW_shgroup_call_buffer(grp, format, GPU_PRIM_LINES)

◆ BUF_POINT

#define BUF_POINT ( grp,
format )   DRW_shgroup_call_buffer(grp, format, GPU_PRIM_POINTS)

Function Documentation

◆ camera_offaxis_shiftx_get()

◆ camera_stereoscopy_extra()

static void camera_stereoscopy_extra ( OVERLAY_ExtraCallBuffers * cb,
Scene * scene,
View3D * v3d,
Object * ob,
const OVERLAY_CameraInstanceData * instdata )
static

Draw the stereo 3d support elements (cameras, plane, volume). They are only visible when not looking through the camera:

Definition at line 1041 of file overlay_extra.cc.

References add_v3_v3(), BKE_camera_multiview_model_matrix(), BKE_camera_multiview_model_matrix_scaled(), BKE_camera_multiview_render(), DRW_Global::block, CAM_S3D_OFFAXIS, CAM_S3D_PARALLEL, CAM_S3D_TOE, OVERLAY_ExtraCallBuffers::camera_frame, camera_offaxis_shiftx_get(), OVERLAY_ExtraCallBuffers::camera_volume, OVERLAY_ExtraCallBuffers::camera_volume_frame, OVERLAY_CameraInstanceData::center_x, OVERLAY_CameraInstanceData::center_y, Camera::clip_end, Camera::clip_start, OVERLAY_CameraInstanceData::color, GlobalsUboStorage::color_wire, CameraStereoSettings::convergence_distance, CameraStereoSettings::convergence_mode, copy_v2_fl2(), copy_v3_v3(), OVERLAY_CameraInstanceData::corner_x, OVERLAY_CameraInstanceData::corner_y, cross_v3_v3v3(), Object::data, OVERLAY_CameraInstanceData::depth, DRW_buffer_add_entry_struct(), DRW_state_is_select(), G_draw, madd_v3_v3fl(), OVERLAY_CameraInstanceData::mat, normalize_v3(), OVERLAY_extra_line_dashed(), OVERLAY_CameraInstanceData::pos, Camera::stereo, View3D::stereo3d_convergence_alpha, View3D::stereo3d_flag, View3D::stereo3d_volume_alpha, STEREO_LEFT_NAME, STEREO_RIGHT_NAME, V3D_S3D_DISPCAMERAS, V3D_S3D_DISPPLANE, V3D_S3D_DISPVOLUME, OVERLAY_CameraInstanceData::volume_end, OVERLAY_CameraInstanceData::volume_sta, and zero_v3().

Referenced by OVERLAY_camera_cache_populate().

◆ camera_view3d_reconstruction()

◆ OVERLAY_bounds()

◆ OVERLAY_camera_cache_populate()

void OVERLAY_camera_cache_populate ( OVERLAY_Data * vedata,
Object * ob )

Definition at line 1141 of file overlay_extra.cc.

References Camera::bg_images, BKE_camera_multiview_model_matrix(), BKE_camera_object_dof_distance(), BKE_camera_view_frame_ex(), BLI_listbase_is_empty(), CAM_SHOW_BG_IMAGE, CAM_SHOWLIMITS, CAM_SHOWMIST, View3D::camera, OVERLAY_ExtraCallBuffers::camera_distances, OVERLAY_ExtraCallBuffers::camera_frame, camera_offaxis_shiftx_get(), camera_stereoscopy_extra(), OVERLAY_ExtraCallBuffers::camera_tria, camera_view3d_reconstruction(), OVERLAY_CameraInstanceData::center_x, OVERLAY_CameraInstanceData::center_y, Camera::clip_end, OVERLAY_CameraInstanceData::clip_end, OVERLAY_CameraInstanceData::clip_sta, Camera::clip_start, OVERLAY_CameraInstanceData::color, copy_v3_fl(), copy_v3_fl3(), copy_v3_v3(), copy_v4_v4(), OVERLAY_CameraInstanceData::corner_x, OVERLAY_CameraInstanceData::corner_y, Object::data, DEG_get_evaluated_object(), DRWContextState::depsgraph, OVERLAY_CameraInstanceData::depth, OVERLAY_CameraInstanceData::dist_color_id, Camera::drawsize, DRW_buffer_add_entry_struct(), DRW_context_state_get(), DRW_object_wire_theme_get(), DRW_state_is_image_render(), DRW_state_is_select(), ELEM, fabsf, Camera::flag, View3D::flag2, OVERLAY_CameraInstanceData::focus, invert_v3(), len_v3(), OVERLAY_CameraInstanceData::mat, mid_v2_v2v2(), OVERLAY_CameraInstanceData::mist_end, OVERLAY_CameraInstanceData::mist_sta, mul_v2_fl(), mul_v3_fl(), mul_v3_v3(), View3D::multiview_eye, normalize_m4_m4(), OVERLAY_extra_call_buffer_get(), OVERLAY_image_camera_cache_populate(), RegionView3D::persp, R_MULTIVIEW, DRWContextState::rv3d, RV3D_CAMOB, SCE_VIEWS_FORMAT_STEREO_3D, DRWContextState::scene, View3D::stereo3d_flag, STEREO_LEFT_NAME, STEREO_RIGHT_ID, STEREO_RIGHT_NAME, sub_v2_v2v2(), DRWContextState::v3d, V3D_SHOW_RECONSTRUCTION, and DRWContextState::view_layer.

Referenced by OVERLAY_cache_populate().

◆ OVERLAY_collision()

◆ OVERLAY_empty_cache_populate()

◆ OVERLAY_empty_shape()

◆ OVERLAY_extra_blend_draw()

void OVERLAY_extra_blend_draw ( OVERLAY_Data * vedata)

◆ OVERLAY_extra_cache_init()

void OVERLAY_extra_cache_init ( OVERLAY_Data * vedata)

Definition at line 55 of file overlay_extra.cc.

References DRW_Global::block, DRW_Global::block_ubo, BUF_INSTANCE, BUF_LINE, BUF_POINT, OVERLAY_ExtraCallBuffers::camera_distances, OVERLAY_ExtraCallBuffers::camera_frame, OVERLAY_ExtraCallBuffers::camera_tria, OVERLAY_ExtraCallBuffers::camera_volume, OVERLAY_ExtraCallBuffers::camera_volume_frame, OVERLAY_ExtraCallBuffers::center_active, OVERLAY_ExtraCallBuffers::center_deselected, OVERLAY_ExtraCallBuffers::center_deselected_lib, OVERLAY_ExtraCallBuffers::center_selected, OVERLAY_ExtraCallBuffers::center_selected_lib, OVERLAY_PrivateData::clipping_state, GlobalsUboStorage::color_active, GlobalsUboStorage::color_deselect, GlobalsUboStorage::color_library, GlobalsUboStorage::color_library_select, GlobalsUboStorage::color_select, DefaultTextureList::depth, DRW_cache_bone_arrows_get(), DRW_cache_camera_distances_get(), DRW_cache_camera_frame_get(), DRW_cache_camera_tria_get(), DRW_cache_camera_tria_wire_get(), DRW_cache_camera_volume_get(), DRW_cache_camera_volume_wire_get(), DRW_cache_circle_get(), DRW_cache_empty_capsule_body_get(), DRW_cache_empty_capsule_cap_get(), DRW_cache_empty_cone_get(), DRW_cache_empty_cube_get(), DRW_cache_empty_cylinder_get(), DRW_cache_empty_sphere_get(), DRW_cache_field_cone_limit_get(), DRW_cache_field_curve_get(), DRW_cache_field_force_get(), DRW_cache_field_sphere_limit_get(), DRW_cache_field_tube_limit_get(), DRW_cache_field_vortex_get(), DRW_cache_field_wind_get(), DRW_cache_groundline_get(), DRW_cache_light_area_disk_lines_get(), DRW_cache_light_area_square_lines_get(), DRW_cache_light_icon_inner_lines_get(), DRW_cache_light_icon_outer_lines_get(), DRW_cache_light_icon_sun_rays_get(), DRW_cache_light_point_lines_get(), DRW_cache_light_spot_lines_get(), DRW_cache_light_spot_volume_get(), DRW_cache_light_sun_lines_get(), DRW_cache_lightprobe_cube_get(), DRW_cache_lightprobe_grid_get(), DRW_cache_lightprobe_planar_get(), DRW_cache_plain_axes_get(), DRW_cache_quad_get(), DRW_cache_quad_wires_get(), DRW_cache_single_arrow_get(), DRW_cache_speaker_get(), DRW_cache_sphere_get(), DRW_LOD_LOW, DRW_PASS_CREATE, DRW_shgroup_create(), DRW_shgroup_create_sub(), DRW_shgroup_state_disable(), DRW_shgroup_state_enable(), DRW_shgroup_uniform_block, DRW_shgroup_uniform_bool_copy(), DRW_shgroup_uniform_texture(), DRW_shgroup_uniform_vec4_copy(), DRW_STATE_BLEND_ALPHA, DRW_STATE_CULL_BACK, DRW_STATE_CULL_FRONT, DRW_STATE_DEPTH_ALWAYS, DRW_STATE_DEPTH_LESS_EQUAL, DRW_STATE_IN_FRONT_SELECT, DRW_state_is_fbo(), DRW_state_is_select(), DRW_STATE_WRITE_COLOR, DRW_STATE_WRITE_DEPTH, DRW_viewport_texture_list_get(), OVERLAY_TextureList::dummy_depth_tx, OVERLAY_ExtraCallBuffers::empty_axes, OVERLAY_ExtraCallBuffers::empty_capsule_body, OVERLAY_ExtraCallBuffers::empty_capsule_cap, OVERLAY_ExtraCallBuffers::empty_circle, OVERLAY_ExtraCallBuffers::empty_cone, OVERLAY_ExtraCallBuffers::empty_cube, OVERLAY_ExtraCallBuffers::empty_cylinder, OVERLAY_ExtraCallBuffers::empty_image_frame, OVERLAY_ExtraCallBuffers::empty_plain_axes, OVERLAY_ExtraCallBuffers::empty_single_arrow, OVERLAY_ExtraCallBuffers::empty_sphere, OVERLAY_ExtraCallBuffers::empty_sphere_solid, OVERLAY_PassList::extra_blend_ps, OVERLAY_PrivateData::extra_call_buffers, OVERLAY_PassList::extra_centers_ps, OVERLAY_ExtraCallBuffers::extra_dashed_lines, OVERLAY_PrivateData::extra_grid_grp, OVERLAY_PassList::extra_grid_ps, OVERLAY_ExtraCallBuffers::extra_lines, OVERLAY_ExtraCallBuffers::extra_loose_points, OVERLAY_ExtraCallBuffers::extra_points, OVERLAY_PassList::extra_ps, OVERLAY_ExtraCallBuffers::extra_wire, OVERLAY_ExtraCallBuffers::field_cone_limit, OVERLAY_ExtraCallBuffers::field_curve, OVERLAY_ExtraCallBuffers::field_force, OVERLAY_ExtraCallBuffers::field_sphere_limit, OVERLAY_ExtraCallBuffers::field_tube_limit, OVERLAY_ExtraCallBuffers::field_vortex, OVERLAY_ExtraCallBuffers::field_wind, G, G_draw, G_TRANSFORM_OBJ, OVERLAY_ExtraCallBuffers::groundline, OVERLAY_InstanceFormats::instance_extra, OVERLAY_InstanceFormats::instance_pos, OVERLAY_ExtraCallBuffers::light_area, OVERLAY_ExtraCallBuffers::light_icon_inner, OVERLAY_ExtraCallBuffers::light_icon_outer, OVERLAY_ExtraCallBuffers::light_icon_sun_rays, OVERLAY_ExtraCallBuffers::light_point, OVERLAY_ExtraCallBuffers::light_spot, OVERLAY_ExtraCallBuffers::light_spot_cone_back, OVERLAY_ExtraCallBuffers::light_spot_cone_front, OVERLAY_ExtraCallBuffers::light_sun, OVERLAY_ExtraCallBuffers::origin_xform, OVERLAY_shader_extra(), OVERLAY_shader_extra_grid(), OVERLAY_shader_extra_groundline(), OVERLAY_shader_extra_loose_point(), OVERLAY_shader_extra_point(), OVERLAY_shader_extra_wire(), OVERLAY_shader_instance_formats_get(), OVERLAY_StorageList::pd, OVERLAY_InstanceFormats::point_extra, OVERLAY_InstanceFormats::pos, OVERLAY_InstanceFormats::pos_color, OVERLAY_ExtraCallBuffers::probe_cube, OVERLAY_ExtraCallBuffers::probe_grid, OVERLAY_ExtraCallBuffers::probe_planar, OVERLAY_Data::psl, OVERLAY_ExtraCallBuffers::solid_quad, OVERLAY_ExtraCallBuffers::speaker, state, OVERLAY_Data::stl, tex, OVERLAY_Data::txl, and OVERLAY_InstanceFormats::wire_extra.

Referenced by OVERLAY_cache_init().

◆ OVERLAY_extra_cache_populate()

◆ OVERLAY_extra_call_buffer_get()

◆ OVERLAY_extra_centers_draw()

void OVERLAY_extra_centers_draw ( OVERLAY_Data * vedata)

◆ OVERLAY_extra_draw()

void OVERLAY_extra_draw ( OVERLAY_Data * vedata)

Definition at line 1666 of file overlay_extra.cc.

References DRW_draw_pass(), OVERLAY_PassList::extra_ps, and OVERLAY_Data::psl.

Referenced by OVERLAY_draw_scene().

◆ OVERLAY_extra_in_front_draw()

void OVERLAY_extra_in_front_draw ( OVERLAY_Data * vedata)

Definition at line 1671 of file overlay_extra.cc.

References DRW_draw_pass(), OVERLAY_PassList::extra_ps, and OVERLAY_Data::psl.

Referenced by OVERLAY_draw_scene().

◆ OVERLAY_extra_line()

void OVERLAY_extra_line ( OVERLAY_ExtraCallBuffers * cb,
const float start[3],
const float end[3],
const int color_id )

◆ OVERLAY_extra_line_dashed()

void OVERLAY_extra_line_dashed ( OVERLAY_ExtraCallBuffers * cb,
const float start[3],
const float end[3],
const float color[4] )

◆ OVERLAY_extra_loose_points()

void OVERLAY_extra_loose_points ( OVERLAY_ExtraCallBuffers * cb,
blender::gpu::Batch * geom,
const float mat[4][4],
const float color[4] )

◆ OVERLAY_extra_point()

void OVERLAY_extra_point ( OVERLAY_ExtraCallBuffers * cb,
const float point[3],
const float color[4] )

◆ OVERLAY_extra_wire()

void OVERLAY_extra_wire ( OVERLAY_ExtraCallBuffers * cb,
blender::gpu::Batch * geom,
const float mat[4][4],
const float color[4] )

◆ OVERLAY_forcefield()

◆ OVERLAY_light_cache_populate()

◆ OVERLAY_lightprobe_cache_populate()

void OVERLAY_lightprobe_cache_populate ( OVERLAY_Data * vedata,
Object * ob )

Definition at line 709 of file overlay_extra.cc.

References LightProbe::attenuation_type, Object::base_flag, BASE_SELECTED, LightProbe::clipend, LightProbe::clipsta, copy_m4_m4(), Object::data, LightProbe::distinf, LightProbe::distpar, DRW_buffer_add_entry, DRW_context_state_get(), DRW_object_wire_theme_get(), DRW_shgroup_call_procedural_points(), DRW_shgroup_create_sub(), DRW_shgroup_uniform_mat4_copy(), DRW_state_is_select(), OVERLAY_ExtraCallBuffers::empty_cube, Object::empty_drawsize, OVERLAY_PrivateData::extra_grid_grp, LightProbe::falloff, LightProbe::flag, LightProbe::grid_resolution_x, LightProbe::grid_resolution_y, LightProbe::grid_resolution_z, LightProbe::grid_surfel_density, OVERLAY_ExtraCallBuffers::groundline, LIGHTPROBE_FLAG_CUSTOM_PARALLAX, LIGHTPROBE_FLAG_SHOW_CLIP_DIST, LIGHTPROBE_FLAG_SHOW_DATA, LIGHTPROBE_FLAG_SHOW_INFLUENCE, LIGHTPROBE_FLAG_SHOW_PARALLAX, LIGHTPROBE_SHAPE_BOX, LIGHTPROBE_TYPE_PLANE, LIGHTPROBE_TYPE_SPHERE, LIGHTPROBE_TYPE_VOLUME, mul_v3_fl(), normalize_m4_m4(), normalize_v3_length(), OB_CUBE, OB_EMPTY_SPHERE, OB_SINGLE_ARROW, OVERLAY_empty_shape(), OVERLAY_extra_call_buffer_get(), LightProbe::parallax_type, OVERLAY_StorageList::pd, pos, OVERLAY_ExtraCallBuffers::probe_cube, OVERLAY_ExtraCallBuffers::probe_grid, OVERLAY_ExtraCallBuffers::probe_planar, blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), reduce_max(), OVERLAY_ExtraCallBuffers::solid_quad, OVERLAY_Data::stl, TH_ACTIVE, LightProbe::type, DRWContextState::view_layer, and zero_v3().

Referenced by OVERLAY_cache_populate().

◆ OVERLAY_object_center()

◆ OVERLAY_object_name()

static void OVERLAY_object_name ( Object * ob,
int theme_id )
static

◆ OVERLAY_relationship_lines()

◆ OVERLAY_speaker_cache_populate()

◆ OVERLAY_texture_space()

◆ OVERLAY_volume_extra()

static void OVERLAY_volume_extra ( OVERLAY_ExtraCallBuffers * cb,
OVERLAY_Data * data,
Object * ob,
ModifierData * md,
Scene * scene,
const float * color )
static

Definition at line 1409 of file overlay_extra.cc.

References axis_dominant_v3_single(), FluidDomainSettings::axis_slice_method, AXIS_SLICE_SINGLE, FluidDomainSettings::cell_size, FluidDomainSettings::coba_field, copy_v3_v3(), FluidModifierData::domain, FluidDomainSettings::draw_velocity, DRW_buffer_add_entry, DRW_fluid_ensure_flags(), DRW_fluid_ensure_range_field(), DRW_shgroup_call_procedural_lines(), DRW_shgroup_create(), DRW_shgroup_uniform_bool_copy(), DRW_shgroup_uniform_float_copy(), DRW_shgroup_uniform_int_copy(), DRW_shgroup_uniform_ivec3_copy(), DRW_shgroup_uniform_texture(), DRW_shgroup_uniform_vec3_copy(), DRW_shgroup_uniform_vec4_copy(), DRW_smoke_ensure_velocity(), DRW_view_viewmat_get(), OVERLAY_ExtraCallBuffers::empty_cube, FluidDomainSettings::fluid, FLUID_DISPLAY_INTERP_CLOSEST, FLUID_DOMAIN_FIELD_FLAGS, FLUID_DOMAIN_VECTOR_FIELD_FORCE, FLUID_GRIDLINE_COLOR_TYPE_FLAGS, FLUID_GRIDLINE_COLOR_TYPE_RANGE, FluidDomainSettings::gridlines_cell_filter, FluidDomainSettings::gridlines_color_field, FluidDomainSettings::gridlines_lower_bound, FluidDomainSettings::gridlines_range_color, FluidDomainSettings::gridlines_upper_bound, FluidDomainSettings::interp_method, madd_v3fl_v3fl_v3fl_v3i(), min, mul_m4_m4m4(), OVERLAY_shader_volume_gridlines(), OVERLAY_shader_volume_velocity(), FluidDomainSettings::p0, FluidDomainSettings::point_cache, FluidDomainSettings::res, FluidDomainSettings::res_min, FluidDomainSettings::show_gridlines, FluidDomainSettings::slice_axis, SLICE_AXIS_AUTO, FluidDomainSettings::slice_depth, PointCache::startframe, FluidDomainSettings::tex_flags, FluidDomainSettings::tex_range_field, FluidDomainSettings::tex_velocity_x, FluidDomainSettings::tex_velocity_y, FluidDomainSettings::tex_velocity_z, translate_m4(), FluidDomainSettings::use_coba, VECTOR_DRAW_MAC, FluidDomainSettings::vector_draw_mac_components, VECTOR_DRAW_MAC_X, VECTOR_DRAW_MAC_Y, VECTOR_DRAW_MAC_Z, VECTOR_DRAW_NEEDLE, FluidDomainSettings::vector_draw_type, FluidDomainSettings::vector_field, FluidDomainSettings::vector_scale, and FluidDomainSettings::vector_scale_with_magnitude.

Referenced by OVERLAY_extra_cache_populate().