In geometry a vertex is a point defining the corners of polygons or intersections of lines. A triangle for example is defined by 3 vertices with lines between them. In 3D-graphical APIs like OpenGL and Direct3D a vertex is a data structure containing information about the positions, normals, ...
0
votes
1answer
54 views
XNA 4 VertexPositionTexture triangleStrip sporadically disappearing [closed]
I am drawing a traingleStrip using VertexPositionTexture and BasicEffect that extends from the first person perspective of the screen out a certain distance on the Z axis. In a loop I pass start and ...
0
votes
1answer
81 views
How to update “dynamicVertexBuffer” correctly with “setdata” on XNA?
I developed a small 3d games xna and uses a "DynamicVertexBuffer" and "DynamicIndexBuffer" to store and draw my vertices. Everything works fine, but my problem is the "Update" function where I update ...
0
votes
1answer
91 views
XNA doesn't sometimes draw 3D models properly [closed]
I am developing an 3D platformer game with XNA framework and I am experimenting some errors in drawing. Here is some images of the errors, that appears in 3D models and in planes:
In the first ...
1
vote
1answer
84 views
How to draw different textures on my cubes DrawUserIndexPrimitive with XNA?
I'm having some problem to draw textures with class "DrawUserIndexPrimitive" on Xna.
I can draw my cubes / models without problem. But I want to draw different textures on my cubes.
I loop on each ...
4
votes
3answers
310 views
What are normal, tangent and binormal vectors and how are they used?
I would like to find out the following information:
What are they?
Example usage in game development (the area they are used in)
About the following vector types:
Normal
Tangent
Binormal
A ...
-1
votes
2answers
137 views
Draw 60,000 cubic with DrawUserPrimitives on xna with only 20 fps-buffer problem?
I'm working on a minecraft style games on xna. I know it is not easy to draw a lot of cube with a good ratio of fps. I use the method "DrawUserPrimitive" with a buffer to draw a floor 250X250 cubes. ...
-2
votes
1answer
154 views
How to draw millions of cubes without idle , model instancing in XNA?
I work for a project in the style of game "Minecraft".
I started using the "Model Instancing" in order to generate a large number of cubes possessing an identical model.
So far so good.
My problem is ...
1
vote
2answers
113 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 ...
2
votes
1answer
84 views
Pixelated Normal Generation
I am generating normals for each vertex in a standard 512*512 quad. Yet when I do using the following code:
public Vector3f[] normals(Vector3f[] surface){
Vector3f[] normals = new ...
1
vote
4answers
128 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
87 views
How do I create geometry in SceneKit?
I have been experimenting with Apple's new SceneKit for fun, but I cannot seem to figure out how to input vertex data without loading a .dae file.
Does anybody who has been testing SceneKit have any ...
1
vote
0answers
100 views
How to draw a large number of model (identical) with vertex buffer in XNA?
I am facing a problem that many developers as have probably found a solution.
I have a small project with a floor designed with small cubes (100X100).
If I exceed this limit, my game suffered major ...
0
votes
1answer
123 views
Disappearring instances of VertexPositionColor using MonoGame
I am a complete beginner in graphics developing with XNA/Monogame. Started my own project using Monogame 3.0 for WinRT. I have this unexplainable issue that some of the vertices disappear while doing ...
3
votes
3answers
450 views
DirectX 9 - model rendering from .obj files issues
Well I can clearly tell that what rendered is close to what I wanted, but there seems to be a few problems.
The .obj files contained values like "f", "v", "vt".
Image Of Problem: ...
0
votes
1answer
160 views
Custom VertexDeclaration for Color, Texture, Normal
What is the best way to create a VertexDeclaration, that makes it able to render a Shape consisting of vertices and also be able to store a color for the shape (in case the texture can't be rendered - ...