Bumpmap experiment - Printable Version +- Qbasicnews.com (http://qbasicnews.com/newforum) +-- Forum: Qbasic "like" compilers/interpreters (http://qbasicnews.com/newforum/forum-5.html) +--- Forum: FB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-15.html) +---- Forum: FB Projects (http://qbasicnews.com/newforum/forum-16.html) +---- Thread: Bumpmap experiment (/thread-6634.html) |
Bumpmap experiment - SBM Productions - 03-27-2005 www.geocities.com/shashiraja_1/3dfloor.zip Press space to alternate between normal and bumpmapped. Tell me what you think.(FBCST is the freebasic version) Also.... How come the program refuses to exit when I press escape, though it worked fine in qb? Bumpmap experiment - MystikShadows - 03-27-2005 very cool little demo....the bump effect is convincing......well done Bumpmap experiment - Rattrapmax6 - 03-27-2005 That really cool,. =b But for your question, I looked at your code, really simple, you're checking for both k$ and INKEY$, this always screws up keypresses, don't know why.. here, change this: Code: IF INKEY$ = " " THEN mode = -mode To this, and it works well as you will see... Code: IF k$ = " " THEN mode = -mode :wink: , Really cool still!!! |