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

Username:   Password: 
 RegisterRegister   
 Glass Cube(has lighting)
Index -> Programming, C++ -> C++ Tutorials
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Homer_simpson




PostPosted: Sat Jun 14, 2003 12:14 pm   Post subject: Glass Cube(has lighting)

this is a prism looking Cube..it also includes lighting...
to do blending(making it look like glass) use:

code:
glEnable(GL_BLEND);                    
glBlendFunc(GL_ONE, GL_ONE);       

and to disable it use:
code:
glDisable(GL_BLEND);



RotateCube.zip
 Description:

Download
 Filename:  RotateCube.zip
 Filesize:  36.13 KB
 Downloaded:  256 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
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  [ 1 Posts ]
Jump to:   


Style:  
Search: