I've done some searching on this, but it seems Xna wasn't built for 3D, but there are workaround.
The problem is I can't find a simple tutorial on how to draw only one plane with a texture. All the tutorials have to be complicated 3Dmodels.
Help?
Posted 02 March 2013 - 10:31 AM
I've done some searching on this, but it seems Xna wasn't built for 3D, but there are workaround.
The problem is I can't find a simple tutorial on how to draw only one plane with a texture. All the tutorials have to be complicated 3Dmodels.
Help?
Posted 02 March 2013 - 02:49 PM
With most code I've seen, people write their own simple class for rendering quads for planes. You have a method for setting the plane dimensions and the texture, another one for updating the vertices, and one to draw the quad. Here's a tutorial with an example.
Posted 02 March 2013 - 04:48 PM
but it seems Xna wasn't built for 3D
umm yes it is ![]()
your best bet will be to follow a tutorial such as this: http://www.riemers.net/eng/Tutorials/XNA/Csharp/series1.php
and learn to draw using VertextPositionColors or your own custom structure.