Tachyon (current)
Current Main Branch
|
Go to the source code of this file.
Data Structures | |
struct | parvol |
Functions | |
parvol * | newparvol () |
color | par_volume_texture (vector *, texture *, ray *) |
parvol* newparvol | ( | ) |
Definition at line 30 of file parvol.c.
References box_intersect(), and box_normal().
color par_volume_texture | ( | vector * | , |
texture * | , | ||
ray * | |||
) |
Definition at line 63 of file parvol.c.
References parvol::ambient, point_light_t::ctr, parvol::diffuse, parvol::evaluator, FABS, box::max, box::min, parvol::opacity, ParVoxelColor(), parvol::samples, shade_transmission(), VDOT, VNorm(), and VSUB.