View Full Version : More NeHe Lessons...
I've Rewritten NeHe Lessons 07 and 08 in thinBasic. :)
Lesson 07 Keyboard Controls...
'F' Key changes Texture Filter
'L' Key toggles Lighting
Lesson 08 Keyboard Controls...
'F' Key changes Texture Filter
'L' Key toggles Lighting
'B' Key toggles Blending
Rotate the Cubes using the Cursor Keys
'PgUp' and 'PgDn' will Zoom in and out.
Petr Schreiber
15-03-2007, 21:21
Thank you!,
another nice set of lessons.
One detail:
tbgl_getasynckeystate(%vk_b)
tbgl_getasynckeystate(%vk_l)
tbgl_getasynckeystate(%vk_F)
tbgl_GetAsyncKeyState(%VK_UP)
tbgl_GetAsyncKeyState(%VK_DOWN)
tbgl_GetAsyncKeyState(%VK_PGUP)
tbgl_GetAsyncKeyState(%VK_PGDN)
tbgl_GetAsyncKeyState(%VK_RIGHT)
tbgl_GetAsyncKeyState(%VK_LEFT)
Can be replaced with just "one liner":
tbgl_GetAsyncKeyState(-1)
You know, I had to find somthing on your examples :P
Please keep up the good work,
Petr
Mathew these NeHe conversions are a great idea.
Maybe Eros can make a special area for new users coming to thinBasic to easilly and quickly find these great tutorials.
I know I will go through them as you make them. A great way to learn. Thanks!!
Do you plan on going through all of them?
Petr Schreiber
15-03-2007, 21:41
Hi,
I am also all for "NEHE Lessons" child board under script projects.
I just can't see if I can do that as moderator, Eros will know :)
Bye,
Petr
ErosOlmi
15-03-2007, 22:12
Done
@Psch - Thank's for the advice. :)
@kryton9 - At the moment I'm just working my way through them one at time. ;)
@ErosOlmi - Thank's for creating the Tutorial Section. :)