Questions tagged [tiling]

Use this tag for questions about tessellations as well as figuratively the optimization technique of loop tiling.

175 questions
7
votes
5 answers

Different background color either side of page

I want to create a fixed-width layout where the background color on either side of the page is different, but with the background colours extending infinitely from either side of the page no matter how far you zoom out. For example, I'm not looking…
Jesse
  • 6,725
  • 5
  • 40
  • 45
7
votes
1 answer

Merge png images into single image in WPF

I'm looking for a way to Merge some PNG tile images into a big image. So I search and found some links. This is not answered properly. This is not tiling, it's good for overlaying images and this is not using WPF. So I'm making this…
Hossein Narimani Rad
  • 31,361
  • 18
  • 86
  • 116
7
votes
2 answers

Tiling different size rectangles

I am looking for some pointers to algorithms that should allow to tile with no overlap different size rectangles. Given a set of different sized rectangles, tile them on an area of size H x W with no overlap. The objective would be to maximize the…
Vladislavs Dovgalecs
  • 1,525
  • 2
  • 16
  • 26
6
votes
1 answer

Writing Tiling window manager in Python

I have been using Awesome Tiling window manager for over 6 months now, and quite happy with this. I would like to write my own Tiling window manager as a weekend project and for hackfun. I noticed that Xmonad and dwm are very small. I am aware of…
18bytes
  • 5,951
  • 7
  • 42
  • 69
6
votes
3 answers

Splitting a WPF PathGeometry into "tiles"

I have a rather large PathGeometry (over 100,000 points and stroked but not filled) to display for the user, but only a small portion of the path will be visible at any one time. To clarify, the path itself is not predetermined but will be created…
FTLPhysicsGuy
  • 1,035
  • 1
  • 11
  • 23
6
votes
1 answer

How to attack this tiling puzzle?

[The 1000 point problem on SRM 209, Div I] At some stage, the problem reduces to the following: Given blocks of three square units, like below, which can be rotated in any manner, how many ways are there to fill a rectangular block of given size. |…
Moeb
  • 10,527
  • 31
  • 84
  • 110
5
votes
1 answer

What does it mean to say convolution implementation is based on GEMM (matrix multiply) or it is based on 1x1 kernels?

I have been trying to understand (but miserably failing) how convolutions on images (with height, width, channels) are implemented in software. I've heard people say their convolution implementation is done using GEMM, or done using "Direct…
5
votes
2 answers

Calculating the optimal number of columns for a table layout - Only given the table width and a list of rectangles

I have a list of rectangles with different dimensions. rects = [100x20, 30x10, 10x10, 70x20, 40x30, 50x10] I am trying to render a table from these rectangles. If I would have a fix number of columns, I simply could calculate the number of rows and…
Kaken Bok
  • 3,395
  • 1
  • 19
  • 21
5
votes
3 answers

How to tile a Sprite Node's Texture?

Using SpriteKit, how would I tile a SKTexture that repeats itself horizontally to fill the width of the SKSpriteNode? This is what I have so far - only stretches the texture. var header = SKSpriteNode() let headerTexture = SKTexture(imageNamed:…
Chris
  • 471
  • 1
  • 8
  • 23
5
votes
2 answers

How do I split this huge image 15104 * 11264

Paint.net dies opening this image, and MS paint as well.I don't know how to open this file for editing.Actually, I set out to break this image (its a map of my area) and load it to my phone (moto rokr e6),which does not have a GPS at the…
panzerschreck
  • 3,582
  • 2
  • 20
  • 29
5
votes
0 answers

Loop tiling optimization for cache misses openmp

I am wondering if someone can help me following loop tiling optimization to minimize cache misses. I am working on four 4000x4000 float matrix multiplication. The machine has three level caches with values: L1 128kb, L2 1Mb, and L3 8Mb There are…
Adam Q
  • 51
  • 3
5
votes
2 answers

Unity3D visible seams on borders when tiling texture

For my game I have written a shader that allows my texture to tile nicely over multiple objects. I do that by choosing the uv not based on the relative position of the vertex, but on the absolute world position. The custom shader is as follows.…
Thrakbad
  • 2,728
  • 3
  • 23
  • 31
4
votes
3 answers

Problem in tiling image starting at different height using TextureBrush in C#

I am trying to tile an image(16x16) over a Rectangle area of dimensions width=1000, height=16 using TextureBrush to get a strip like UI. Rectangle myIconDrawingRectangle = new Rectangle(x, y, 1000, 16); using (TextureBrush brush = new…
Real Red.
  • 4,991
  • 8
  • 32
  • 44
4
votes
2 answers

Multilevel tiling for cache sensitive matrix multiplication

I am writing my own GeMM subroutine for fun. I have managed to achieve a tiled version over the L1 cache with an AVX256 kernel. I am aware there are some loop invariants I could be be hoisting out of the below. template
Ivor Denham-Dyson
  • 655
  • 1
  • 5
  • 24
4
votes
1 answer

How does the minizinc pentominoes regular constraint example work?

The minizinc benchmarks repository contains several pentomino examples. Here is the data for the first example: width = 5; height = 4; filled = 1; ntiles = 5; size = 864; tiles = [|63,6,1,2,0, |9,6,1,2,378, |54,6,1,2,432, |4,6,1,2,756, …
makeyourownmaker
  • 1,558
  • 2
  • 13
  • 33
1
2
3
11 12