Re: Issue with shading the cubic
Posted by tamb20 on Oct 22, 2015; 12:23am
URL: https://forum.jogamp.org/Issue-with-shading-the-cubic-tp4035539p4035550.html
My current text file is just arranged as
number of (points, elements, nmber of points per element)
point 1
point 2
..
.
.
.
.
.
element 1
element 2
.
.
.
.
example for small shape contains of 6 points and 3 elements in tetrahedral of 4 points:
6 3 4
0 0 0
0.1 0 0
0.05 0.05 0
0 0 0.1
0.1 0 0.1
0.05 0.05 0.1
0 1 2 5
0 1 4 5
0 3 4 5