Questions tagged [tessellation]

This tag refers to questions about increasing the complexity of a data-set through subdivision.

OpenGL/DirectX11

OpenGL and DirectX11 both have programmable tessellation generation on the correct hardware. OpenGL refers to the shaders as 'control' and 'evaluation' shaders, DirectX11 as 'hull' and 'domain' shaders. Commonly used for dynamic level-of-detail. Can be seen in many newer games and tech demos.

GLUTessellator

Tessellation may also refer to the functionality of GLUTesselator, which has functionality for creating concave and self intersecting polygons by splitting a complex face into multiple convex ones. There is a handy resource here.

138 questions
0
votes
2 answers

Opengl terrain and tessellation shaders

Two questions: How do modern games set up their terrain vertices? Do they attach a height map image to a texture and then use it to set each vertex position, or do they just use a 3D software (like Blender) to create a file that contains these…
McLovin
  • 3,295
  • 7
  • 32
  • 67
0
votes
1 answer

Z-fighting issue in polygon KML

I am trying to create a polygon in KML above ground level. When the polygon size is small it works fine, but when the polygon is large it looks weird due to Z-fighting. I tried tessellation too, but the results are same.
Deepak
  • 3
  • 1
0
votes
3 answers

Drawing a concave polygon in OpenGL(error)

I am trying to draw an L shaped polygon using OpenGL in C. According to me this code should do it but instead it doesn't give me the expected result. The shape I am trying to draw is something similar to below. The point where the error occurs is at…
Akshay Hazari
  • 3,186
  • 4
  • 48
  • 84
0
votes
2 answers

triangulating a triangle into a grid

Is there an algorithm for dividing a triangle that may span multiple grid elements into multiple triangles, where there are no triangles that span multiple grid elements? I've included a crappy hand-drawing of a triangle in a 2x2 grid being diced…
voodoogiant
  • 2,118
  • 6
  • 29
  • 49
0
votes
1 answer

Why Tesellation control shader is invoked many times?

My question is that all of Tesellation Control Shader Invocation produce the same result, why OPENGL has to call this shader many times for each patch. For example: My Tesellation Control Shader calculates control points for the Bezier Surface. It…
khanhhh89
  • 317
  • 5
  • 19
0
votes
0 answers

OpenGL /w tessellation(shaders) lagg - terrain

I'm reworking my terrain renderer, now it uses gpu tessellation with shaders, with a projected grid style approach: grid centered the and positioned around the camera by finding the nearest gridpoint behind it, at making it as the center.(skytiger's…
David Szalai
  • 2,363
  • 28
  • 47
0
votes
0 answers

OpenGL Tessellation

I'm trying to write a Tessellation shader. However, I first want to make sure that the pipeline is working on my computer, so I wrote some really basic tessellation code. However, when I try to run it, I keep getting a linker error saying my…
Gargob
  • 251
  • 4
  • 14
0
votes
2 answers

DX11 Tessellation LOD with diameter incorrect tessellation values

I implemented the LoD with diameter from following withpaper NVidia TerrainTessellation WhitePaper. In Chapter "Hull Shader:Tessellation LOD" Page 7 there is a very good explenantion of the LoD with diameter. Here a good quote: For each patch…
Jinxi
  • 303
  • 1
  • 13
0
votes
1 answer

Voronoi diagrams based on non metric distances in R

I want to voronoi diagrams in R. I have a set of points in N-dimensions(say 10). I dont want to use multi dimensional scaling(MDS). I want voronoi diagrams to be plotted using non metric measures. Is there any package which has this implementation?…
dp758
  • 106
  • 10
0
votes
1 answer

Z-fighting after tessellation

I'm doing opengl tessellation and this is the drawing I get. If I cull the back face, those darker spots tend to disappear. This looks like Z-fighting, but I don't know where this issue should be adressed (I've tried unsuccessfully to increase the…
Adriano
  • 389
  • 3
  • 11
0
votes
1 answer

Tessellation shader culling unseen vertices?

I've noticed that in my program when I look away from my tessellated mesh, the frame time goes way down, suggesting that no tessellation is happening on meshes that aren't on screen. (I have no custom culling code) But for my purposes I need access…
user1043761
  • 696
  • 6
  • 22
-1
votes
1 answer

Opengl tessellation error on mac

I'm trying tessellation shader on mac but it returns a list of errors: ERROR: 0:2: Invalid use of layout 'vertices' ERROR: 0:12: Use of undeclared identifier 'gl_InvocationID' ERROR: 0:12: Use of undeclared identifier 'gl_InvocationID' ERROR: 0:13:…
Teng Long
  • 435
  • 6
  • 14
-1
votes
1 answer

Tessellation python

I'm fairly new to the python world, this being my first script I've written myself, but am looking for some help. Besides the script needing to be tidied up, I'm having issues with a geoprocessing tool using arcpy. I'd like to create tessellations…
-1
votes
1 answer

glutesselator always crashes at gluTessEndPolygon()

I use glu tessellation to tessellate complex polygons. The code simplified is listed bellow. It always crashes at gluTessEndPolygon(GLUtessobj) with error: Error: 0xC0000005: Access violation reading location 0x57783b39; The code works when the…
Shaobo Zi
  • 709
  • 1
  • 10
  • 25
-1
votes
1 answer

Nets of Geodesic spheres

I would realize the papercraft of a geodesic sphere like THIS . Is the dual of the one discussed in THIS OTHER QUESTION . Where can I find the printable nets, or the online resources to create them? In the other discussion I learned that there are 3…
genna
  • 461
  • 1
  • 6
  • 17
1 2 3
9
10