Make your own free website on Tripod.com

Contents Turbed: A Turbulent Behavior Development System News
In file gluo.h:

void gluoTriangle2VoxG(double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3, int* voxgrid[], int gridRadius, int *allocfunc(int size))

Realizes the 3d scan convertion of a triangle to a voxel grid

Documentation

Realizes the 3d scan convertion of a triangle to a voxel grid.

The points are assumed to be given in clockwise order.

Parameters description:

x1,y1,z1 triangle point
x2,y2,z2 triangle point
x3,y3,z3 triangle point
voxgrid voxgrid to put in the voxel values
radius radius of the voxel grid = grid size/2
allocfunc function to allocate the memory for the lists

Alphabetic index HTML hierarchy of classes or Java


This software was originally written by Daniel Barrero at the IRIT's Equipe Synthèse d'Images
contact: barrero@irit.fr

Generated by doc++