Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

OSPRayRenderer Class Reference

#include <OSPRayRenderer.h>

List of all members.

Public Types

enum  RtShadowMode { RT_SHADOWS_OFF = 0, RT_SHADOWS_ON = 1 }
enum  FogMode { RT_FOG_NONE = 0, RT_FOG_LINEAR = 1, RT_FOG_EXP = 2, RT_FOG_EXP2 = 3 }
enum  CameraProjection { RT_PERSPECTIVE = 0, RT_ORTHOGRAPHIC = 1 }
enum  Verbosity { RT_VERB_MIN = 0, RT_VERB_TIMING = 1, RT_VERB_DEBUG = 2 }
enum  BGMode { RT_BACKGROUND_TEXTURE_SOLID = 0, RT_BACKGROUND_TEXTURE_SKY_SPHERE = 1, RT_BACKGROUND_TEXTURE_SKY_ORTHO_PLANE = 2 }

Public Methods

 OSPRayRenderer (void)
 normal constructors and destructors. More...

 ~OSPRayRenderer (void)
 destructor. More...

void check_verbose_env ()
 check environment variables that modify verbose output. More...

void setup_context (int width, int height)
 re(configure) the OSPRay context. More...

void reposp_context_stats (void)
 report various context statistics for memory leak debugging, etc. More...

void shadows_on (int onoff)
 shadows. More...

void set_aa_samples (int cnt)
 antialiasing (samples > 1 == on). More...

void set_camera_projection (CameraProjection m)
 set the camera projection mode. More...

void set_camera_zoom (float zoomfactor)
 set camera zoom factor. More...

void set_camera_stereo_eyesep (float eyesep)
 set stereo eye separation. More...

void set_camera_stereo_convergence_dist (float dist)
 set stereo convergence distance. More...

void dof_on (int onoff)
 depth of field on/off. More...

void set_camera_dof_focal_dist (float d)
 set depth of field focal plane distance. More...

void set_camera_dof_fnumber (float n)
 set depth of field f/stop number. More...

void set_ao_samples (int cnt)
 ambient occlusion (samples > 1 == on). More...

void set_ao_ambient (float aoa)
 set AO ambient lighting factor. More...

void set_ao_direct (float aod)
 set AO direct lighting factor. More...

void set_bg_mode (BGMode m)
void set_bg_color (float *rgb)
void set_bg_color_grad_top (float *rgb)
void set_bg_color_grad_bot (float *rgb)
void set_bg_gradient (float *vec)
void set_bg_gradient_topval (float v)
void set_bg_gradient_botval (float v)
void set_cue_mode (FogMode mode, float start, float end, float density)
void init_materials ()
void add_material (int matindex, float ambient, float diffuse, float specular, float shininess, float reflectivity, float opacity, float outline, float outlinewidth, int transmode)
void set_material (OSPGeometry &geom, int matindex, float *uniform_color)
void clear_all_lights ()
void headlight_onoff (int onoff)
void add_directional_light (const float *dir, const float *color)
void add_positional_light (const float *pos, const float *color)
void update_rendering_state (int interactive)
void framebuffer_config (int fbwidth, int fbheight)
void framebuffer_resize (int fbwidth, int fbheight)
void framebuffer_destroy (void)
void render_compile_and_validate (void)
void render_to_file (const char *filename)
void destroy_scene (void)
void destroy_context (void)
void cylinder_array (Matrix4 *wtrans, float rscale, float *uniform_color, int cylnum, float *points, int matindex)
void cylinder_array_color (Matrix4 &wtrans, float rscale, int cylnum, float *points, float *radii, float *colors, int matindex)
void sphere_array (Matrix4 *wtrans, float rscale, float *uniform_color, int spnum, float *centers, float *radii, int matindex)
void sphere_array_color (Matrix4 &wtrans, float rscale, int spnum, float *centers, float *radii, float *colors, int matindex)
void append_trimesh_v3f_n3f_c3f (osp_trimesh_v3f_n3f_c3f &mesh)
void tricolor_list (Matrix4 &wtrans, int numtris, float *vnc, int matindex)
void trimesh_c4n3v3 (Matrix4 &wtrans, int numverts, float *cnv, int numfacets, int *facets, int matindex)
void trimesh_c4u_n3b_v3f (Matrix4 &wtrans, unsigned char *c, signed char *n, float *v, int numfacets, int matindex)
void trimesh_c4u_n3f_v3f (Matrix4 &wtrans, unsigned char *c, float *n, float *v, int numfacets, int matindex)
void trimesh_n3b_v3f (Matrix4 &wtrans, float *uniform_color, signed char *n, float *v, int numfacets, int matindex)
void trimesh_n3f_v3f (Matrix4 &wtrans, float *uniform_color, float *n, float *v, int numfacets, int matindex)
void tristrip (Matrix4 &wtrans, int numverts, const float *cnv, int numstrips, const int *vertsperstrip, const int *facets, int matindex)

