# Questions tagged [tesselation]

The tag has no usage guidance.

21 questions
Filter by
Sorted by
Tagged with
1 vote
31 views

### How can you tessellate degenerate triangles evenly?

If you use the tessellation shader for triangle patches, you can only set the following four values to define the tessellation structure of the triangle: ...
• 1,265
25 views

### Triangular Gregory patch

I found an implementation of the Triangular Gregory Patch here on CGSE. Their question is about the normal vectors, which I don't need at the moment because I only need the geometry I was thinking of ...
• 1,265
57 views

### Gregory triangle patch, calculating $b_{i,j,k}$

I am trying to implement the Triangular Gregory patch from this paper. The goal is to create a $G^1$ continuity across the patch boundaries. So that the normal vectors of neighboring triangles are ...
• 1,265
38 views

### interpolated normal vectors after tessellation. How to hash patch corner / edge vertices?

I have a 3D geometry (an asteroid) that is to be tessellated with respect to the camera position. Each vertex in the original mesh has a unique position and is stored once (VBO with IBO) In the ...
• 1,265
51 views

### Tessellation evaluation shader: vertex duplicates on triangle tessellation

I was very surprised when I ran my tessellation evaluation shader, which only counts the number of vertices through an atomicAdd command. for the following tessellation levels: ...
• 1,265
1 vote
65 views

### enumerate vertices from tessellation evaluation stage (Triangle patch)

Is there any way to enumerate the generated vertices of a tessellation patch (triangles only) inside the tessellation evaluation shader? The tessellation levels will only be integer values with ...
• 1,265
58 views

### tilling the Hyperbolic plane

i am trying to tile a hyperbolic plane using the poincaré or Beltrami–Klein disk model. I am doing it recursively and i don't know how to detect overlapping tiles. I think they are causing bugs ...
42 views

### Find good gl_TessLevel for edge distance and edge length

I have a triangular mesh that is read from an ".obj" file and is to be tessellated with respect to the camera position. I try to avoid T-junctions by tessellating common edges with the same ...
• 1,265
1 vote
197 views

### Having trouble rendering entire sphere

I'm working on a program where I need to draw spheres. The method I'm using is creating an octahedron And using tessellation shaders to subdivide it into a sphere, however there is a patch of the ...
• 11
64 views

### How would you represent a mesh with tris and quads?

My understanding is that, while subdivision algorithms like Catmull-Clark can work for any polygonal mesh (including triangles) it's preferable to start with a quad mesh. Currently my rendering engine ...
• 229
84 views

### Motivation behind tesselation

This question is NOT about the hardware difficulties and shortcomings of tesselation shaders I am trying to understand the motivation behind tesselation shaders. Why/when/where tesselation is a good ...
• 299
228 views

### Tessellation Controll Shader how to get maximum subdivisions limit?

I have a low-poly mesh and I want to add structure on the surface. The setup: The mesh consists of triangles. Within the TCS the pixel-length for each of the three edges will be calculated and ...
• 1,265
1 vote
101 views

### Approximating Geodesics in a half edge DS, how can I refine my mesh to get good approximations

I implemented Djikstra's shortest path algorithm to approximate Geodesics on arbitrary meshes. Djikstra's works, but I noticed a problem inherent to the discretization of my meshes. Consider the ...
• 1,706
94 views

### Techniques for making tesselated shapes appear smoother?

What are some common techniques for making the edges on a tesselated shape less apparent without increasing the amount of tesselation which is actually carried out? As an example, I followed along ...
• 163
242 views

### How to compute normal in quartic Walton-Meek's Gregory patch in tessellation shader?

I am programing a tessellation shader in OpenGL which computes the quartic Walton-Meek's Gregory patch. I am searching for a local G1 method with good shading/visual results. So I am trying this patch....
1 vote
151 views

### Tessellation Speed in terms of interpolated points per second

For a research project, I have written a Tessellation Shader to interpolate solution points of a 3-Dimensional mathematical equation. Therefore I don't use any techniques for displacement, I merely ...
• 11
79 views

### Proper way to reduce tessellation on front faces?

I am currently trying to reduce the tessellation levels on front facing triangles, but I also want to keep tessellation levels high on edges (so when the view vector is orthogonal to the triangle ...
369 views

### Tesselation sine distortion?

I am experimenting on a simple wave tessellation shader. I ported it from a working vertex shader. When my frequency is higher than 1, I get strange "saw-tooth" artifacting at peaks of the wave. Here ...
• 169
482 views

### What is better to use for real-time computing Mesh - Plane intersection points, GPU or CPU?

I want to write plugin (library) for Unity3d (it doesn't matter which framework I will choose for this, question is ), for cutting arbitrary mesh with plane (for simplicity it will be plane for ...
216 views

### Weird rendering in rectangle mesh shader AKA Why has my basic shader become a modern art generator?

I am trying to translate an old (2013) bit of code from Apple from objective C to Swift with some modifications I need for my simulation. The code I am translating can be found here To make ...
• 1,445