Author |
Message |
Martin
![](http://www.compsci.ca/wiki/images/4/46/CanadianStickUp.jpg)
|
Posted: Thu Jun 12, 2003 10:54 pm Post subject: 3d box |
|
|
After much searching and whatnot...here's my first openGL prog...I just messed around with one of nehe's programs. I think I finally understand a bit
Anyway, if you need glaux, it's on another post.
ASDWQE to move the box around
FV to zoom in and out.
The texture gives it a cool effect in my opinion.
Description: |
|
![](http://compsci.ca/v3/pafiledb/images/icons/clip.gif) Download |
Filename: |
box.zip |
Filesize: |
40.31 KB |
Downloaded: |
567 Time(s) |
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Homer_simpson
![](http://compsci.ca/v3/uploads/user_avatars/18138546704b4d2a3b2e50e.gif)
|
Posted: Thu Jun 12, 2003 11:01 pm Post subject: (No subject) |
|
|
aaaaahhhh... very nice finally some1 else joined us to learn opengl(leaving stupid old turing behind)... very nice work... all it needs is a little lighting to make it look even cooler
|
|
|
|
|
![](images/spacer.gif) |
Martin
![](http://www.compsci.ca/wiki/images/4/46/CanadianStickUp.jpg)
|
Posted: Thu Jun 12, 2003 11:02 pm Post subject: (No subject) |
|
|
Don't worry, I'm on it
I just wanna make sure I've got this down pat first...such as figuring out why the box bounces
|
|
|
|
|
![](images/spacer.gif) |
Homer_simpson
![](http://compsci.ca/v3/uploads/user_avatars/18138546704b4d2a3b2e50e.gif)
|
Posted: Thu Jun 12, 2003 11:05 pm Post subject: (No subject) |
|
|
what do u mean it bounces? it doesn't bounce... =/
|
|
|
|
|
![](images/spacer.gif) |
Martin
![](http://www.compsci.ca/wiki/images/4/46/CanadianStickUp.jpg)
|
Posted: Thu Jun 12, 2003 11:06 pm Post subject: (No subject) |
|
|
hold f or v
|
|
|
|
|
![](images/spacer.gif) |
Homer_simpson
![](http://compsci.ca/v3/uploads/user_avatars/18138546704b4d2a3b2e50e.gif)
|
Posted: Thu Jun 12, 2003 11:10 pm Post subject: (No subject) |
|
|
lol
it's not bouncing it simply reaches the max that you have set in your perpective command
code: | gluPerspective(45.0, // Viewing Angle
(float)(width/height), // Aspect Ratio
0.1, // Can See From This Near
100.0); // Can See To This Far |
|
|
|
|
|
![](images/spacer.gif) |
Quakerstate98
|
Posted: Sat Mar 29, 2008 11:58 pm Post subject: (No subject) |
|
|
very nice, i'm trying to figure this stuff out
|
|
|
|
|
![](images/spacer.gif) |
|