Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 248
  • Last Modified:

OpengGl example 3d Cube?

Hello,

I am trying to learn more about opengl and the glut classes. And was looking for an example which shows how to build a 3d cube, with equal width, height, and depth.

And which demonstrated the use of display angles, and lighting.

I wondered if anyone had an example which covers this, and using the glut classes?

Thanks
0
AntoniRyszard656
Asked:
AntoniRyszard656
  • 2
1 Solution
 
MechanTOurSCommented:
i think u'll find what u need here :

http://nehe.gamedev.net/

are u using windows ?
0
 
AntoniRyszard656Author Commented:
Yes I am using win98/XP

Do these example use the glut library to display the graphics?
0
 
MechanTOurSCommented:
it looks like it only use glut on MAC.

windows tutorial for glut : http://www.lighthouse3d.com/opengl/glut/

Why do u need glut specifically ?
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now