Static Public Methods

int OSPRay_Global_Init (void)
 global init, call ONCE. More...

void OSPRay_Global_Shutdown (void)
 global shutdown, call ONCE. More...


Member Enumeration Documentation

enum OSPRayRenderer::BGMode
 

Enumeration values:
RT_BACKGROUND_TEXTURE_SOLID 
RT_BACKGROUND_TEXTURE_SKY_SPHERE 
RT_BACKGROUND_TEXTURE_SKY_ORTHO_PLANE 

Definition at line 151 of file OSPRayRenderer.h.

Referenced by set_bg_mode.

enum OSPRayRenderer::CameraProjection
 

Enumeration values:
RT_PERSPECTIVE 
RT_ORTHOGRAPHIC 

Definition at line 142 of file OSPRayRenderer.h.

Referenced by set_camera_projection.

enum OSPRayRenderer::FogMode
 

Enumeration values:
RT_FOG_NONE 
RT_FOG_LINEAR 
RT_FOG_EXP 
RT_FOG_EXP2 

Definition at line 141 of file OSPRayRenderer.h.

Referenced by set_cue_mode.

enum OSPRayRenderer::RtShadowMode
 

Enumeration values:
RT_SHADOWS_OFF  shadows disabled.
RT_SHADOWS_ON  shadows on, std. impl.

Definition at line 138 of file OSPRayRenderer.h.

enum OSPRayRenderer::Verbosity
 

Enumeration values:
RT_VERB_MIN 
RT_VERB_TIMING 
RT_VERB_DEBUG 

Definition at line 150 of file OSPRayRenderer.h.


Constructor & Destructor Documentation

OSPRayRenderer::OSPRayRenderer void   
 

normal constructors and destructors.

Definition at line 123 of file OSPRayRenderer.C.

References check_verbose_env, ResizeArray< osp_cylinder_array_color >::clear, ResizeArray< osp_sphere_array_color >::clear, ResizeArray< osp_trimesh_v3f_n3f_c3f >::clear, DBG, destroy_scene, init_materials, NULL, RT_BACKGROUND_TEXTURE_SOLID, RT_FOG_NONE, RT_SHADOWS_OFF, RT_VERB_DEBUG, RT_VERB_MIN, RT_VERB_TIMING, vmd_ospray_error_callback, vmd_ospray_status_callback, wkf_timer_create, wkf_timer_start, and wkf_timer_timenow.

OSPRayRenderer::~OSPRayRenderer void   
 

destructor.

Definition at line 230 of file OSPRayRenderer.C.

References DBG, framebuffer_destroy, NULL, and wkf_timer_destroy.


Member Function Documentation

void OSPRayRenderer::add_directional_light const float *    dir,
const float *    color
 

Definition at line 2016 of file OSPRayRenderer.C.

References ResizeArray< osp_directional_light >::append, osp_directional_light::color, DBG, osp_directional_light::dir, and vec_copy.

void OSPRayRenderer::add_material int    matindex,
float    ambient,
float    diffuse,
float    specular,
float    shininess,
float    reflectivity,
float    opacity,
float    outline,
float    outlinewidth,
int    transmode
 

Definition at line 1937 of file OSPRayRenderer.C.

References osp_material::ambient, ResizeArray< osp_material >::appendN, osp_material::diffuse, ResizeArray< osp_material >::num, osp_material::opacity, osp_material::reflectivity, RT_VERB_DEBUG, osp_material::shininess, osp_material::specular, and osp_material::transmode.

void OSPRayRenderer::add_positional_light const float *    pos,
const float *    color
 

Definition at line 2026 of file OSPRayRenderer.C.

References ResizeArray< osp_positional_light >::append, osp_positional_light::color, DBG, osp_positional_light::pos, and vec_copy.

void OSPRayRenderer::append_trimesh_v3f_n3f_c3f osp_trimesh_v3f_n3f_c3f   mesh
 

