BRL-CAD
debug.h File Reference
#include "common.h"
#include "optical/defines.h"
Include dependency graph for debug.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OPTICAL_DEBUG   optical_debug
 
#define OPTICAL_DEBUG_HITS   0x00000001 /* 1 Print hits used by view() */
 
#define OPTICAL_DEBUG_MATERIAL   0x00000002 /* 2 Material properties */
 
#define OPTICAL_DEBUG_SHOWERR   0x00000004 /* 3 Colorful markers on errors */
 
#define OPTICAL_DEBUG_RTMEM   0x00000008 /* 4 Debug librt mem after startup */
 
#define OPTICAL_DEBUG_SHADE   0x00000010 /* 5 Shading calculation */
 
#define OPTICAL_DEBUG_PARSE   0x00000020 /* 6 Command parsing */
 
#define OPTICAL_DEBUG_LIGHT   0x00000040 /* 7 Debug lighting */
 
#define OPTICAL_DEBUG_REFRACT   0x00000080 /* 8 Debug reflection & refraction */
 
#define OPTICAL_DEBUG_STATS   0x00000200 /* 10 Print more statistics */
 
#define OPTICAL_DEBUG_RTMEM_END   0x00000400 /* 11 Print librt mem use on 'clean' */
 
#define OPTICAL_DEBUG_MISSPLOT   0x20000000 /* 30 plot(5) missed rays to stdout */
 
#define OPTICAL_DEBUG_RAYWRITE   0x40000000 /* 31 Ray(5V) view rays to stdout */
 
#define OPTICAL_DEBUG_RAYPLOT   0x80000000 /* 32 plot(5) rays to stdout */
 
#define OPTICAL_DEBUG_FORMAT
 

Variables

unsigned int optical_debug