Questions tagged [tiling]

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

175 questions
0
votes
1 answer

Generating tiles from a large PNG

I'm looking to use CATiledLayer to display a huge PNG image on an iOS device. For this to work, I need to split the larger image into tiles (at 100%, 50%, 25% and 12.5%) on the client (creating tiles at the server side is not an option). I can see…
miwic
  • 70
  • 1
  • 6
0
votes
1 answer

Algorithm for tiling an arbitrary set polyominoes is some finite space region?

Does an efficient (i.e. P-complete) algorithm exist that can tile an arbitrary set of polyominoes, within a finite region? Could you point me to some websites that elaborate on the subject? Searching on the web only returned results related to…
David Blinder
  • 53
  • 1
  • 4
0
votes
1 answer

SDL - Scrolling through an (offscreen) surface

I am having a hard time wrapping my head about the concept of making a scrolling graphics program in SDL in c++... for a sidescrolling game, for instance, or a top down game with a map larger than the resolution of the screen. Basically, I was under…
Arialth
  • 157
  • 1
  • 2
  • 8
0
votes
1 answer

Fill polygon shaped sprite with squared texture in cocos2d

I'd like to know if it's possible to fill a polygon shaped sprite with a squared/rectangular texture using cocos2d. I guess I will have to override the draw method, but I have no idea on how to achieve this and couldn't find any useful resources…
rmonjo
  • 2,675
  • 5
  • 30
  • 37
0
votes
2 answers

CSS make divs of various heights and widths take as little space as possible by "nestling"

Hi I am trying to make a bunch of divs of various heights float into the optimum position to take up as little space as possible collectively. I have tried using inline blocks with the vertical-align set to top as well as floating everything to the…
codelove
  • 1,988
  • 5
  • 26
  • 36
0
votes
1 answer

Tiling subtexture over 3D shape in OpenGL

I have a texture which is a grid of smaller textures and which I am not able in this application to split into individual files. I need to tile these subtextures over a model. Splitting the geometry could work, but would increase scene complexity…
JAKJ
  • 289
  • 1
  • 4
  • 14
0
votes
2 answers

Is there a way to tile editors in Eclipse using only the keyboard?

When working on multiple files in Eclipse, I usually organize the editors in tiles. However, there are times, when I need to close all open editors to open a different set of files. When I open the new batch however, it defaults to stacking all…
Psycho Punch
  • 6,418
  • 9
  • 53
  • 86
0
votes
1 answer

Java shapes sharing borders

I'm writing a program that generates penrose tilings and I wanted to use Java's Graphics2D class. I was wondering if there was any way to check if 2 or more shapes share a border with each other. Should I just compare the slopes and base points or…
ckann7
  • 1
-1
votes
0 answers

Disable border and padding for floating window bspwm

When I open ulauncher it has ugly black padding around it. How can I remove it? Using bspwm.Added rules to config like bspc rule -a Ulauncher state=floating border=off but it doesn't work.
iufb
  • 75
  • 1
  • 5
-1
votes
1 answer

Tilling a image with a bitmap xml doesn't work

This is my xml:
rosu alin
  • 5,674
  • 11
  • 69
  • 150
1 2 3
11
12