Definition at line 2282 of file OSPRayRenderer.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::n, osp_trimesh_v3f_n3f_c3f::norms, NULL, osp_trimesh_v3f_n3f_c3f::numtris, osp_trimesh_v3f_n3f_c3f::numverts, 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.

void OSPRayRenderer::check_verbose_env  
 

check environment variables that modify verbose output.

Definition at line 251 of file OSPRayRenderer.C.

References DBG, NULL, RT_VERB_DEBUG, RT_VERB_MIN, RT_VERB_TIMING, and strupcmp.

Referenced by OSPRayRenderer, and setup_context.

void OSPRayRenderer::clear_all_lights   [inline]
 

Definition at line 349 of file OSPRayRenderer.h.

References ResizeArray::clear.

void OSPRayRenderer::cylinder_array Matrix4   wtrans,
float    rscale,
float *    uniform_color,
int    cylnum,
float *    points,
int    matindex
 

Definition at line 2036 of file OSPRayRenderer.C.

References ResizeArray< osp_cylinder_array_color >::append, osp_cylinder_array_color::colors, osp_cylinder_array_color::cols, osp_cylinder_array_color::cylinders, osp_cylinder_array_color::cyls, DBG, osp_cylinder_array_color::geom, osp_cylinder_array_color::matindex, Matrix4::multpoint3d, NULL, osp_cylinder_array_color::num, RT_VERB_DEBUG, set_material, and vec_copy.

Referenced by OSPRayDisplayDevice::text.

void OSPRayRenderer::cylinder_array_color Matrix4   wtrans,
float    rscale,
int    cylnum,
float *    points,
float *    radii,
float *    colors,
int    matindex
 

Definition at line 2099 of file OSPRayRenderer.C.

References ResizeArray< osp_cylinder_array_color >::append, osp_cylinder_array_color::colors, osp_cylinder_array_color::cols, osp_cylinder_array_color::cylinders, osp_cylinder_array_color::cyls, DBG, osp_cylinder_array_color::geom, osp_cylinder_array_color::matindex, Matrix4::multpoint3d, NULL, osp_cylinder_array_color::num, RT_VERB_DEBUG, set_material, and vec_copy.

Referenced by OSPRayDisplayDevice::send_cylinder_buffer.

void OSPRayRenderer::destroy_context void   
 

void OSPRayRenderer::destroy_scene void   
 

Definition at line 316 of file OSPRayRenderer.C.

References ResizeArray< osp_material >::clear, ResizeArray< osp_cylinder_array_color >::clear, ResizeArray< osp_sphere_array_color >::clear, ResizeArray< osp_trimesh_v3f_n3f_c3f >::clear, DBG, mat, NULL, ResizeArray< osp_material >::num, and wkf_timer_timenow.

Referenced by OSPRayRenderer, and OSPRayDisplayDevice::write_trailer.

void OSPRayRenderer::dof_on int    onoff [inline]
 

depth of field on/off.

Definition at line 310 of file OSPRayRenderer.h.

Referenced by OSPRayDisplayDevice::write_header.

void OSPRayRenderer::framebuffer_config int    fbwidth,
int    fbheight
 

Definition at line 505 of file OSPRayRenderer.C.

References framebuffer_resize, and RT_VERB_DEBUG.

Referenced by render_compile_and_validate, and render_to_file.

void OSPRayRenderer::framebuffer_destroy void   
 

Definition at line 559 of file OSPRayRenderer.C.

Referenced by framebuffer_resize, and ~OSPRayRenderer.

void OSPRayRenderer::framebuffer_resize int    fbwidth,
int    fbheight
 

Definition at line 538 of file OSPRayRenderer.C.

References framebuffer_destroy, and RT_VERB_DEBUG.

Referenced by framebuffer_config.

void OSPRayRenderer::headlight_onoff int    onoff [inline]
 

Definition at line 354 of file OSPRayRenderer.h.

void OSPRayRenderer::init_materials  
 

Definition at line 2000 of file OSPRayRenderer.C.

References DBG, and RT_VERB_DEBUG.

Referenced by OSPRayRenderer.

int OSPRayRenderer::OSPRay_Global_Init void    [static]
 

global init, call ONCE.

Definition at line 86 of file OSPRayRenderer.C.

References DBG, and NULL.

Referenced by OSPRayDisplayDevice::OSPRay_Global_Init.

void OSPRayRenderer::OSPRay_Global_Shutdown void    [static]
 

global shutdown, call ONCE.

Definition at line 118 of file OSPRayRenderer.C.

