Tagged Questions
0
votes
0answers
25 views
Vertex Welding with Texture Atlas
What options would there be for texture usage in a 3D world made of cubes to increase performance?
I've been doing a texture atlas and storing faces individually, but I've also read in a couple ...
1
vote
1answer
50 views
MonoGame WP custom vertex decleration
How do I go about implementing and using a custom vertex deceleration in monogame for windows phone 8. I want to be able to store a position, a colour and a normal?
1
vote
2answers
119 views
One or multiple VertexBuffers
I'm currently working on a personal project where I'm trying to load the levels and all of the geometry from the game "Medal of Honor Allied Assault" into my own C# code-base based on SharpDX.
I ...
1
vote
4answers
132 views
Selecting and moving vertices
How can I identify the correct vertecis and move them in XNA using VertexBuffer? Let's say I have a simple cuboid in my project and want to move one face of it. How would I loop thru vertices, get ...
1
vote
1answer
131 views
XNA shield effect with a Primative sphere problem
I'm having issue with a shield effect i'm trying to develop. I want to do a shield effect that surrounds part of a model like this: http://i.imgur.com/jPvrf.png
I currently got this:
...
2
votes
1answer
146 views
DrawIndexedPrimitives overdraws data in previous buffer if called in loop
I doubled the question from stackoverflow here, and will delete the opposite of a question that gave me the answer.
I have the Draw method in one of my renderers, that loops through the dictionary ...
2
votes
1answer
167 views
Overlapping vertices on sphere?
Iv started up doing some programming in XNA as Iv been doing C# for several years and would like to start do some 3D work with C# and XNA framework.
Right now Im trying to build a sphere by code. It ...
4
votes
1answer
350 views
Per-vertex position/normal and per-index texture coordinate
In my game, I have a mesh with a vertex buffer and index buffer up and running. The vertex buffer stores a Vector3 for the position and a Vector2 for the UV coordinate for each vertex. The index ...
1
vote
2answers
491 views
XNA 4.0 Point Vertex Rendering
I have a buffer of about 134 million particles and a very powerful computer to render them smoothly, but I am getting an error when trying to render them as primitive lines. It says that I cannot ...
2
votes
1answer
218 views
Implementing IVertexType Interface
In XNA, I have created a new VertexType, called it VertexPositionTextureLight which inherts the IVertexType Interface, but apparently I need to implement the member of VertexDeclartion which I cleary ...
2
votes
1answer
211 views
Shader and Custom Vertex Format Errors
I am creating an editor of sorts that allow you to create 3D voxel models. I just got started and have ran into a few errors. Here is what it is producing:
I think the problem has to do with the ...
0
votes
1answer
191 views
Creating a vertexbuffer to define vertices arranged in a grid with the view for easy editing later
I'm using the marching square algorithm (2D version of marching cubes) to generate vertices.
I end up with vertices arranged in a grid.
I want to enable destructible terrain, and the way i was ...
3
votes
1answer
369 views
Count number of Vertices in VertexBuffer in XNA 3.1
Where in XNA 4.0 one can go:
myVertexBuffer.VertexCount;
What is the best way to count the number of vertices in 3.1 for a dynamic buffer (i.e. where I do not know the number of elements that ...