vertex
Obtaining normal of vertices of torus mesh
I\'m trying to create my own torus with smooth shading.However, the normal seems to be wrong.Here is my code.[详细]
2023-04-13 09:08 分类:问答Can a ARB program(shader pair) use non ARB buffer objects and vertex arrays?
Can a ARB program(shader pair) use non ARB buffer objects and vertex 开发者_开发问答arrays? Non ARB means with no extension, like NV, ATI, ARB, EXT or other. Yes, this is perfectly possible. Note that[详细]
2023-04-11 02:22 分类:问答How to use igraph vertex.shape functionality
Has anyone used igraph\'s vertex开发者_如何学Python.shape functionality?This http://cneurocvs.rmki.kfki.hu/igraph/doc/R/igraph.vertex.shapes.html was promising but I could not understand.Does anyone h[详细]
2023-04-05 14:16 分类:问答How do I prevent my graph from adding multiple custom edges? [duplicate]
This question already has answers here: How to ensure hashCode() is consistent with equals()? (8 answers)[详细]
2023-04-04 18:36 分类:问答Find all non-overlapping polygons in a list of edges/vertices
I have a list of edges and a list of vertices. Each edge references two vertices, each vertex maintains a list of edges.[详细]
2023-04-01 03:02 分类:问答OpenGL ES 2.0 with iPhone: GL_POINT_SMOOTH draws squares with ES 2.0 but works in ES 1.0
I\'m trying to draw circles by using a Vert开发者_如何学Pythonex Buffer Object to draw points with GL_POINT_SMOOTH enabled in OpenGL ES 2.0 on iPhone.[详细]
2023-03-31 18:57 分类:问答OpenGL ES 2.0 - Can't find Attribute in Vertex Shader
I\'ve looked for a while for an answer for this - but I\'m not having much luck. All I\'m trying to do is pass my normal data into my vertex shader. Positions are passing in correctly, however I\'m re[详细]
2023-03-31 12:35 分类:问答Can't see textures or colors on vertices being drawn
I have the following code in OpenTK: unsafe { Vector3* data = (Vector3*)Marshal.AllocHGlobal( Marshal.SizeOf(typeof(Vector3)) * simpleVertices.Count);[详细]
2023-03-17 01:57 分类:问答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:[详细]
2023-03-14 02:40 分类:问答multi parameter class templates and my 'vertices' class
I have defined a \'vertex\' class which, when combined, form a graph. these vertices receive input on one end and produce output on the other (both of these sides can have 0, 1, or more \'subscription[详细]
2023-03-09 01:15 分类:问答