Click here to Skip to main content
15,039,714 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
how to draw stadium and add team and balls and vhange the backgrround color using open gl by c++ thanks...........☻
Posted
Updated 17-Oct-12 14:40pm
v2
Comments
[no name] 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

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)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900