What is the more eficient algorithm to fill a triangle? any simple ideias to do it without use the java api
Printable View
What is the more eficient algorithm to fill a triangle? any simple ideias to do it without use the java api
3d graphics, you mean?Quote:
Originally posted by korax
What is the more eficient algorithm to fill a triangle? any simple ideias to do it without use the java api
if u mean 3d graphics when i said java api, yes.
i just what to use some lines to fill a 2d triangle.
arent triangles always 2d?
i still dont get what youre asking. heres an example:
im using a geforce 5400 or soemthing.. and it is capable of pumping out half a million billion (or something) filled triangles per second, in order to create shaped surfaces in a 3d world.
are these the kind of triangles youre trying to fill?
well , if you want to fill a triangle with a color (im assuming thats what you mean) why not just use the
g.fillPolygon(int xpoints[] , int ypoint[] , int points) method of the AWT? But thats in 2D but i cant understand what you want so....