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
Load a file using JavaScript
I'm trying to load myself a file into my .js file, but I can't seem to find any code that explains it well enough. At the moment I have some code that will draw a flat triangle using webGL. Now I want to load up a model format (3DS, LAY, VW, OBJ etc…

Canvas
- 5,779
- 9
- 55
- 98
0
votes
2 answers
Add textual property to nodes in igraph with R
I have some issue while adding properties of nodes in igraph working with R. I made a text list named journal.txt and I want to give the nodes of my graph a property. With other textual or numeric lists, I had absolutely no issues, but with this one…

Claudio Meo
- 77
- 1
- 6
0
votes
1 answer
Cocos2d irregular shape sprite
Hi i'm working on cocos2d game some kind of shooter with landscape and targets where you have the targets in front of you as in the real shooting range. for bullet impact i use particle effect that impact at certain point on the screen and when…

Alex
- 81
- 1
- 7
0
votes
1 answer
displaying selected node name in jung
I was trying to display vertex name only when user selects the vertex. I can display all vertex names, but it will be better to display selected vertex name for me. I found some example about selecting vertex etc... but in my code actually I can't…

Ahmet Tanakol
- 849
- 2
- 20
- 40
0
votes
2 answers
Count all vertices in a graph
I am fairly new to java and I have been struggling with this exercise for two weeks now(It's an homework exercise in my school). I need to create a topological sort and print out all of the possible connections. I have read a lot about topological…

Renet
- 339
- 6
- 13
0
votes
1 answer
Vertex Coordinate Generation
I have base quad mesh that has 4 points on x-z plain (-8.0f,0.0f,-8.0f),(8.0f,0.0f,-8.0f),(8.0f,0.0f,8.0f),(-8,0.0f.0f,8.0f). If I ask a user to choose arbitrary number of dimension, for example 2x2 or 64x64, Then what I need to do is to create…

user1830954
- 53
- 7
0
votes
2 answers
What is the best way to fill my VBOs?
I am rendering a couple of meshes with OpenGL stored in Objects of a class called CMesh. A CMesh contains a lot of vertices represented by CVertex Objects and triangles. Every CVertex contains a Vector with its position.
As the vertex positions…

Florian M
- 2,815
- 3
- 17
- 14
0
votes
2 answers
How to get a post parameter using vertx request object?
I have a request object.
I tried doing
var str;
for (var i in this.request)
{
str += i + "\n";
}
And…

theodor.diaconu
- 33
- 1
- 7
0
votes
1 answer
Java Jung Vertex Cuts in Graphs
I am trying to do vertex cuts on graphs in the JUNG graph package. This is best explained by the following pictures:
Now, I am going to cut vertex "c1" out of the graph:
As you can see vertex "c1" has been removed from the graph, but so have the…

CodeKingPlusPlus
- 15,383
- 51
- 135
- 216
0
votes
1 answer
find three nearest point
I have a list of points in cartesian plane, and a test point. I want to find list indices of three points nearest to test point. What's the better way to find these indices? Thanks in advance for tour replies.
=== EDIT ===
I've found a solution in…

Jepessen
- 11,744
- 14
- 82
- 149
0
votes
1 answer
OpenGL Diffuse Shader, Object not showing
I have an object from Blender rendered into my scene and the normals are loaded correctly. I´m using Gourrad Diffuse shading passing the ModelViewProjectionMatrix (CameraToClip * ModelToCamera) to the shader and a 3x3 version of the…

Joey Dewd
- 1,804
- 3
- 20
- 43
0
votes
1 answer
How to detect Adobe Flash crash reason?
Edit02: The reason why the flash crash because the wrong distance cause the programm to divide something by 0 - well I found the error on my own, but my question still is, is there something like a crashreport that you can add / edit?
Edit: I found…

tschery
- 153
- 2
- 15
0
votes
1 answer
Create flat shaded cube using triangle strip
I'm not completely solid on how triangle strips work with normals. I want to make a flat shaded cube so I wrote vertices for a triangle strip that make a cube. That works. I made a cube using a triangle strip. The thing is that I set the normals of…

Jehanlos
- 77
- 1
- 8
0
votes
1 answer
Get Image Vertices for Box2D?
I am trying to get the vertices for an image I have in my app. Currently I have been using Vertex Helper but I want to make my vertex shape a bit wider. However, I am not sure how do this with hard coded values.
I have tried to use Physics Editor…

SimplyKiwi
- 12,376
- 22
- 105
- 191
0
votes
1 answer
Vertex painter encounter error when loading vertex and edges from database
Im building simple family tree application and using Jung to draw the chart. So far I am able to draw and save the chart into embedded database using sqlitejdbc from zentus. I've yet create the function to clear the canvas though, so I have to…

Fadhlie Ikram
- 119
- 2
- 14