Use this tag for questions about tessellations as well as figuratively the optimization technique of loop tiling.
Questions tagged [tiling]
175 questions
0
votes
2 answers
Algorithm for choosing tiles to cover a path?
I have a segmented path/route on a map, and my software needs to request imagery from a server to completely cover the route. Image requests to the server can only be for rectangular regions (aligned with the cardinal directions). Simply…

WeatherLightning
- 1
- 1
0
votes
1 answer
Awesome WM: Ignore wibox geometry
I've been tweaking my rc.lua for a while now, and, in favor of a cleaner look, thought of having the wibox as not visible by default.
I already have the means to toggle the visibility, and set it to not visible by default.
The problem is with the…

sferaud
- 1
- 1
0
votes
1 answer
Creating a tiling algorithm for a given space
We have to create an algorithm to fill up a given space of HxW perfectly. We have 125 test configurations with a given tile set that can fill up the field. The code for the tile set and the field is given and we have to write a code that can place…

Jeba
- 1
- 2
0
votes
1 answer
Three.js issue at edges of tiled texture using MeshFaceMaterial
I am trying to tile the texture from multiple images onto a plane geometry using MeshFaceMaterial. Every thing works fine, except for a blurry edge forming in between tiles.
.
var textureArray = [];
var tileColumns = 2;
var…

ryagz
- 1
- 1
0
votes
1 answer
Repeating only a portion of a texture in OpenGL ES?
I know it's possible to repeat an entire texture by setting the wrap mode to GL_REPEAT, but is it somehow possible to repeat only a subregion of the texture? For example, when the texture is part of an atlas.
I'm targetting OpenGL ES 1.x, so shaders…

uj2
- 1,391
- 2
- 15
- 15
0
votes
1 answer
Why loop tiling?
according to Wikipedia (http://en.wikipedia.org/wiki/Loop_tiling) and many other sources, loop tiling is a loop optimization technique which helps to take advantage of cache (locality of reference). The iteration space is divided into number of…

Sergey
- 1,168
- 2
- 13
- 28
0
votes
1 answer
In Cocoa (or maybe GUI development in general) how do you specify an arbitrary number of things tiled together?
I'm new to creating GUI's, everything I've done up until this point is using the command line.
I'm trying to create a port of minesweeper to the macintosh, as an experiment, and I've got the CLI working, but I'm running into walls everywhere with…

RankWeis
- 782
- 2
- 10
- 29
0
votes
1 answer
Isometric tile map - Having tiles with bigger sizes?
Hello I have the following two Isometric tiles:
Normal tile (water):
Rock tile:
I need to add some tiles like the rock tile into my game board, but the problem is, that some tiles like this rock needs a bigger height level.
Currently, the rock…

Artemkller545
- 979
- 3
- 21
- 55
0
votes
1 answer
WebGL texture tiling edge artifacts with mipmap
I am tiling a surface in WebGL using a texture that requires mipmap to look good (non-negotiable). Because WebGL does not support a wrapping mode of gl.REPEAT for mipmap'ed textures, I clamp texture coordinates myself using 'fract(texcoord)' in the…

Kasper Peeters
- 1,580
- 2
- 18
- 37
0
votes
1 answer
Pygame AttributeError no attribute 'display'
I'm trying to learn Python and Pygame by making a 2D tile-based platformer. Right now I'm stuck on the "tile-based" part. This is my code:
import pygame, sys
from pygame.locals import *
#Just defining some variables
windowWidth = 640
windowHeight =…

DementedDr
- 177
- 2
- 15
0
votes
1 answer
Tiling for a 2D platform in Unity
I was following a tutorial online, and basically the script is telling the gameObject to instantiate a clone of itself if the camera gets to a certain position. The last lines that I am confused about are these
if (rightOrLeft > 0)
{
…

fox-handler
- 121
- 1
- 1
- 11
0
votes
1 answer
How do I map a perlin noise function (libnoise) to an array of tiles?
The Perlin.GetValue(x, y, z) method of libnoise (using the C# port) returns 0's if the input values are integers. How could I go about mapping a 2D array of tiles--as the indices of an array are integers--to the values of the noise? This makes…

Bagofsheep
- 159
- 1
- 1
- 8
0
votes
1 answer
Display bug in rendering tiles - PyGame
I fear that this question is way too localized, but I hope you'll still offer some advice with this situation.
I'll get straight to the point, a "grass" is continually being displayed in the upper left hand corner, with the occasional "cube" tile…

FrigidDev
- 222
- 1
- 2
- 13
0
votes
1 answer
How to manage cache tiles deletion in mapbox on ios
I'm looking for a solution in order to manage what tiles to delete from the user's device.
The options from mapbox is the wipe all tiles or to use one of the options: FIFO = first in, first out; LRU = least recently used; defaults to FIFO.
Both are…

user2553832
- 87
- 8
0
votes
2 answers
Map of Vectors, Bad Accessors
I am working with a few friends on a Dungeon-game and am working on pathfinding. The game is tile-based and the pathfinding we are planning to implement is this:
class PathMapper generates a grid of the distance every tile is from a given…

evangambit
- 31
- 6