#include "rendermodes.h"
#include "macros_isoval.h"
#include "macros_equi.h"
Defines | |
#define | skymap_lookup(ftmpv, sc_off, zoff) |
#define | PHONG_ILLUM_IPOL_CUT(cin, dst) |
Functions | |
int | intersect_bb (float *vec, float *ipos, float *isect, float *nearest) |
Intersect ray with Boundind-Box of Volume. | |
int | intersect_sphere (float *ftmpv_in, float *ipos, float *isect, float *hit_dist) |
Intersect ray with sphere. | |
int | intersect_plane (float *ftmpv_in, float *ipos, float *isect, float *hit_dist) |
Intersect ray with plane. | |
void | fhrt_plane_sphere (rendersurf *rtsurf, uint32_t *voxel, float *ipos, float *ifor, float *iup, float *istr) |
Generate rays to cover the screen. | |
void | fhrt_bb (rendersurf *rtsurf, uint32_t *voxel, float *ipos, float *ifor, float *iup, float *istr) |
Variables | |
int | pos_x |
int | pos_y |
int | pos_z |
float | ftmpv [4] |
float | ftmpv_CUBE [4] |
float | add_x [3] |
float | add_y [3] |
int | in_volume |
Is used for the "schematic/abstract" view-mode when cutting the volume.
|
Generate rays to cover the screen. A ray for every 2x2 pixels is shot to draw the "abstract-cutting"-sphere/plane and the dataset's bounding box.
|
|
Intersect ray with Boundind-Box of Volume.
|
|
Intersect ray with plane.
|
|
Intersect ray with sphere.
|