Rt


Files

file  rtprivate.h
 Things to support the "rt" program and the link to liboptical.
file  shadefuncs.h
file  shadework.h

Data Structures

struct  mfuncs
struct  shadework

Defines

#define RT_BUFSIZE   1024
#define OPTICAL_EXPORT
#define MF_MAGIC   0x55968058
#define MF_NULL   ((struct mfuncs *)0)
#define RT_CK_MF(_p)   BU_CKMAG(_p, MF_MAGIC, "mfuncs")
#define MFI_NORMAL   0x01
 Need normal.
#define MFI_UV   0x02
 Need uv.
#define MFI_LIGHT   0x04
 Need light visibility.
#define MFI_HIT   0x08
 Need just hit point.
#define MFI_FORMAT   "\020\4HIT\3LIGHT\2UV\1NORMAL"
#define MFF_PROC   0x01
 shader is procedural, computes tr/re/hits
#define SW_NLIGHTS   16

Functions

void do_ae (double azim, double elev)
int do_frame (int framenumber)
void def_tree (register struct rt_i *rtip)
void do_prep (struct rt_i *rtip)
int old_way (FILE *fp)
int get_args (int argc, char **argv)
void view_eol ()
void do_run ()
void view_2init ()
void view_setup ()
void view_pixel ()
void view_cleanup ()
void view_end ()
int view_init ()
OPTICAL_EXPORT void mlib_add_shader (struct mfuncs **headp, struct mfuncs *mfp1)
OPTICAL_EXPORT int mlib_setup (struct mfuncs **headp, struct region *rp, struct rt_i *rtip)
OPTICAL_EXPORT void mlib_free (struct region *rp)
OPTICAL_EXPORT struct mfuncsload_dynamic_shader (const char *material, const int mlen)
void pr_shadework (const char *str, const struct shadework *swp)

Variables

int query_x
int query_y
int Query_one_pixel
int query_rdebug
int query_debug
int benchmark

Define Documentation

#define RT_BUFSIZE   1024
 

Definition at line 41 of file rtprivate.h.

#define OPTICAL_EXPORT
 

Definition at line 42 of file shadefuncs.h.

#define MF_MAGIC   0x55968058
 

Definition at line 62 of file shadefuncs.h.

#define MF_NULL   ((struct mfuncs *)0)
 

Definition at line 63 of file shadefuncs.h.

#define RT_CK_MF _p   )     BU_CKMAG(_p, MF_MAGIC, "mfuncs")
 

Definition at line 64 of file shadefuncs.h.

#define MFI_NORMAL   0x01
 

Need normal.

Definition at line 70 of file shadefuncs.h.

#define MFI_UV   0x02
 

Need uv.

Definition at line 71 of file shadefuncs.h.

#define MFI_LIGHT   0x04
 

Need light visibility.

Definition at line 72 of file shadefuncs.h.

#define MFI_HIT   0x08
 

Need just hit point.

Definition at line 73 of file shadefuncs.h.

#define MFI_FORMAT   "\020\4HIT\3LIGHT\2UV\1NORMAL"
 

for bu_printb()

Definition at line 76 of file shadefuncs.h.

#define MFF_PROC   0x01
 

shader is procedural, computes tr/re/hits

Definition at line 80 of file shadefuncs.h.

#define SW_NLIGHTS   16
 

Definition at line 38 of file shadework.h.


Function Documentation

void do_ae double  azim,
double  elev
 

int do_frame int  framenumber  ) 
 

void def_tree register struct rt_i rtip  ) 
 

void do_prep struct rt_i rtip  ) 
 

int old_way FILE *  fp  ) 
 

int get_args int  argc,
char **  argv
 

void view_eol  ) 
 

void do_run  ) 
 

void view_2init  ) 
 

void view_setup  ) 
 

void view_pixel  ) 
 

void view_cleanup  ) 
 

void view_end  ) 
 

int view_init  ) 
 

OPTICAL_EXPORT void mlib_add_shader struct mfuncs **  headp,
struct mfuncs mfp1
 

OPTICAL_EXPORT int mlib_setup struct mfuncs **  headp,
struct region rp,
struct rt_i rtip
 

OPTICAL_EXPORT void mlib_free struct region rp  ) 
 

OPTICAL_EXPORT struct mfuncs* load_dynamic_shader const char *  material,
const int  mlen
 

void pr_shadework const char *  str,
const struct shadework swp
 


Variable Documentation

int query_x
 

int query_y
 

int Query_one_pixel
 

int query_rdebug
 

int query_debug
 

int benchmark
 


Generated on Mon Sep 18 01:25:47 2006 for BRL-CAD by  doxygen 1.4.6