gl-triangle-strip Questions

6

Solved

Is it possible to draw a whole cube using just a single GL_TRIANGLE_STRIP? Obviously it's just the cube combinatorics I'm concerned about here, it might as well be stretched into any kind of box o...
Sienese asked 6/2, 2015 at 21:46

2

Solved

I am looking for a fast polygon triangulation algorithm that can triangulate not very complex 2D concave polygons (without holes) into triangle strips ready to be sent to OpenGL ES for drawing usin...

1

There has been quite a buzz about rendering performance between indexed triangles or triangle strips. But I believe there is a case that has not been considered enough. Indexed triangles are rende...
Twobit asked 5/11, 2013 at 12:17

2

Solved

I need an example of a polygon that can be done only by GL_TRIANGLE_STRIP and another polygon that can be done only by GL_TRIANGLE_FAN.
Deservedly asked 5/12, 2013 at 8:15

2

Solved

My question could be stupid but I didn't find good example of triangle strip utilization: https://i.sstatic.net/KL8jk.png With vertices like that: A: -0.5f, -0.5f, // Bottom left. B: -0.5f, 0.5f...
Danieladaniele asked 10/9, 2013 at 9:46

2

Solved

I'm trying to clear up some inconsistencies I'm seeing in triangle strip vertex winding direction (clockwise and counter-clockwise). I'm drawing a trapezoid rotated 90 degrees counter-clockwise in ...
Plath asked 1/8, 2013 at 16:43

4

Solved

What would be the best algorithm to generate a list of vertices to draw a plane using triangle strips? I'm looking for a function which receives the plane's width and height and returns a float ar...
Coveney asked 6/5, 2011 at 18:49

1

Solved

I'm developing a simple sprite-based 2D game in C++ that uses OpenGL for hardware-accelerated rendering, and SDL for window management and user input handling. Since it's a 2D game, I'm only ever g...
Paresis asked 25/3, 2013 at 14:55

2

We have two options in triangle winding direction, clock-wise counter-clockwise Anyway converting between them could take some cost. I want to avoid conversion as much as possible, and to do t...
Doubleton asked 18/8, 2012 at 4:37

2

I'm new to opengl programing. I'm currently making animation of cave shaft formation. I have a set of coordinats for profiles of the shaft along the z-axis. My plan is to make a 3d mesh from this d...
Kampmann asked 31/5, 2011 at 13:12

1

Solved

I'm trying to draw multiple triangle strips with only one call to glDrawElements and my research on the matter tells me I need to use degenerate triangles. Maybe my understanding on the subject is ...
Bast asked 25/4, 2011 at 4:13
1

© 2022 - 2024 — McMap. All rights reserved.