![]() |
| | #1 |
| Crazy Fool Join Date: Jan 2003 Location: Canada
Posts: 2,596
| Stencil Buffer Tutorial Port.. test me! (linux) long story short: i grabbed the original tutorial (VC++) and created my own linux port. By doing this i also found many .... interesting ... refactorings made by whoever did the original linux port. Anyway, id appreciate it you guys could test this and make sure it runs ok. The original tutorial (along with key commands) can be found here Thanx ![]() edit: came back to grumble about how ".tgz" and ".tar.gz" arnt valid file extensions for cboard attachments. *grumbles off*
__________________ jeff.bagu.org - Terrain rendering and other random stuff |
| Perspective is offline | |
| | #2 |
| Registered User Join Date: Mar 2003 Location: Louisiana
Posts: 926
| it works nicely for me. The shadow look realistic also. Although I had these two makefile warnings Code: make: Warning: File `Makefile' has modification time 5.4e+04 s in the future ... make: warning: Clock skew detected. Your build may be incomplete. [edit]for your moving light source. Opengl Red book puts it in a push/pop matrix. Your way works though. I like your matri math in your code. Very eduucated. For a keyboard function, I add a usleep(100) at the beginning of it. I saw it in one of the NeHe tutorials. It said so it doesn't overload the function.[/edit] Last edited by linuxdude; 08-15-2004 at 06:10 PM. |
| linuxdude is offline | |
| | #3 |
| Crazy Fool Join Date: Jan 2003 Location: Canada
Posts: 2,596
| thanks for the reply linuxdude. All that code is from the original NeHe tutorial except for the GLUT code and a few oddities here and there that i had to fix to get it running on linux. But im gonna let your compliments go to my head anyway hehe. It runs fine on my laptop, i just wanted to make sure it worked for others as im submitting it to NeHe.that makefile warning is kind of funny, you must live west of where i am
__________________ jeff.bagu.org - Terrain rendering and other random stuff |
| Perspective is offline | |
| | #4 |
| Registered User Join Date: Aug 2004
Posts: 34
| no warnings for me
__________________ ~flood |
| subflood is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C++ Operator Overloading help | Bartosz | C++ Programming | 2 | 08-17-2005 12:55 PM |
| MSVC Template Constructor/Assignment Errors | LuckY | Windows Programming | 3 | 07-22-2005 02:57 PM |
| need guidance to connect to serial port | gnychis | Linux Programming | 1 | 06-02-2005 10:10 AM |
| installing linux for the first time | Micko | Tech Board | 9 | 12-06-2004 05:15 AM |
| DOS, Serial, and Touch Screen | jon_nc17 | A Brief History of Cprogramming.com | 0 | 01-08-2003 04:59 PM |