Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I get a top-down,side view of the model imported into XNA and then save that view as an image, that can be used later in the program?

Thank you for your time

share|improve this question
There are tons of tutorials on how to do each of these 3 things readily available. Have you looked into solving the problem your self at all? – ClassicThunder Feb 25 '13 at 19:56
Yes I did, and I couldnt find any... – user1806687 Feb 25 '13 at 19:57
up vote 3 down vote accepted

Set a RenderTarget on your application; this will set the scene for saving and loading that texture data later in the application life cycle.

You're going to want to render your model and scene exactly as you want to on the default RenderTarget and then make sure nothing else is rendered on that RenderTarget. After this is done for a single pose you can call SaveAsPNG from Texture2D (RenderTarget is inherited from this). After this is done, just load up the image into a Texture or alternatively just cache that Texture2D somewhere for later use instead of saving it.

Hope this helps!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.