Referenced by OSPRayDisplayDevice::OSPRay_Global_Shutdown.

void OSPRayRenderer::render_compile_and_validate void   
 

Definition at line 575 of file OSPRayRenderer.C.

References data, DBG, framebuffer_config, NULL, ResizeArray< osp_cylinder_array_color >::num, num, ResizeArray< osp_sphere_array_color >::num, ResizeArray< osp_trimesh_v3f_n3f_c3f >::num, ResizeArray< osp_directional_light >::num, RT_ORTHOGRAPHIC, RT_VERB_DEBUG, vec_copy, vec_normalize, VMD_PI, and wkf_timer_timenow.

Referenced by render_to_file.

void OSPRayRenderer::render_to_file const char *    filename
 

Definition at line 1869 of file OSPRayRenderer.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 OSPRayDisplayDevice::write_trailer.

void OSPRayRenderer::reposp_context_stats void   
 

report various context statistics for memory leak debugging, etc.

void OSPRayRenderer::set_aa_samples int    cnt [inline]
 

antialiasing (samples > 1 == on).

Definition at line 293 of file OSPRayRenderer.h.

Referenced by OSPRayDisplayDevice::write_header.

void OSPRayRenderer::set_ao_ambient float    aoa [inline]
 

set AO ambient lighting factor.

Definition at line 322 of file OSPRayRenderer.h.

Referenced by OSPRayDisplayDevice::write_header.

void OSPRayRenderer::set_ao_direct float    aod [inline]
 

set AO direct lighting factor.

Definition at line 325 of file OSPRayRenderer.h.

Referenced by OSPRayDisplayDevice::write_header.

void OSPRayRenderer::set_ao_samples int    cnt [inline]
 

ambient occlusion (samples > 1 == on).

Definition at line 319 of file OSPRayRenderer.h.

Referenced by OSPRayDisplayDevice::write_header.

void OSPRayRenderer::set_bg_color float *    rgb [inline]
 

Definition at line 328 of file OSPRayRenderer.h.

void OSPRayRenderer::set_bg_color_grad_bot float *    rgb [inline]
 

Definition at line 330 of file OSPRayRenderer.h.

void OSPRayRenderer::set_bg_color_grad_top float *    rgb [inline]
 

Definition at line 329 of file OSPRayRenderer.h.

void OSPRayRenderer::set_bg_gradient float *    vec [inline]
 

Definition at line 331 of file OSPRayRenderer.h.

void OSPRayRenderer::set_bg_gradient_botval float    v [inline]
 

Definition at line 333 of file OSPRayRenderer.h.

void OSPRayRenderer::set_bg_gradient_topval float    v [inline]
 

Definition at line 332 of file OSPRayRenderer.h.

void OSPRayRenderer::set_bg_mode BGMode    m [inline]
 

Definition at line 327 of file OSPRayRenderer.h.

References BGMode.

void OSPRayRenderer::set_camera_dof_fnumber float    n [inline]
 

set depth of field f/stop number.

Definition at line 316 of file OSPRayRenderer.h.

References n.

Referenced by OSPRayDisplayDevice::write_header.

void OSPRayRenderer::set_camera_dof_focal_dist float    d [inline]
 

set depth of field focal plane distance.

Definition at line 313 of file OSPRayRenderer.h.

Referenced by OSPRayDisplayDevice::write_header.

void OSPRayRenderer::set_camera_projection CameraProjection    m [inline]
 

set the camera projection mode.

Definition at line 296 of file OSPRayRenderer.h.

References CameraProjection.

Referenced by OSPRayDisplayDevice::write_trailer.

void OSPRayRenderer::set_camera_stereo_convergence_dist float    dist [inline]
 

set stereo convergence distance.

Definition at line 305 of file OSPRayRenderer.h.

Referenced by OSPRayDisplayDevice::write_trailer.

void OSPRayRenderer::set_camera_stereo_eyesep float    eyesep [inline]
 

set stereo eye separation.

Definition at line 302 of file OSPRayRenderer.h.

Referenced by OSPRayDisplayDevice::write_trailer.

void OSPRayRenderer::set_camera_zoom float    zoomfactor [inline]
 

set camera zoom factor.

Definition at line 299 of file OSPRayRenderer.h.

Referenced by OSPRayDisplayDevice::write_trailer.

void OSPRayRenderer::set_cue_mode FogMode    mode,
float    start,
float    end,
float    density
[inline]
 

Definition at line 335 of file OSPRayRenderer.h.

