if i want to texture map my triangles with all different textures on each one its a great waste of space to have a square texture in memory and then put part of it on the triangle? has anyone ever though about this idea of mabye trangluar texture maps??
You can pack two (or more) triangular textures into one rectangular.
yea that will work but only if they are the same size? wont they?
if they are all differnet sized polys you wouldnt be able to make a square out of two odd shaped triangles?
The size of the polygon doesn’t matter, cause you use the texcoords to define what part of the texture gets samples. But putting 2 triangluar texture maps into one quad isn’t a good idead. First they may “bleed” into each other cause of filterung and second, you wouldn’t be able to repeat that texture unless you use a shader.
You can eliminate bleeding by not packing them tightly. Add a small border between the two pictures.