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

Triangulating contours into 2d mesh with color data intact

I am using a Javascript library 'Tess2' to triangulate a series of contours. https://github.com/memononen/tess2.js/blob/master/src/tess2.js It generates a perfect 2d mesh of any shape consisting of multiple contours: A contour consists of a series…
hedgehog90
  • 1,402
  • 19
  • 37
0
votes
1 answer

How to implement radial gradient effect via Rust nannou

I implemented a "shadow-casting" algorithm which looks like this (the video below): What I want to achive is to create radial gradient effect in the visible area (or rather say area not shaded). Just like a real light source, of which the intensity…
Enigmatisms
  • 115
  • 4
0
votes
0 answers

Tessellation error in spatstat - Error in as.im.default(image) : Can't convert X to a pixel image

I have been dealing with this for several days and can't find a way out. I'm using spatstat in R for spatial analysis of my cells. I have follow some tutorials, but as always happens, things don't come out as they should. I have some xy coordinates…
0
votes
1 answer

Rendering Lines with Bezier Curves in DX11

I want to input control points through the tessellation stages and output them as bent lines. I expand the lines into billboarded quads in the geometry shader. Right now I input a bunch of random vertices with a control point number of 4. I assume…
0
votes
0 answers

Spatial index for Point in SQL Server

Do we need spatial index for point type geometry in SQL Server? If yes, how Tessellation and grid selections work in point type geometry?
ShreyasK
  • 15
  • 3
0
votes
1 answer

Optimization Problem: Fitting Hexagons within a Domain

I have a geometry problem and I thought of using python to solve it (I have little experience). I need advice on how to approach the problem. hexagons fitting In the annex you can see the problem. I have a domain L x B and given the cell size of a…
0
votes
1 answer

Can one OpenGL tessellation shader handle variable patch sizes and tessellation levels?

I have a well-established OpenGL project (in c# using SharpGL, if that helps), and within it is a class that can handle drawing points, lines (well, line stripes), and triangles (for filled polygons). Currently, my single shader program consists of…
FTLPhysicsGuy
  • 1,035
  • 1
  • 11
  • 23
0
votes
1 answer

Voronoi Tesselation Issue in Python

During the construction of a Voronoi diagram of random points for x-values in range(0,20) and y-values in range(0,6000) the tessellation fails? Is it due to the scale? When the points are constrained to a square, it works just fine, but I can't…
0
votes
1 answer

Tile image in current place in Photoshop

Is there some methods (or scripts) to create repeated image tile in Photoshop(or other image editing software)? Need to keep the image position and rotation. From Image From Target Image Tile: To
Jindi Li
  • 55
  • 2
  • 9
0
votes
0 answers

How to apply displacement mapping with tessellation?

I'm feeling like I'm grasping at straws right now researching this! My goal is to write a simple water shader. The plan is to use tessellation to implement dynamic LODs, and apply a height map based on fractal noise (ref this paper). Where I am…
0
votes
1 answer

Create Tesselation from SpatialPolygonsDataFrame?

Novice R programmer here... Looking for guidance on building a tess out of the polygons in a SpatialPolygonsDataFrame. I am invoking quadratcount on points within a state boundary. Rather than using the default grid, I would like to use custom…
gzt5142
  • 1
  • 1
0
votes
1 answer

Programmatically build meshes - UV mapping

I am working on a system to procedurally build meshes for "mines", right now I don't want to achieve visual perfection I am more focused on the basic. I got the point in which I am able to generate the shape of the mines and from that generating the…
0
votes
0 answers

Equalize sizes of quadtree cells

A graphically represented quadtree is a tessellation of a square using differently sized smaller squares. Is there a transformation that deforms the quadtree cells to achieve following 2 contrasting goals? equalize the cell sizes by deforming them…
0
votes
1 answer

How to draw a dotted pattern 3D line with tessellation in DirectX 11?

I need to draw lines in directx 11 which will show colors like dotted pen drawing in GDI. I know tessellation will put more vertices in between each line. Does anybody make it clear to me how can I get a dotted pattern drawing line in directx 11?
0
votes
1 answer

barrier() function issue in Vulkan tessellation control shader on integrated videocard

I found out that running tessellation control shader which contains barrier() call on my integrated Intel videocard yields no geometry (????) So just for example, the following simple shader works well on my dedicated Nvidia card, but doesn't work…
YaaZ
  • 380
  • 2
  • 11