References FogMode.

Referenced by OSPRayDisplayDevice::write_header.

void OSPRayRenderer::set_material OSPGeometry &    geom,
int    matindex,
float *    uniform_color
 

Definition at line 2007 of file OSPRayRenderer.C.

References mat, and RT_VERB_DEBUG.

Referenced by append_trimesh_v3f_n3f_c3f, cylinder_array, cylinder_array_color, sphere_array, and sphere_array_color.

void OSPRayRenderer::setup_context int    width,
int    height
 

re(configure) the OSPRay context.

Definition at line 271 of file OSPRayRenderer.C.

References check_verbose_env, DBG, NULL, and wkf_timer_timenow.

Referenced by OSPRayDisplayDevice::write_header.

void OSPRayRenderer::shadows_on int    onoff [inline]
 

shadows.

Definition at line 290 of file OSPRayRenderer.h.

Referenced by OSPRayDisplayDevice::write_header.

void OSPRayRenderer::sphere_array Matrix4   wtrans,
float    rscale,
float *    uniform_color,
int    spnum,
float *    centers,
float *    radii,
int    matindex
 

Definition at line 2161 of file OSPRayRenderer.C.

References ResizeArray< osp_sphere_array_color >::append, osp_sphere_array_color::cents, osp_sphere_array_color::colors, osp_sphere_array_color::cols, DBG, osp_sphere_array_color::geom, osp_sphere_array_color::matindex, Matrix4::multpoint3d, NULL, osp_sphere_array_color::num, RT_VERB_DEBUG, set_material, vec_copy, and osp_sphere_array_color::xyzr.

Referenced by OSPRayDisplayDevice::text.

void OSPRayRenderer::sphere_array_color Matrix4   wtrans,
float    rscale,
int    spnum,
float *    centers,
float *    radii,
float *    colors,
int    matindex
 

Definition at line 2236 of file OSPRayRenderer.C.

References ResizeArray< osp_sphere_array_color >::append, osp_sphere_array_color::cents, osp_sphere_array_color::colors, osp_sphere_array_color::cols, DBG, osp_sphere_array_color::geom, osp_sphere_array_color::matindex, Matrix4::multpoint3d, NULL, osp_sphere_array_color::num, RT_VERB_DEBUG, set_material, vec_copy, and osp_sphere_array_color::xyzr.

Referenced by OSPRayDisplayDevice::sphere_array.

void OSPRayRenderer::tricolor_list Matrix4   wtrans,
int    numtris,
float *    vnc,
int    matindex
 

Definition at line 2315 of file OSPRayRenderer.C.

References append_trimesh_v3f_n3f_c3f, osp_trimesh_v3f_n3f_c3f::c, osp_trimesh_v3f_n3f_c3f::f, osp_trimesh_v3f_n3f_c3f::matindex, Matrix4::multnorm3d, Matrix4::multpoint3d, osp_trimesh_v3f_n3f_c3f::n, osp_trimesh_v3f_n3f_c3f::numtris, osp_trimesh_v3f_n3f_c3f::numverts, osp_trimesh_v3f_n3f_c3f::v, and vec_copy.

Referenced by OSPRayDisplayDevice::tricolor.

void OSPRayRenderer::trimesh_c4n3v3 Matrix4   wtrans,
int    numverts,
float *    cnv,
int    numfacets,
int *    facets,
int    matindex
 

Definition at line 2362 of file OSPRayRenderer.C.

References append_trimesh_v3f_n3f_c3f, osp_trimesh_v3f_n3f_c3f::c, osp_trimesh_v3f_n3f_c3f::f, osp_trimesh_v3f_n3f_c3f::matindex, Matrix4::multnorm3d, Matrix4::multpoint3d, osp_trimesh_v3f_n3f_c3f::n, osp_trimesh_v3f_n3f_c3f::numtris, osp_trimesh_v3f_n3f_c3f::numverts, RT_VERB_DEBUG, osp_trimesh_v3f_n3f_c3f::v, and vec_copy.

Referenced by OSPRayDisplayDevice::trimesh_c4n3v3.

void OSPRayRenderer::trimesh_c4u_n3b_v3f Matrix4   wtrans,
unsigned char *    c,
signed char *    n,
float *    v,
int    numfacets,
int    matindex
 

Definition at line 2421 of file OSPRayRenderer.C.

