문제

I'm currently trying to convert this code to C# XNA, however I'm having an issue with converting the CreateCube method - the resources on creating vertex lists in XNA seem to be outdated, dead, or just don't work.

Can anyone give me some help? I just want to create a colored, untextured cube by manually setting the vertexes of each face, then adding the (Those) cubes, or portions of cubes, to a VertexList to render.

도움이 되었습니까?

해결책

Check out this article on how to Construct, Draw and Texture a cube. You can leave out the Texturing part as you don't require that, but the article is a good start and follows a similar approach to your article.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top