Click here to Skip to main content
11,494,943 members (37,677 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C++ GimmeCode NoEffort
how to draw stadium and add team and balls and vhange the backgrround color using open gl by c++ thanks...........☻
Posted 17-Oct-12 15:16pm
Edited 17-Oct-12 15:40pm
Wes Aday94.6K
Wes Aday at 17-Oct-12 20:40pm
Well you would use a combination of triangles, ellipses and rectangles.
Legor at 18-Oct-12 9:06am
What have you tried?
joshrduncan2012 at 18-Oct-12 14:00pm
I second Legor's question. Have you tried this already or are you wanting someone to do the work for you for free?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Usually, complex models like stadium are not drawn by code manually. Complex models are modelled and save to a file, using a 3D software like Blender[] or Autodesk 3ds Max[^]. And programmer will use a file parser to parse that file, in order to load the model into OpenGL. Common 3D file formats are 3ds[](binary), OBJ[](text), COLLADA[](xml) and etc.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Dnyaneshwar@Pune 692
1 Sergey Alexandrovich Kryukov 340
2 CHill60 318
3 Sascha Lefèvre 280
4 Nakul Chaudhari 236
0 Sergey Alexandrovich Kryukov 10,297
1 OriginalGriff 8,821
2 Sascha Lefèvre 3,864
3 Maciej Los 3,412
4 Richard Deeming 2,500

Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 19 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100