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

ANARIRenderer.C File Reference

FileRenderer subclass for the Khronos ANARI rendering interface. More...

#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "Inform.h"
#include "ImageIO.h"
#include "ANARIRenderer.h"
#include "Matrix4.h"
#include "utilities.h"
#include "WKFUtils.h"
#include <algorithm>

Go to the source code of this file.

Defines

#define VMDANARIREPGROUPING   1
#define DBG()   printf("ANARIRenderer) ++ %s\n", __func__);

Typedefs

typedef void(* __GLXextFuncPtr )(void)
 prototypes for GL fctns. More...


Functions

void vmd_anari_status_callback (void *userData, ANARIDevice dev, ANARIObject src, ANARIDataType srctype, ANARIStatusSeverity sev, ANARIStatusCode code, const char *message)
__GLXextFuncPtr glXGetProcAddress (const GLubyte *procName)


Detailed Description

FileRenderer subclass for the Khronos ANARI rendering interface.

This code is based on early, incomplete, developmental versions of ANARI header files and specification, and should not be used as a reference for developing ANARI applications. This warning text will be removed when ANARI is finalized.

Portions of this code are derived from Tachyon: "An Efficient Library for Parallel Ray Tracing and Animation" John E. Stone. Master's Thesis, University of Missouri-Rolla, Department of Computer Science, April 1998

"Rendering of Numerical Flow Simulations Using MPI" John Stone and Mark Underwood. Second MPI Developers Conference, pages 138-141, 1996. http://dx.doi.org/10.1109/MPIDC.1996.534105

Definition in file ANARIRenderer.C.


Define Documentation

 
#define DBG      printf("ANARIRenderer) ++ %s\n", __func__);
 

Definition at line 72 of file ANARIRenderer.C.

Referenced by OSPRayRenderer::add_directional_light, OSPRay2Renderer::add_directional_light, ANARIRender::add_directional_light, OSPRayRenderer::add_positional_light, OSPRay2Renderer::add_positional_light, ANARIRender::add_positional_light, ANARIRender::ANARIRender, OSPRayRenderer::check_verbose_env, OSPRay2Renderer::check_verbose_env, ANARIRender::check_verbose_env, NVENCMgr::create_inbufs, OSPRayRenderer::cylinder_array, OSPRay2Renderer::cylinder_array, ANARIRender::cylinder_array, OSPRayRenderer::cylinder_array_color, OSPRay2Renderer::cylinder_array_color, ANARIRender::cylinder_array_color, OSPRayRenderer::destroy_scene, OSPRay2Renderer::destroy_scene, ANARIRender::destroy_scene, ANARIRender::framebuffer_config, ANARIRender::framebuffer_destroy, ANARIRender::framebuffer_resize, NVENCMgr::init, OSPRayRenderer::init_materials, OSPRay2Renderer::init_materials, ANARIRender::init_materials, NVENCMgr::NVENCMgr, NVENCMgr::open_session, OSPRay2Renderer::OSPRay2Renderer, OSPRayRenderer::OSPRay_Global_Init, OSPRay2Renderer::OSPRay_Global_Init, OSPRay2Renderer::OSPRay_Global_Shutdown, OSPRayRenderer::OSPRayRenderer, OSPRayRenderer::render_compile_and_validate, OSPRay2Renderer::render_compile_and_validate, ANARIRender::render_compile_and_validate, OSPRayRenderer::render_to_file, OSPRay2Renderer::render_to_file, ANARIRender::render_to_file, OSPRayRenderer::setup_context, OSPRay2Renderer::setup_context, ANARIRender::setup_context, OSPRayRenderer::sphere_array, OSPRay2Renderer::sphere_array, ANARIRender::sphere_array, OSPRayRenderer::sphere_array_color, OSPRay2Renderer::sphere_array_color, ANARIRender::sphere_array_color, OSPRayRenderer::trimesh_n3f_v3f, OSPRay2Renderer::trimesh_n3f_v3f, ANARIRender::trimesh_n3f_v3f, OSPRayRenderer::update_rendering_state, OSPRay2Renderer::update_rendering_state, ANARIRender::update_rendering_state, ANARIRender::~ANARIRender, NVENCMgr::~NVENCMgr, OSPRay2Renderer::~OSPRay2Renderer, and OSPRayRenderer::~OSPRayRenderer.

#define VMDANARIREPGROUPING   1
 

Definition at line 37 of file ANARIRenderer.C.


Typedef Documentation

typedef void( * __GLXextFuncPtr)(void)
 

prototypes for GL fctns.

Definition at line 125 of file ANARIRenderer.C.


Function Documentation

__GLXextFuncPtr glXGetProcAddress const GLubyte *    procName
 

Referenced by ANARIRender::ANARIRender, and OpenGLExtensions::vmdGetProcAddress.

void vmd_anari_status_callback void *    userData,
ANARIDevice    dev,
ANARIObject    src,
ANARIDataType    srctype,
ANARIStatusSeverity    sev,
ANARIStatusCode    code,
const char *    message
[static]
 

Definition at line 77 of file ANARIRenderer.C.

Referenced by ANARIRender::ANARIRender.


Generated on Fri Nov 8 02:45:53 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002