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, ...
3
votes
1answer
82 views
Spritebatch Vertex shader world matrix change after each draw
I have a spritebatch where I draw some textures transformed in 3d space.
The easy way was just Begin with the transformation matrix, draw, and end it right after.
But that is silly, so I'm trying ...
0
votes
1answer
247 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
225 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 ...
2
votes
0answers
160 views
How do I morph between meshes that have different vertex counts?
I am using MeshMorpher from the Unify wiki in my Unity project, and I want to be able to transform between arbitrary meshes.
This script only works when there are an equal number of vertices between ...
2
votes
0answers
169 views
Vertex Normals, Loading Mesh Data
My test FBX mesh is a cube. From what I surmise, it seems that the cube is on the extreme end of this issue, but I believe that the same issue would be able to occur in any mesh:
Each vertex has 3 ...
1
vote
0answers
64 views
Surface normal to screen angle
I've been struggling to get this working. I simply wish to take a surface normal and convert it to a screen angle.
As an example, assuming we're working with the highlighted surface on the sphere ...
1
vote
0answers
184 views
Vertex shader to Pixel shader NVIDIA problem - restarting drivers
I have problem with my shader on NVIDIA cards. On AMD it's working right.
Shader Builder exported CODE:
//ROOT
//PSParts
//VSParts
//Samplers
sampler sLod23ColorGround : register(s0);
sampler ...
1
vote
0answers
343 views
XNA HLSL: Skinned Model Deforming Wrong
I am creating a basic XNA recreation of Minecraft. My current problem is that my "Steve" model, which is skinned with an armature using vertex groups to deform, is showing up disfigured beyond all ...
0
votes
0answers
15 views
Strange alpha-blending layering artifact
I am quite new to the shader world, and I am creating a pixel-lit and vertex-colored shader, based on the answer for my question at "Shader which supports vertex colors and pixel lights?". I'm having ...