#include <OSPRay2Renderer.h>
Definition at line 139 of file OSPRay2Renderer.h.
Referenced by set_camera_projection.
normal constructors and destructors.
Definition at line 122 of file OSPRay2Renderer.C.
References check_verbose_env, ResizeArray< osp_cylinder_array_color >::clear, ResizeArray< osp_sphere_array_color >::clear, ResizeArray< osp_trimesh_v3f_n3f_c3f >::clear, ResizeArray< OSPInstance >::clear, DBG, destroy_scene, init_materials, NULL, RT_BACKGROUND_TEXTURE_SOLID, RT_FOG_NONE, RT_PATHTRACER, RT_SCIVIS, RT_SHADOWS_OFF, RT_VERB_DEBUG, RT_VERB_MIN, RT_VERB_TIMING, vmd_ospray2_error_callback, vmd_ospray2_status_callback, wkf_timer_create, wkf_timer_start, and wkf_timer_timenow.
destructor.
Definition at line 252 of file OSPRay2Renderer.C.
References DBG, destroy_scene, NULL, and wkf_timer_destroy.
Definition at line 2257 of file OSPRay2Renderer.C.
References ResizeArray< osp_directional_light >::append, osp_directional_light::color, DBG, osp_directional_light::dir, and vec_copy.
Definition at line 2023 of file OSPRay2Renderer.C.
References osp_material::ambient, ResizeArray< osp_material >::appendN, osp_material::diffuse, ResizeArray< osp_material >::num, osp_material::opacity, osp_material::reflectivity, RT_PATHTRACER, RT_SCIVIS, RT_VERB_DEBUG, osp_material::shininess, osp_material::specular, and osp_material::transmode.
Definition at line 2267 of file OSPRay2Renderer.C.
References ResizeArray< osp_positional_light >::append, osp_positional_light::color, DBG, osp_positional_light::pos, and vec_copy.
Definition at line 2224 of file OSPRay2Renderer.C.
References ResizeArray< osp_cylinder_array_color >::append, osp_cylinder_array_color::colors, osp_cylinder_array_color::cols, osp_cylinder_array_color::cyls, osp_cylinder_array_color::geom, osp_cylinder_array_color::ind, osp_cylinder_array_color::indices, osp_cylinder_array_color::matindex, osp_cylinder_array_color::model, NULL, set_material, and osp_cylinder_array_color::vertsrads.
Referenced by cylinder_array, and cylinder_array_color.
Definition at line 2165 of file OSPRay2Renderer.C.
References ResizeArray< osp_trimesh_v3f_n3f_c3f >::append, osp_trimesh_v3f_n3f_c3f::c, osp_trimesh_v3f_n3f_c3f::cols, osp_trimesh_v3f_n3f_c3f::f, osp_trimesh_v3f_n3f_c3f::geom, osp_trimesh_v3f_n3f_c3f::ind, osp_trimesh_v3f_n3f_c3f::matindex, osp_trimesh_v3f_n3f_c3f::model, osp_trimesh_v3f_n3f_c3f::n, osp_trimesh_v3f_n3f_c3f::norms, NULL, set_material, osp_trimesh_v3f_n3f_c3f::v, and osp_trimesh_v3f_n3f_c3f::verts.
Referenced by tricolor_list, trimesh_c4n3v3, trimesh_c4u_n3b_v3f, trimesh_c4u_n3f_v3f, trimesh_n3b_v3f, trimesh_n3f_v3f, and tristrip.
Definition at line 2196 of file OSPRay2Renderer.C.
References ResizeArray< osp_sphere_array_color >::append, osp_sphere_array_color::cents, osp_sphere_array_color::colors, osp_sphere_array_color::cols, osp_sphere_array_color::geom, osp_sphere_array_color::matindex, osp_sphere_array_color::model, NULL, osp_sphere_array_color::radii, osp_sphere_array_color::rads, set_material, and osp_sphere_array_color::xyz.
Referenced by sphere_array, and sphere_array_color.
check environment variables that modify verbose output.
Definition at line 267 of file OSPRay2Renderer.C.
References DBG, NULL, RT_VERB_DEBUG, RT_VERB_MIN, RT_VERB_TIMING, and strupcmp.
Referenced by OSPRay2Renderer, and setup_context.
[inline]
Definition at line 2277 of file OSPRay2Renderer.C.
References attach_cylinder_array, osp_cylinder_array_color::colors, DBG, osp_cylinder_array_color::indices, Matrix4::multpoint3d, NULL, osp_cylinder_array_color::num, RT_VERB_DEBUG, vec_copy, and osp_cylinder_array_color::vertsrads.
Referenced by OSPRay2DisplayDevice::text.
Definition at line 2325 of file OSPRay2Renderer.C.
References attach_cylinder_array, osp_cylinder_array_color::colors, DBG, osp_cylinder_array_color::indices, Matrix4::multpoint3d, osp_cylinder_array_color::num, RT_VERB_DEBUG, vec_copy, and osp_cylinder_array_color::vertsrads.
Referenced by OSPRay2DisplayDevice::send_cylinder_buffer.
Definition at line 327 of file OSPRay2Renderer.C.
References ResizeArray< OSPLight >::clear, ResizeArray< osp_material >::clear, ResizeArray< OSPInstance >::clear, ResizeArray< osp_cylinder_array_color >::clear, ResizeArray< osp_sphere_array_color >::clear, ResizeArray< osp_trimesh_v3f_n3f_c3f >::clear, DBG, framebuffer_destroy, mat, n, NULL, ResizeArray< OSPLight >::num, ResizeArray< osp_material >::num, ResizeArray< osp_cylinder_array_color >::num, ResizeArray< osp_sphere_array_color >::num, ResizeArray< osp_trimesh_v3f_n3f_c3f >::num, and wkf_timer_timenow.
Referenced by OSPRay2Renderer, OSPRay2DisplayDevice::write_trailer, and ~OSPRay2Renderer.
[inline]
depth of field on/off.
Definition at line 309 of file OSPRay2Renderer.h.
Referenced by OSPRay2DisplayDevice::write_header.
Definition at line 553 of file OSPRay2Renderer.C.
References framebuffer_resize, and RT_VERB_DEBUG.
Referenced by render_compile_and_validate, and render_to_file.
Definition at line 606 of file OSPRay2Renderer.C.
Referenced by destroy_scene, and framebuffer_resize.
Definition at line 586 of file OSPRay2Renderer.C.
References framebuffer_destroy, and RT_VERB_DEBUG.
Referenced by framebuffer_config.
[inline]
Definition at line 360 of file OSPRay2Renderer.h.
Definition at line 2148 of file OSPRay2Renderer.C.
References DBG, and RT_VERB_DEBUG.
Referenced by OSPRay2Renderer.
[static]
global init, call ONCE.
Definition at line 85 of file OSPRay2Renderer.C.
Referenced by OSPRay2DisplayDevice::OSPRay_Global_Init.
[static]
global shutdown, call ONCE.
Definition at line 116 of file OSPRay2Renderer.C.
References DBG.
Referenced by OSPRay2DisplayDevice::OSPRay_Global_Shutdown.
Definition at line 618 of file OSPRay2Renderer.C.
References ResizeArray< OSPInstance >::append, ResizeArray< OSPLight >::append, ResizeArray< OSPInstance >::clear, DBG, framebuffer_config, NULL, ResizeArray< OSPLight >::num, ResizeArray< OSPInstance >::num, ResizeArray< osp_cylinder_array_color >::num, num, ResizeArray< osp_trimesh_v3f_n3f_c3f >::num, ResizeArray< osp_directional_light >::num, ResizeArray< osp_sphere_array_color >::num, RT_ORTHOGRAPHIC, RT_SCIVIS, RT_VERB_DEBUG, vec_copy, vec_negate, vec_normalize, and wkf_timer_timenow.
Referenced by render_to_file.
Definition at line 1948 of file OSPRay2Renderer.C.
References DBG, framebuffer_config, NULL, render_compile_and_validate, RT_VERB_DEBUG, RT_VERB_TIMING, update_rendering_state, wkf_timer_timenow, and write_image_file_rgb4u.
Referenced by OSPRay2DisplayDevice::write_trailer.
report various context statistics for memory leak debugging, etc.
[inline]
antialiasing (samples > 1 == on).
Definition at line 292 of file OSPRay2Renderer.h.
Referenced by OSPRay2DisplayDevice::write_header.
[inline]
set AO ambient lighting factor.
Definition at line 321 of file OSPRay2Renderer.h.
Referenced by OSPRay2DisplayDevice::write_header.
[inline]
set AO direct lighting factor.
Definition at line 324 of file OSPRay2Renderer.h.
Referenced by OSPRay2DisplayDevice::write_header.
[inline]
ambient occlusion (samples > 1 == on).
Definition at line 318 of file OSPRay2Renderer.h.
Referenced by OSPRay2DisplayDevice::write_header.
[inline]
Definition at line 327 of file OSPRay2Renderer.h.
[inline]
Definition at line 329 of file OSPRay2Renderer.h.
[inline]
Definition at line 328 of file OSPRay2Renderer.h.
[inline]
Definition at line 330 of file OSPRay2Renderer.h.
[inline]
Definition at line 332 of file OSPRay2Renderer.h.
[inline]
Definition at line 331 of file OSPRay2Renderer.h.
[inline]
[inline]
set depth of field f/stop number.
Definition at line 315 of file OSPRay2Renderer.h.
References n.
Referenced by OSPRay2DisplayDevice::write_header.
[inline]
set depth of field focal plane distance.
Definition at line 312 of file OSPRay2Renderer.h.
Referenced by OSPRay2DisplayDevice::write_header.
[inline]
set the camera projection mode.
Definition at line 295 of file OSPRay2Renderer.h.
References CameraProjection.
Referenced by OSPRay2DisplayDevice::write_trailer.
[inline]
set stereo convergence distance.
Definition at line 304 of file OSPRay2Renderer.h.
Referenced by OSPRay2DisplayDevice::write_trailer.
[inline]
set stereo eye separation.
Definition at line 301 of file OSPRay2Renderer.h.
Referenced by OSPRay2DisplayDevice::write_trailer.
[inline]
set camera zoom factor.
Definition at line 298 of file OSPRay2Renderer.h.
Referenced by OSPRay2DisplayDevice::write_trailer.
Definition at line 334 of file OSPRay2Renderer.h.
References FogMode.
Referenced by OSPRay2DisplayDevice::write_header.
Definition at line 2155 of file OSPRay2Renderer.C.
References mat, and RT_VERB_DEBUG.
Referenced by attach_cylinder_array, attach_mesh, and attach_sphere_array.
(re)configure the OSPRay context.
Definition at line 287 of file OSPRay2Renderer.C.
References check_verbose_env, DBG, and wkf_timer_timenow.
Referenced by OSPRay2DisplayDevice::write_header.
[inline]
shadows.
Definition at line 289 of file OSPRay2Renderer.h.
Referenced by OSPRay2DisplayDevice::write_header.
Definition at line 2367 of file OSPRay2Renderer.C.
References attach_sphere_array, osp_sphere_array_color::colors, DBG, Matrix4::multpoint3d, NULL, osp_sphere_array_color::num, osp_sphere_array_color::radii, RT_VERB_DEBUG, vec_copy, and osp_sphere_array_color::xyz.
Referenced by OSPRay2DisplayDevice::text.
Definition at line 2424 of file OSPRay2Renderer.C.
References attach_sphere_array, osp_sphere_array_color::colors, DBG, Matrix4::multpoint3d, osp_sphere_array_color::num, osp_sphere_array_color::radii, RT_VERB_DEBUG, vec_copy, and osp_sphere_array_color::xyz.
Referenced by OSPRay2DisplayDevice::sphere_array.
Definition at line 2452 of file OSPRay2Renderer.C.
References attach_mesh, osp_trimesh_v3f_n3f_c3f::c, osp_trimesh_v3f_n3f_c3f::f, Matrix4::multnorm3d, Matrix4::multpoint3d, osp_trimesh_v3f_n3f_c3f::n, osp_trimesh_v3f_n3f_c3f::num, osp_trimesh_v3f_n3f_c3f::v, and vec_copy.
Referenced by OSPRay2DisplayDevice::tricolor.
Definition at line 2497 of file OSPRay2Renderer.C.
References attach_mesh, osp_trimesh_v3f_n3f_c3f::c, osp_trimesh_v3f_n3f_c3f::f, Matrix4::multnorm3d, Matrix4::multpoint3d, osp_trimesh_v3f_n3f_c3f::n, osp_trimesh_v3f_n3f_c3f::num, RT_VERB_DEBUG, osp_trimesh_v3f_n3f_c3f::v, and vec_copy.
Referenced by OSPRay2DisplayDevice::trimesh_c4n3v3.
Definition at line 2554 of file OSPRay2Renderer.C.
References attach_mesh, osp_trimesh_v3f_n3f_c3f::c, osp_trimesh_v3f_n3f_c3f::f, Matrix4::multnorm3d, Matrix4::multpoint3d, osp_trimesh_v3f_n3f_c3f::n, n, osp_trimesh_v3f_n3f_c3f::num, RT_VERB_DEBUG, osp_trimesh_v3f_n3f_c3f::v, and vec_copy.
Referenced by OSPRay2DisplayDevice::trimesh_c4u_n3b_v3f.
Definition at line 2634 of file OSPRay2Renderer.C.
References attach_mesh, osp_trimesh_v3f_n3f_c3f::c, osp_trimesh_v3f_n3f_c3f::f, Matrix4::multnorm3d, Matrix4::multpoint3d, osp_trimesh_v3f_n3f_c3f::n, n, osp_trimesh_v3f_n3f_c3f::num, RT_VERB_DEBUG, osp_trimesh_v3f_n3f_c3f::v, and vec_copy.
Referenced by OSPRay2DisplayDevice::trimesh_c4u_n3f_v3f.
Definition at line 2697 of file OSPRay2Renderer.C.
References attach_mesh, osp_trimesh_v3f_n3f_c3f::c, osp_trimesh_v3f_n3f_c3f::f, Matrix4::multnorm3d, Matrix4::multpoint3d, osp_trimesh_v3f_n3f_c3f::n, n, osp_trimesh_v3f_n3f_c3f::num, RT_VERB_DEBUG, osp_trimesh_v3f_n3f_c3f::v, and vec_copy.
Referenced by OSPRay2DisplayDevice::trimesh_n3b_v3f.
Definition at line 2763 of file OSPRay2Renderer.C.
References attach_mesh, osp_trimesh_v3f_n3f_c3f::c, DBG, osp_trimesh_v3f_n3f_c3f::f, Matrix4::multnorm3d, Matrix4::multpoint3d, osp_trimesh_v3f_n3f_c3f::n, n, osp_trimesh_v3f_n3f_c3f::num, RT_VERB_DEBUG, osp_trimesh_v3f_n3f_c3f::v, and vec_copy.
Referenced by OSPRay2DisplayDevice::send_triangle_buffer, and OSPRay2DisplayDevice::trimesh_n3f_v3f.
Definition at line 2825 of file OSPRay2Renderer.C.
References attach_mesh, osp_trimesh_v3f_n3f_c3f::c, osp_trimesh_v3f_n3f_c3f::f, Matrix4::multnorm3d, Matrix4::multpoint3d, osp_trimesh_v3f_n3f_c3f::n, osp_trimesh_v3f_n3f_c3f::num, RT_VERB_DEBUG, osp_trimesh_v3f_n3f_c3f::v, and vec_copy.
Referenced by OSPRay2DisplayDevice::tristrip.
Definition at line 411 of file OSPRay2Renderer.C.
References DBG, ResizeArray< osp_positional_light >::num, ResizeArray< osp_directional_light >::num, RT_VERB_DEBUG, RT_VERB_TIMING, and wkf_timer_start.
Referenced by render_to_file.