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 ES Polygon with Normals rendering (Note the 'ES!')
Ok... imagine I have a relatively simple solid that has six distinct normals but actually has close to 48 faces (8 faces per direction) and there are a LOT of shared vertices between faces. What's the most efficient way to render that in OpenGL?
I…

Mark A. Donohoe
- 28,442
- 25
- 137
- 286
0
votes
0 answers
(opengl) why i can draw with glVertex3f but not with glDrawElements?
Assume that everything else functions, if I do:
glcolor3f(1.f,1.f,1.f);
glBegin(GL_POLYGON);
glVertex3f(100.0, 100.0, 0.0);
glVertex3f(100.0, 600.0, 0.0);
glVertex3f(600.0, 600.0, 0.0);
glVertex3f(600.0, 100.0, 0.0);
glEnd();
I can safely draw, but…

XaBerr
- 350
- 3
- 19
0
votes
2 answers
Formula to convert vertex potions into proportions relative to States of America?
I am using a JGraphModelAdapter to convert a Jgraph to a JGrapht. Its working fine and my vertices are displayed on the gui as they should.
I have been given some base code to work with when editing the positions of the vertices on the GUI. (Seen…

Noob
- 145
- 2
- 9
0
votes
1 answer
Vertex connection by Yes/No in R Language
What I intend to do with my data frame using the R language is to plot it as a network of objects that are connected when someone answers 'YES' to both objects, for example, my data would look similar to:
V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11…

Snowy
- 59
- 6
0
votes
1 answer
Python, OpenGL: how to store vertex data on GPU
I need to display large amount of quads in 2D, what is the best way to make it with Python and OpenGL? The goal is not to send all the data to GPU when paintGL is called, cause it takes a lot of time... I guess that there has to be a possibility to…

kbobrowski
- 15
- 5
0
votes
1 answer
is vertex shader needed with compatibility context
If i use opengl 3.2+ with compatibility context and have a fragment shader, is it necessary to have a vertex shader? I would like to know if per vertex lighting calculation and other per vertex calculations can be done by the fixed function pipeline…

user968049
- 25
- 1
- 2
- 8
0
votes
1 answer
OpenGl drag square
I'm creating a curtain like animation triggered by onTouchEvent() where u can drag one end of a square to make it bigger or smaller.
My only problem is that instead of having a square on the entire screen, I get a small line on the top of the screen…

JY2k
- 2,879
- 1
- 31
- 60
0
votes
1 answer
OpenGL changing vertex position
I am using a simple GLsurfaceview to draw a simple white square covering most of the screen.
when OnTouchEvent() is triggered the square should expand and de-expand according to the point pressed on screen. This is done by changing the vertex…

JY2k
- 2,879
- 1
- 31
- 60
0
votes
1 answer
Get (X,Y) Pixel color from drawn Vertex & Color array in OPENGL
I would like to get a pixel color or a drawn object in OpenGL. For example, if I draw a circle to the context, it will be held and drawn in a object class. It will have a width and height. And if I click on the circle, it should return the color.…

aquawicket
- 524
- 1
- 9
- 27
0
votes
1 answer
Why draws XNA the models in the order of creation?
I'm going to simulate the moving of cars on a road-network. First I draw the roads with userindexedprimitives, and it works fine. After that in specific moments I add models to the scene. These models are moving on the road, and it seems to be okay.…

sbuci
- 11
- 4
0
votes
0 answers
Fast vertex computation for near skeletal animation
I am building a 3D flower mesh through a series of extrusions (Working in Unity 4 environment). For each flower there are splines that define each branch, petals, leaves etc. Around each spline there is a shape that is being extruded along that…

DD.
- 89
- 2
- 13
0
votes
1 answer
OpenGL: Multi-texturing an array of "linked" quads
I recently completed my system for loading an array of quads into VBOs. This system allows quads to share vertices in order to save a substantial amount of memory. For example, an array of 100x100 quads would use 100x100x4=40000 vertices normally (4…

CoderTheTyler
- 839
- 2
- 11
- 30
0
votes
1 answer
Using opengl, how do I combine a background image and a smaller distorted texture?
I am attempting to make an image stretch effect on the iphone. I make a vertex array and shift the texture data for each indice within an arbitrary radius of a background image. Then make the following calls to display:
int n = gridSize_.x *…

walt
- 1
0
votes
1 answer
how to pass from farseer vertices list to vertexpositioncolortexture data vertex
My issue started when i was doing the texture to vertices example (https://gamedev.stackexchange.com/questions/30050/building-a-shape-out-of-an-texture-with-farseer) then i pop up if its posible to pass this "farseer vertices" to vertex data that…

poker3
- 21
- 1
- 4
0
votes
1 answer
Draw triangle using expandable array in DirectX 9
I'm trying to draw a triangle which did work with the following code using C++ and DirectX:
Renderer.h
#pragma once
#include "DirectX.h"
#include "Camera.h"
#include "OBJMesh.h"
class Renderer : public DirectX
{
public:
Renderer(std::string…

Danny
- 9,199
- 16
- 53
- 75