|
From: <mi...@al...> - 2004-07-01 10:10:21
|
Hi Per,
I am 'that' Michele that makes some strange questions, unsubscribed for
a while...
happy to meet again your attention.
The polygons are triangles stored in a structure like this:
struct element{
float vertex[3][3];
float normal[3][3];
element *newElement;
}
in a 'record'.
element *one,*start=NULL;
//If a new triangle comes
one=new element;
one->vertex[0][0]=...
...
one->element=start;
start=one;
There aren't holes in the geometry (for now), but I would like to smooth it.
thanks.
Da: pw...@ia...
Data: Jul 1, 2004 11:43:20 AM
A: mi...@al...
Cc: dev...@li...
Ogg: Re: [Dev-C++] polygon soup
Might you give us a bit more information about the polygons - are they a
ordered in a two-dimensional matrix? May they overlap in z order? Are
there holes in the geometry?
|