A vertex is a single point in a 3D object, used for simple model creation or advanced animation systems.
Questions tagged [vertex]
756 questions
10
votes
3 answers
OpenGLES 2.0 separate buffers for vertices, colors and texture coordinates
I've been learning OpenGL for a few days now by following some tutorials and coding some experiments of my own. But there is one thing I really don't understand which blocks me from continuing. I've been googling for a few hours now and didn't find…

polyclick
- 2,704
- 4
- 32
- 58
10
votes
1 answer
How to use igraph vertex.shape functionality
Has anyone used igraph's vertex.shape functionality? This http://cneurocvs.rmki.kfki.hu/igraph/doc/R/igraph.vertex.shapes.html was promising but I could not understand. Does anyone have an example of working code?

Dennis
- 332
- 1
- 4
- 12
10
votes
2 answers
How to get the vertices from an edge using igraph in python?
I am looping through the edges of a graph with:
for es in graph.es:
....
# v = []
# v = es.vertices()?
...
What method can I use to get the source and the target vertices for each edge?

giorgioca
- 713
- 1
- 8
- 21
10
votes
2 answers
How do I change the color of one vertex instead of all of them?
I'm new to OpenGL and GLSL, and am learning it through http://open.gl/ .
I've managed to draw a triangle and change the color of all the vertexes using:
glUniform3f(uniColor, red, 0.0, 0.0)
Where the value of "red" is constantly changing, but this…

01AutoMonkey
- 2,515
- 4
- 29
- 47
9
votes
2 answers
Struggling With Vertex And Index Buffers In Direct3D
I've tried for many months to learn how IDirect3DVertexBuffer9 and IDirect3DIndexBuffer9 work. I've read multiple books, e-books and forums and I still can't get the hang of how they work. Can somebody help me understand how they work and how they…

DeadCapacitor
- 209
- 4
- 11
9
votes
1 answer
OpenGL - Water waves (with noise)
I am currently in the process of making water waves, so basically I am starting from the beginning. I have created a mesh which is basically a flat square and have animated it in the vertex shader (below is the code which achieves that)
vtx.y =…

suphug22
- 181
- 1
- 8
9
votes
2 answers
How to detect border vertices of an open mesh 3d model?
There are two kinds of surface mesh models, closed mesh like a sphere or a cube and the second one is the open mesh model which means the surface of the model is not in a closed loop. It is open from somewhere like a hollow pipe.
Sp what I want is I…

maxpayne
- 1,111
- 2
- 21
- 41
8
votes
2 answers
What is the difference between glVertexAttribDivisor and glVertexBindingDivisor?
I was looking for ways to associate attributes with arbitrary groupings of verticies, at first instancing appeared to be the only way for me to accomplish this, but then I stumbled up this question and this answer states :
However what is possible…

Krupip
- 4,404
- 2
- 32
- 54
8
votes
1 answer
Vertex Displacment with Audio Context (THREE.JS R76)
I am trying to map vertices from the AudioContext api in Three.js.
Now, I have successfully done this with planes(non shader) but am running into problems trying to apply it to a cylinder. Since the cylinder vertices are full vectors, instead of 0's…

Michael Paccione
- 2,467
- 6
- 39
- 74
8
votes
3 answers
ThreeJS: is it possible to simplify an object / reduce the number of vertexes?
I'm starting to learn ThreeJS. I have some very complex models to display.
These models come from Autocad files that my customer provides.
But sometimes the amount of details in the model is just way too much for the purpose of the website.
I…

Dylan
- 9,129
- 20
- 96
- 153
8
votes
1 answer
Jung coloring vertex with value
I'm stuck at the moment with the Java library Jung.
I display vertices and edges, only I can not find any functions for vertex coloring that I need with the value of the vertices and not with the mouse.
import…

Daleksek
- 135
- 2
- 10
7
votes
1 answer
how provide a vertex_index property for my graph
Since my graph use setS for vertex, I have to either provide a vertex_index property map for my graph, or give an explicit vertex_id argument to write_graphviz, to be able to use write_graphviz.
My graph is defined as: typedef adjacency_list

shn
- 5,116
- 9
- 34
- 62
7
votes
1 answer
glVertexAttribPointer on built-in vertex attributes like gl_Vertex, gl_Normal
I have to send vertex attributes using glVertexAttribPointer to shaders expecting them as built-in (gl_Vertex, gl_Color, etc.).
The glVertexAttribPointer function needs to specify the index (or location) of each built-in attribute. I can do it on…

Pau Baiget
- 73
- 3
7
votes
2 answers
Best technique to handle vertices in OpenGL? C++
I am implementing a map renderer for Quake. I am currently running through the arrays of vertices and sending them one at a time. I was told that by using vertex arrays, I can greatly speed up the rendering process by sending vertices in a batch.…

Pladnius Brooks
- 1,248
- 3
- 19
- 36
7
votes
1 answer
OpenGL Vertex buffer object, can I access the vertex data for other uses such as collision detection?
I'm currently using the GLTools classes that come along with the Superbible 5th edition. I'm looking in the GLTriangleBatch class and it has the following code:
// Create the master vertex array object
glGenVertexArrays(1,…

kbirk
- 3,906
- 7
- 48
- 72