CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - opengl code
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - opengl code - List
[
Technology Management
]
basic_shapes
DL : 0
COde shows how to draw basic geometric figures using Opengl & C-COde shows how to draw basic geometric figures using Opengl & C++
Date
: 2026-01-08
Size
: 8kb
User
:
nider
[
Technology Management
]
draw-cube
DL : 0
draw cube using OPENGL by code project C#
Date
: 2026-01-08
Size
: 29kb
User
:
MeuMik
[
Technology Management
]
Dual_floating_triangle
DL : 0
As you may understand with the name of project, there is two triangle and they are rotating. We have used the simple code for developing this project. Let start doing it. First we have defined a global variable for angle. The whole program is divided into three parts - Display, Timer and Main. We will code each of them one by one. First We will define the Display Function, where we are going to use simple primitive opengl function for drawing triangle GL_TRIANGLE. We use the global GAngle variable to rotate the drawn triangle. You can experiment with the angle and try how it turn out to be. You can also experiments with the vertices coordinate which draw triangles.
Date
: 2026-01-08
Size
: 1kb
User
:
Manjunath
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.