Tagged Questions
1
vote
2answers
129 views
Texturize a shape of multiple triangles in 2D
This is an example of a shape consisting of multiple points, triangles and eventually a shape:
Red Dots = Vector3 (X, Y, Z) or Vector2 (X, Y)
If I have a Texture of a certain size, how do I ...
2
votes
2answers
166 views
Drawing multiple triangles at once isn't working
I'm trying to draw multiple triangles at once to make up a "shape". I have a class that has an array of VertexPositionColor, an array of Indexes (rendered by this Triangulation class):
...
10
votes
3answers
710 views
Why are triangle fans not supported in Direct3D 10 or later?
http://msdn.microsoft.com/en-us/library/windows/desktop/bb206271(v=vs.85).aspx
Why? Are there inherent drawbacks to working with triangle fans?
4
votes
1answer
179 views
Create shape from points / lines in editor and mathematically calculate nearest points within shape
If I want an editor that accepts "points" of a minimum of three (a triangle) and I just add some points first, like this:
how can I mathematically connect these corners (points) into an object of ...
3
votes
1answer
1k views
How do you split indices and vertices if their quantity goes over the limit?
I try to draw a flat surface of 500x500 squares which are built out of four vertices by two triangles.
There are 1,000,000 vertices and 1,500,000 indices.
The Reach profile of xna, limits primitives ...