Use this tag for questions about tessellations as well as figuratively the optimization technique of loop tiling.
Questions tagged [tiling]
175 questions
3
votes
2 answers
What does this piece of Tiled C++ code do?
I'm trying to figure out the purpose of this piece of code, from the Tiled utility's map format documentation.
const int gid = data[i] |
data[i + 1] << 8 |
data[i + 2] << 16 |
data[i + 3] << 24;
It…

manster
- 48
- 3
3
votes
1 answer
How to transition an isometric object from one tile to another without overlapping other tiles
I've created an isometric environment, all in Javascript and HTML5 (2D Canvas), which mostly works fine. The problem I'm facing is to do with having different height tiles and then sorting the indexes of objects on the tiles (in this case, while…

Stephen Hamilton
- 141
- 4
3
votes
3 answers
Stop MPlayer from using float in Awesome WM
I understand that MPlayer calls a "configurerequest" and for that reason, completely ignores the rules of my Window Manager in Archlinux, AwesomeWM and instead of being tiled, it floats. Is there anyway to stop this from happening?
Thanks!

lorkham
- 85
- 8
2
votes
3 answers
Android: Drawing tiled bitmaps with bottom or some other alignments similar to css background-position
I want to set a background of a View with a tiled bitmap, but the tiling needs to be anchored to the bottom-left, instead of the top-left corner (the default). For example, if the tiles are the smiley faces below, I want it to be tiled like:
Using…

Randy Sugianto 'Yuku'
- 71,383
- 57
- 178
- 228
2
votes
1 answer
How would I tile a section of a texture in screen space?
Do forgive me if this has been asked before, I've been looking for the answer to this all day and all I'm coming up with is help with tile based 2D games. x~x
I'm trying to create a skinnable GUI in Direct3D 9, using an XML file that has positions…

Addi
- 140
- 5
2
votes
1 answer
Tiling an image in a UIVIew
I am trying to tile an image for an app I am making. I am making rope that I can set the length for. In order to do this, I have a function that takes my rope length, sets the frame size accordingly, and then sets the background color like…

WolfLink
- 3,308
- 2
- 26
- 44
2
votes
2 answers
Handle 150GB .jp2 image
I downloaded a 150GB satellite .jp2 image, of which I only want a small section at a time.
How would I go about tiling the image in manageable chunks? Just extracting a part of the image would also be enough.
As I'm only somewhat familiar with…

Edigorin
- 21
- 2
2
votes
1 answer
Calculating complexity for recursive algorithm with codependent relations
I wrote a program recently which was based on a recursive algorithm, solving for the number of ways to tile a 3xn board with 2x1 dominoes:
F(n) = F(n-2) + 2*G(n-1)
G(n) = G(n-2) + F(n-1)
F(0) = 1, F(1) = 0, G(0) = 0, G(1) = 1
I tried to calculate…

Amir Baghi
- 23
- 4
2
votes
2 answers
How to generate a domino-tiling of a square?
Short description:
I'm trying to generate tilings of a square with dominoes or in other words with 2x1 and 1x2 tiles.
Sometimes my algorithm puts a vertical tile in a way, that makes it impossible to fill the last row.
My current approach is to…

N. Ecker
- 21
- 4
2
votes
0 answers
Unity apply same texture on boxes of different sizes
I'm working with Unity and C# making a platform game, i mostly used cubes/boxes of different scales to build the level and now i have to apply the texture, i played with the tiling but the texture obviously stretches to apply on different objects,…

GabLog
- 71
- 1
- 3
2
votes
3 answers
ImageMagick: Replace All Image Tiles with Single Tile
I'm assuming ImageMagick is the best option for this, but please let me know if you have other recommendations that can be scripted.
I am trying to replace all the 32x32 tiles of an image with a single tile. This is an example for the original…

AntumDeluge
- 490
- 1
- 5
- 13
2
votes
0 answers
How can I use binary_fill_holes for a tiled image?
My question is simple.
I have a large binary image, and I would like to fill the holes in the objects. Iv'e tried using binary_fill_holes, but since the image is so big, I have to tile it, so only a small part of the image is loaded into a numpy…

Little geek
- 592
- 8
- 22
2
votes
2 answers
Force leaflet map to use only integer zoom levels (no fractional levels)
I'm unable to force my leaflet map to use only integer zoom levels. As long as I use only the -/+ control buttons it's fine, but as soon as I use the mouse wheel or a function like map.fitBounds(some polygon) I always end up with a fractional zoom…

greenkarmic
- 429
- 4
- 17
2
votes
2 answers
Why the result of simple CUDA program differs every time?
I want to make a simple tiling convolution code. It is from the lecture of Coursera :Heterogeneous Parallel Programming. The lecture provides a simple convolution code with tiling method, but the code was not complete. Thus, I fill out the blanks in…

Minkyu Choi
- 389
- 5
- 13
2
votes
1 answer
Is it possible to setup a WFS in Geoserver to serve XYZ endpoint?
I will like to know if it is possible to configure a GeoServer WFS to serve tiles in this format:
'http://{s}.host:port/geoserver/..../{z}/{x}/{y}.json'
What I want to do is use "Leaflet GeoJSON Tile Layer" plug-in.
Thanks in advance for your help

Montana
- 67
- 1
- 5