Hi I am making a grid based game with 2D animation. To draw 2D objects, I followed the steps inI was also able to display images using open gl using the steps inCode :http://www.gamedev.net/community/forums/topic.asp?topic_id=104791Now, my problem is that I want to display only half (for example) of hte image. How do I do that? If I change the szie of the quad, it just resizes.Code :http://www.nullterminator.net/gltexture.html
Code ://if i try limiting the image to 50%, it just resizes glVertex2d(50%, 50%);
Thanks!



