mater.c File Reference

#include "common.h"
#include <stdio.h>
#include "machine.h"
#include "vmath.h"
#include "mater.h"
#include "raytrace.h"
#include "./debug.h"

Include dependency graph for mater.c:

Go to the source code of this file.

Functions

void rt_insert_color (struct mater *newp)
void rt_pr_mater (register struct mater *mp)
void rt_color_addrec (int low, int hi, int r, int g, int b, long addr)
void rt_region_color_map (register struct region *regp)
void rt_color_free (void)

Variables

materrt_material_head = MATER_NULL
 defined in mater.c


Detailed Description

Code to deal with establishing and maintaining the tables which map region ID codes into worthwhile material information (colors and outboard database "handles").

These really are "db_" routines, more fundamental than "rt_".

Functions - color_addrec Called by rt_dirbuild on startup color_map Map one region reference to a material

Author - Michael John Muuss

Source - SECAD/VLD Computing Consortium, Bldg 394 The U. S. Army Ballistic Research Laboratory Aberdeen Proving Ground, Maryland 21005

Definition in file mater.c.


Function Documentation

void rt_insert_color struct mater newp  ) 
 

void rt_pr_mater register struct mater mp  ) 
 

Definition at line 75 of file mater.c.

References bu_log(), and void().

Referenced by rt_insert_color().

Here is the call graph for this function:

void rt_region_color_map register struct region regp  ) 
 

Definition at line 214 of file mater.c.

References bn_inv255, bu_log(), MATER_NULL, mater::mt_b, mater::mt_forw, mater::mt_g, mater::mt_high, mater::mt_low, mater::mt_r, REGION_NULL, and rt_material_head.

Here is the call graph for this function:


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