Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 3d box
Index -> Programming, C++ -> C++ Tutorials
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Martin




PostPosted: 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.



box.zip
 Description:

Download
 Filename:  box.zip
 Filesize:  40.31 KB
 Downloaded:  377 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Homer_simpson




PostPosted: 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 Very Happy
Martin




PostPosted: Thu Jun 12, 2003 11:02 pm   Post subject: (No subject)

Don't worry, I'm on it Wink

I just wanna make sure I've got this down pat first...such as figuring out why the box bounces
Homer_simpson




PostPosted: Thu Jun 12, 2003 11:05 pm   Post subject: (No subject)

what do u mean it bounces? it doesn't bounce... =/
Martin




PostPosted: Thu Jun 12, 2003 11:06 pm   Post subject: (No subject)

hold f or v
Homer_simpson




PostPosted: 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
Quakerstate98




PostPosted: Sat Mar 29, 2008 11:58 pm   Post subject: (No subject)

very nice, i'm trying to figure this stuff out
Display posts from previous:   
   Index -> Programming, C++ -> C++ Tutorials
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: