|
Files |
| file | optical.h |
| | Header file for the BRL-CAD Optical Library, LIBOPTICAL.
|
| file | plastic.h |
Data Structures |
| struct | floatpixel |
| struct | phong_specific |
Defines |
| #define | SEEN_OPTICAL_H seen |
| #define | R_DEBUG rdebug |
| #define | RDEBUG_HITS 0x00000001 |
| #define | RDEBUG_MATERIAL 0x00000002 |
| #define | RDEBUG_SHOWERR 0x00000004 |
| #define | RDEBUG_RTMEM 0x00000008 |
| #define | RDEBUG_SHADE 0x00000010 |
| #define | RDEBUG_PARSE 0x00000020 |
| #define | RDEBUG_LIGHT 0x00000040 |
| #define | RDEBUG_REFRACT 0x00000080 |
| #define | RDEBUG_STATS 0x00000200 |
| #define | RDEBUG_RTMEM_END 0x00000400 |
| #define | RDEBUG_MISSPLOT 0x20000000 |
| #define | RDEBUG_RAYWRITE 0x40000000 |
| #define | RDEBUG_RAYPLOT 0x80000000 |
| #define | RDEBUG_FORMAT "\020\040RAYPLOT\037RAYWRITE\036MISSPLOT\\013RTMEM_END\\012STATS\010REFRACT\\7LIGHT\6PARSE\5SHADE\4RTMEM\3SHOWERR\2MATERIAL\1HITS" |
| #define | VERBOSE_LIBVERSIONS 0x00000001 |
| #define | VERBOSE_MODELTITLE 0x00000002 |
| #define | VERBOSE_TOLERANCE 0x00000004 |
| #define | VERBOSE_STATS 0x00000008 |
| #define | VERBOSE_FRAMENUMBER 0x00000010 |
| #define | VERBOSE_VIEWDETAIL 0x00000020 |
| #define | VERBOSE_LIGHTINFO 0x00000040 |
| #define | VERBOSE_INCREMENTAL 0x00000080 |
| #define | VERBOSE_MULTICPU 0x00000100 |
| #define | VERBOSE_OUTPUTFILE 0x00000200 |
| #define | VERBOSE_FORMAT "\012OUTPUTFILE\011MULTICPU\010INCREMENTAL\7LIGHTINFO\6VIEWDETAIL\\5FRAMENUMBER\4STATS\3TOLERANCE\2MODELTITLE\1LIBVERSIONS" |
| #define | PL_MAGIC 0xbeef00d |
| #define | PL_NULL ((struct phong_specific *)0) |
| #define | PL_O(m) offsetof(struct phong_specific, m) |
Functions |
__BEGIN_DECLS OPTICAL_EXPORT
void | optical_shader_init (struct mfuncs **headp) |
| OPTICAL_EXPORT int | mlib_zero () |
| OPTICAL_EXPORT int | mlib_one () |
| OPTICAL_EXPORT void | mlib_void () |
| OPTICAL_EXPORT int | rr_render (register struct application *ap, struct partition *pp, struct shadework *swp) |
| OPTICAL_EXPORT void | shade_inputs (struct application *ap, const struct partition *pp, struct shadework *swp, int want) |
| OPTICAL_EXPORT void | wray (register struct partition *pp, register struct application *ap, FILE *fp, const vect_t inormal) |
| OPTICAL_EXPORT void | wraypts (vect_t in, vect_t inorm, vect_t out, int id, struct application *ap, FILE *fp) |
| OPTICAL_EXPORT void | wraypaint (vect_t start, vect_t norm, int paint, struct application *ap, FILE *fp) |
| OPTICAL_EXPORT int | viewshade (struct application *ap, register const struct partition *pp, register struct shadework *swp) |
Variables |
| OPTICAL_EXPORT int | rdebug |
| OPTICAL_EXPORT int | rt_verbosity |
| OPTICAL_EXPORT double | AmbientIntensity |
| OPTICAL_EXPORT vect_t | background |
| OPTICAL_EXPORT struct region | env_region |
| OPTICAL_EXPORT int | max_bounces |
| OPTICAL_EXPORT int | max_ireflect |
| OPTICAL_EXPORT const char | liboptical_version [] |
| bu_structparse | phong_parse [] |