Click here to Skip to main content
12,696,034 members (31,542 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C++
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
Updated 17-Oct-12 15:40pm
Wes Aday104.2K
v2
Comments
Wes Aday 17-Oct-12 20:40pm
   
Well you would use a combination of triangles, ellipses and rectangles.
Legor 18-Oct-12 9:06am
   
What have you tried?
joshrduncan2012 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
 
good
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.
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.170118.1 | Last Updated 19 Oct 2012
Copyright © CodeProject, 1999-2017
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