Tag Info

New answers tagged

1

Sure. Make non-square tiles. For 75 degrees, you want a tile that's tan(75) = 3.732 times as tall as it is wide. (edit: You might want to use shorter tiles on the 'middle' area between ground and roof, so as to enable buildings of various heights.)


1

You've got quite a few problems here. First, the DeclarationUsage enumeration maps to D3DDECLUSAGE under the hood; these values are not flags, so or'ing them together doesn't make sense. When you create the vertex element array for a vertex declaration, each vertex attribute (position, color, et cetera) must be its own element. Thus, you should initialize ...



Top 50 recent answers are included