A vertex is a single point in a 3D object, used for simple model creation or advanced animation systems.
Questions tagged [vertex]
756 questions
0
votes
1 answer
OpenGL Gl.glColor3f How to color with one parametr?
I have some question about visualization in OpenGL. I have points in 3D space, each point also have one extraValue, which represent diffrent values, eg temperature, pressure and so on. User chooses one of this and other method sets extraValue to…

TMachna
- 279
- 1
- 2
- 10
0
votes
1 answer
How to retrieve runtime color of vertices of a model in Ogre3D?
I have loaded an entity in my scene. I want to use vertices' properties in my machine vision program.
My entity model has bones that I change these bones at runtime. therefore I want runtime attributes of vertices. these attributes are POSITIONS and…

user3735601
- 1
- 2
0
votes
1 answer
VertexDeclaration is not included OGRE::VES_DEFFUSE
I have loaded an entity in my Ogre program. Then list Elements in vertexDeclaration like below.
Ogre::VertexDeclaration::VertexElementList lst = vertex_data->vertexDeclaration->getElements();
In the list i have seen VES_POSITION and VES_NORMAL…

user3735601
- 1
- 2
0
votes
1 answer
How to use boost vertex_descriptors?
I'm trying to use C++ boost to make a graph from an input file and currently I have vectors with vertex names and edge weights stored in them.
I know how to add vertices using:
typedef boost::graph_traits < Graph >::vertex_descriptor Vertex
Vertex…

user3543260
- 27
- 5
0
votes
1 answer
Which vertices is observable from the specific camera view in OGRE3D engine?
I am a new user Ogre3d. My application is in machine vision field.
In this regard, I encountered a problem I'm very grateful if you help me.
In my application, 3D model (human model) with skeleton and bones loaded.
I change bones angle…

user3735601
- 1
- 2
0
votes
1 answer
DirectX cuts Vertex and only draws last call
This is what happens in DirectX:
What it should do is display 5 of those birds. It only does one (the last one) and also not correctly.
And this is how it really should look like (same buffers etc., but done in openGL):
So any idea what could…

PuRe
- 179
- 2
- 13
0
votes
0 answers
How can I add a new node and get maximum betweenness?
What I need to do is to add a new vertex to a graph and find two edges to add to it in order to get a (very) big betweenness for it.
What I tried to do is to create 1 edge to a very central node and the iterate through all the other nodes and try to…

Javi
- 889
- 1
- 16
- 41
0
votes
1 answer
OrientDB Select name of an an object followed by more than 2 users
I have this two classes :
public interface Persona {
@Property("name")
public void setName(String name);
@Property("name")
public String getName();
@Property("surname")
public void setSurname(String surname);
…

stecava
- 71
- 10
0
votes
1 answer
Rotating vertices about point
I'm reverse engineering a level map for a game. Each object within the level has 3 floats for positioning (x,y,z) and 3 floats for rotation (x,y,z).
A lot of the objects, when pulled into a 3D Program, axis sit at 0,0,0 (world axis) and the object…

Hussien Hussien
- 150
- 1
- 3
- 14
0
votes
1 answer
Should vertex data be laid out on per-pertex or per-attribute basis?
I have a piece of OpenGL code that renders meshes. I use VBOs to render them. Now, meshes consist of vertices that have the following attributes:
glm::vec3 position;
glm::vec2 uv;
glm::vec4 color;
glm::vec3 normal;
glm::vec3 tangent;
glm::vec3…

manabreak
- 5,415
- 7
- 39
- 96
0
votes
1 answer
How to get the screen position in an unlit shader in Unity3D?
I'm writing a shader in Unity3D that isn't based on "#pragma surface surf Lambert" or any other built in lighting model. How do I get the current pixel screen position in the fragment program? I need it to be in pixels (not between 0 and 1 or -1 and…

user3551745
- 33
- 2
- 9
0
votes
1 answer
MXGraph.getPrettyXML() not returning dynamically made DOM changes
I'm trying to persist MXGraph to DB and re generate upon user request. Below is how use user flow is:
Created HTML for Vertex
Added vertex (v) to Graph
select HTML element (v.getElementById())
modify HTML in (V) vertex
get XML of graph. Here is…

Prasad.CH
- 492
- 1
- 5
- 25
0
votes
1 answer
3d Max, maxScript. Set vertex position
How to set vertex position in 3d Max in maxScript?
$.selectedVerts.pos.x = 10 - not working

user1528799
- 463
- 1
- 8
- 18
0
votes
2 answers
Having trouble with Three js intersection face vertex positions
Hy!
I'm working in three js. I'm loading modells by THREE.JSONLoader. Now I'm at the part to select these objects and their faces. It is working.
But now I want to get the vertices of the selected face, check the code below:
intersections =…

Balázs Szántó
- 189
- 3
- 15
0
votes
2 answers
trying to color three vertexes
I am trying to draw three lines, change the weight of the 2nd and third, and color the 2nd and third. I think I am doing all the right things but things aren't working.
Instead of lines I am using a vertex, but the code is not working right -- no…

Waynewal
- 1
- 2