Click here to Skip to main content
15,886,799 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I would like to ask your help in the following problem.
I'm creating a desktop (Winform) game application in XNA. I have a collection of points what I use to draw a polygon.
I would like to use this polygon to draw a building on the game level.
My question is how should I draw this building from a 2D polygon? The building height will change randomly.
I tried to use http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series2/Creating_the_3D_city.php[^], but this tutorial use fixed position and side number.
Does anyone have any idea how should I solve this problem?

Thanks for your help!
Sparrow
Posted

1 solution

Have you Googled for any XNA 3d building tutorials?
 
Share this answer
 

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