prashantgp
10-28-2002, 01:15 AM
hi all,
i want a 3 digit counter(000-999) to be displayed on left up corner of the window.
i am using glutBitmapCharacter function for putting the digits character by character.
my problem is that, when i run the program , i am not getting the display of counter which is changing contineously.
since counter has to be at the same position,
it is getting overwritten and i am ending up with some sort of Mesh without the actual no.s.
but the counting happens correctly.
so pls help me out to ge the exact display.
i want a 3 digit counter(000-999) to be displayed on left up corner of the window.
i am using glutBitmapCharacter function for putting the digits character by character.
my problem is that, when i run the program , i am not getting the display of counter which is changing contineously.
since counter has to be at the same position,
it is getting overwritten and i am ending up with some sort of Mesh without the actual no.s.
but the counting happens correctly.
so pls help me out to ge the exact display.