2
votes
1answer
159 views

Software rendering 3d triangles in the proper order

I'm implementing a basic 3d rendering engine in software (for education purposes, please don't mention to use an API). When I project a triangle from 3d to 2d coordinates, I draw the triangle. ...
2
votes
2answers
166 views

Drawing multiple triangles at once isn't working

I'm trying to draw multiple triangles at once to make up a "shape". I have a class that has an array of VertexPositionColor, an array of Indexes (rendered by this Triangulation class): ...
3
votes
2answers
1k views

polygon triangulation algorithm

I need to triangulated a polygon for rendering in opengl es on android ( no glu triangulation available) Is there an already known algorithm for this? The polygon can be convex or concave (with no ...