|
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 mfuncs * | load_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 |