Tachyon (current)
Current Main Branch
|
Go to the source code of this file.
Data Structures | |
struct | extvol |
Functions | |
extvol * | newextvol (void *voidtex, vector min, vector max, int samples, flt(*evaluator)(flt, flt, flt)) |
color | ext_volume_texture (const vector *, const texture *, ray *) |
color ext_volume_texture | ( | const vector * | , |
const texture * | , | ||
ray * | |||
) |
Definition at line 115 of file extvol.c.
References extvol::ambient, point_light_t::ctr, extvol::diffuse, extvol::evaluator, ExtVoxelColor(), FABS, box::max, box::min, extvol::opacity, extvol::samples, shade_transmission(), VDOT, VNorm(), and VSUB.
Referenced by newextvol().
extvol* newextvol | ( | void * | voidtex, |
vector | min, | ||
vector | max, | ||
int | samples, | ||
flt(*)(flt, flt, flt) | evaluator | ||
) |
Definition at line 47 of file extvol.c.
References extvol::ambient, extvol::diffuse, extvol::evaluator, ext_volume_texture(), extvol_methods, extvol::max, extvol::min, extvol::opacity, and extvol::samples.
Referenced by rt_extvol().