• 13
• 18
• 19
• 27
• 10

# Triangle pixel area

This topic is 3394 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hi, I've a strange question. Suppose that I setup the projection matrix with this function:
glOrtho(-1.0, 1.0, -1.0, 1.0, -1.0, 1.0);


and suppose that my viewport dimension is 1280x800. Is possible to create a triangle of area (in pixel) 2^n? For example, if I would a triangle of area 2^11 = 2048 pixel, how I must set the vertices? Or if I would a triangle of area 2^12, 2^13? Is possible? Thanks.