View Full Version : OpenGL example programms
Ulrich
06-05-2004, 11:41 PM
I just started with programming in OpenGL and I'm
looking for example programms with the following geometrical features: circle, rectangle, ball, cube, block, cone, cylinder etc. Where can I find such example programms? Thanks for your support.
Ulrich
nexusone
06-06-2004, 03:39 AM
I have a some examples using these shapes on my website. www.angelfire.com/linux/nexusone (http://www.angelfire.com/linux/nexusone)
Also nehe.gamedev.net
Also is not a cube and a block the same thing?
A ball is called a sphere in 3D terms.
Originally posted by Ulrich:
I just started with programming in OpenGL and I'm
looking for example programms with the following geometrical features: circle, rectangle, ball, cube, block, cone, cylinder etc. Where can I find such example programms? Thanks for your support.
Ulrich
-NiCo-
06-06-2004, 08:11 AM
Maybe with 'block' you meant a cube with different lengths for each axis?
In that case you can simply use glScalef(lengthx,lengthy,lengthz) before the call to the cube routine.
Greetz,
Nico
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.