Hi,
I am new in this forum but i little know and work with opengl.
My question is , in order to do texture mapping we actually try to fit the image in a square box. But if the image is not entirely covered with the box for example if the image is a plane and it is concave , when i try to fit the image in a box many area will remain with the background color (as the object of the image is concave) which is not at all required in my aero fighter game . Because in my game the background color changes with every stage i enter.
So, what should i do so that the empty area of the image should not show but only the object of the image will show??
The square will be the box and the image of the house i want to add. I don’t want to show the outside of the house(image)(vacent area enclosed by square). What should i do for this?