References append_trimesh_v3f_n3f_c3f, osp_trimesh_v3f_n3f_c3f::c, osp_trimesh_v3f_n3f_c3f::f, osp_trimesh_v3f_n3f_c3f::matindex, Matrix4::multnorm3d, Matrix4::multpoint3d, osp_trimesh_v3f_n3f_c3f::n, n, osp_trimesh_v3f_n3f_c3f::numtris, osp_trimesh_v3f_n3f_c3f::numverts, RT_VERB_DEBUG, osp_trimesh_v3f_n3f_c3f::v, and vec_copy.

Referenced by OSPRayDisplayDevice::trimesh_c4u_n3b_v3f.

void OSPRayRenderer::trimesh_c4u_n3f_v3f Matrix4   wtrans,
unsigned char *    c,
float *    n,
float *    v,
int    numfacets,
int    matindex
 

Definition at line 2502 of file OSPRayRenderer.C.

References append_trimesh_v3f_n3f_c3f, osp_trimesh_v3f_n3f_c3f::c, osp_trimesh_v3f_n3f_c3f::f, osp_trimesh_v3f_n3f_c3f::matindex, Matrix4::multnorm3d, Matrix4::multpoint3d, osp_trimesh_v3f_n3f_c3f::n, n, osp_trimesh_v3f_n3f_c3f::numtris, osp_trimesh_v3f_n3f_c3f::numverts, RT_VERB_DEBUG, osp_trimesh_v3f_n3f_c3f::v, and vec_copy.

Referenced by OSPRayDisplayDevice::trimesh_c4u_n3f_v3f.

void OSPRayRenderer::trimesh_n3b_v3f Matrix4   wtrans,
float *    uniform_color,
signed char *    n,
float *    v,
int    numfacets,
int    matindex
 

Definition at line 2566 of file OSPRayRenderer.C.

References append_trimesh_v3f_n3f_c3f, osp_trimesh_v3f_n3f_c3f::c, osp_trimesh_v3f_n3f_c3f::f, osp_trimesh_v3f_n3f_c3f::matindex, Matrix4::multnorm3d, Matrix4::multpoint3d, osp_trimesh_v3f_n3f_c3f::n, n, osp_trimesh_v3f_n3f_c3f::numtris, osp_trimesh_v3f_n3f_c3f::numverts, RT_VERB_DEBUG, osp_trimesh_v3f_n3f_c3f::v, and vec_copy.

Referenced by OSPRayDisplayDevice::trimesh_n3b_v3f.

void OSPRayRenderer::trimesh_n3f_v3f Matrix4   wtrans,
float *    uniform_color,
float *    n,
float *    v,
int    numfacets,
int    matindex
 

Definition at line 2634 of file OSPRayRenderer.C.

References append_trimesh_v3f_n3f_c3f, osp_trimesh_v3f_n3f_c3f::c, DBG, osp_trimesh_v3f_n3f_c3f::f, osp_trimesh_v3f_n3f_c3f::matindex, Matrix4::multnorm3d, Matrix4::multpoint3d, osp_trimesh_v3f_n3f_c3f::n, n, osp_trimesh_v3f_n3f_c3f::numtris, osp_trimesh_v3f_n3f_c3f::numverts, RT_VERB_DEBUG, osp_trimesh_v3f_n3f_c3f::v, and vec_copy.

Referenced by OSPRayDisplayDevice::send_triangle_buffer, and OSPRayDisplayDevice::trimesh_n3f_v3f.

void OSPRayRenderer::tristrip Matrix4   wtrans,
int    numverts,
const float *    cnv,
int    numstrips,
const int *    vertsperstrip,
const int *    facets,
int    matindex
 

Definition at line 2696 of file OSPRayRenderer.C.

References append_trimesh_v3f_n3f_c3f, osp_trimesh_v3f_n3f_c3f::c, osp_trimesh_v3f_n3f_c3f::f, osp_trimesh_v3f_n3f_c3f::matindex, Matrix4::multnorm3d, Matrix4::multpoint3d, osp_trimesh_v3f_n3f_c3f::n, osp_trimesh_v3f_n3f_c3f::numtris, osp_trimesh_v3f_n3f_c3f::numverts, RT_VERB_DEBUG, osp_trimesh_v3f_n3f_c3f::v, and vec_copy.

Referenced by OSPRayDisplayDevice::tristrip.

void OSPRayRenderer::update_rendering_state int    interactive
 

Definition at line 362 of file OSPRayRenderer.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.


The documentation for this class was generated from the following files:
Generated on Sat Apr 20 02:45:26 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002