kennyurge
05-01-2006, 11:08 PM
Hi guys~My system is nearly complete...:lol:
but there still few problem that i can't solve it....
1)I'm using a 3dsloader from morrowland...but according the coding...it will read the color that it last rendered from the model...therefore...when im using glPrint(from nehe tutorial)...although i set the glColor before i call glPrint...I still cant get the color that I want and the color of the text will depends on which color was render last from the model.....but i really need to hard code the color of the text....
2)Multiple viewport....I posted same question before but all the time i tried to solve it but till now this problem can't be solved yet....I did as in the nehe tutorial but i still failed to get the multiple viewport in my system.....
3)The fullscreen....in my system....i start my window with 500*500(size), and in my system....i already fix when user click on certain xy area..it will move to the next scene...just like a button(im doin my GUI with this:blush: ),but the problem is...once i run my program....then if i press the maximize button on the upper right part of the window...the xy area will remain the same area without follow the fullscreen
eg: if user click the button which within x=700,750 and y=850,900,it will change the scene....after maximize...the button will change to within x=1000,1500 and y=4000,4500,but if the user click within this range will nothin happen....but if use still click on the 700,750 and 850,900 area....it will change to the next scene...
i know one way to solve this problem is to get the button coordinate again in fullscreen and do more condition on it(if....else), but this will make my program longer and not efficient....i need suggestion form u guys.....please help....:yes:
Thanks!:worthy:
but there still few problem that i can't solve it....
1)I'm using a 3dsloader from morrowland...but according the coding...it will read the color that it last rendered from the model...therefore...when im using glPrint(from nehe tutorial)...although i set the glColor before i call glPrint...I still cant get the color that I want and the color of the text will depends on which color was render last from the model.....but i really need to hard code the color of the text....
2)Multiple viewport....I posted same question before but all the time i tried to solve it but till now this problem can't be solved yet....I did as in the nehe tutorial but i still failed to get the multiple viewport in my system.....
3)The fullscreen....in my system....i start my window with 500*500(size), and in my system....i already fix when user click on certain xy area..it will move to the next scene...just like a button(im doin my GUI with this:blush: ),but the problem is...once i run my program....then if i press the maximize button on the upper right part of the window...the xy area will remain the same area without follow the fullscreen
eg: if user click the button which within x=700,750 and y=850,900,it will change the scene....after maximize...the button will change to within x=1000,1500 and y=4000,4500,but if the user click within this range will nothin happen....but if use still click on the 700,750 and 850,900 area....it will change to the next scene...
i know one way to solve this problem is to get the button coordinate again in fullscreen and do more condition on it(if....else), but this will make my program longer and not efficient....i need suggestion form u guys.....please help....:yes:
Thanks!:worthy: