Questions tagged [texture-atlas]

In realtime computer graphics, a texture atlas is a large image containing a collection of sub-images, or "atlas" which contains many smaller sub-images.

127 questions
0
votes
0 answers

TextureAtlas RGBA4444_COMPRESSED not working in ios7.1

I have created a SpriteKit game, and trying to use RGBA444_COMPRESSED texture atlas as per Apple best-practice. However, on iOS7.1 / iPhone4 images from texture atlas appear double the size on the screen and not rendered correctly. I could not…
Yuvals
  • 3,094
  • 5
  • 32
  • 60
0
votes
1 answer

OpenGL 4.4 texture atlas artifacts

I am writing a small OpenGL tile map renderer in C# with OpenTK. To render the tiles I first create a vertex array and then a vertex buffer. At next I iterate over all tiles and dependent from the tile type I add two triangles to the vertex buffer…
Michael
  • 595
  • 5
  • 19
0
votes
1 answer

Textures from texture atlas are not loading or appearing

For some odd reason textures from my texture atlas are not loading. I have no idea why. Below is how I typically declare/code a texture -(SKSpriteNode *)background { SKSpriteNode *background; NSArray *backgroundIpad; background =…
RT33
  • 103
  • 9
0
votes
0 answers

TextureAtlas has worse filtering than Texture?

When I filter image with the texture.setFilter(linear, linear), it gets filtered perfectly. But when I put it in a textureatlas, the filter is worse and i can still see pixelation. I tried the approach below, which didnt work Sprite sprite =…
Nahro
  • 406
  • 3
  • 12
0
votes
0 answers

Spritekit Texture Atlas Cropping / Transparency Issue

I understand that when an Atlas is created, the images are: a) rotated b) trimmed of excess transparent pixels c) color format may change, etc So if I had an image that was 50 pixels tall but only the top of the image was a solid color and the…
NeHe
  • 31
  • 2
0
votes
1 answer

Create a 2D texture from existing textures

I have an application where I load a series of medical images (jpg), create a texture object for each image and display those textures on 3D planes. The amount of images depends in the CT scanner's resolution but my prototype should work with up to…
georanto
  • 111
  • 11
0
votes
1 answer

Status of the Loading the TextureAtlas

I am using the TextureAtlas in my LibGdx based game. As the size of the Atlas increases the loading time increases hence there is a delay in showing the animations that I have setup in the game. Hence I wish to get the status of the loading process…
iappmaker
  • 2,945
  • 9
  • 35
  • 76
0
votes
2 answers

Libgdx Animation using images from TextureAtlas gets incorrectly rotated

In my TextureAtlas the Sprite's for my Animation are rotated 90 degrees. When I draw my Animation it's still rotaed by 90 degrees. How can I fix that? My code looks like that: TextureAtlas spritesheet = new…
Markus
  • 1,452
  • 2
  • 21
  • 47
0
votes
1 answer

Android OpenGL Texture Mapping / Texture Atlas

Good evening all I am trying to get my OpenGL program to use 1 texture (texture Atlas). It is 256 x 256. I load it as a normal texture. If the texture is from 0,0 to 1,1 then I believe each square is 0.2 in size. The issue is only the 1st and…
Burf2000
  • 5,001
  • 14
  • 58
  • 117
0
votes
1 answer

Unity sprite sheet performance

I'm making a microgame game like Wario ware, and all the mini games are prefabs on a single scene. All of these microgames have their own graphics and I was wondering: What is better, having all the graphics of all the games on a single sprite sheet…
0
votes
0 answers

Animation in Libgdx using .pack file

I want to make an animation of player when he 's running. I put all images into a .pack file using texture packer. And here's my code: TextureAtlas atlas = new TextureAtlas(Gdx.files.internal("images1/images.pack")); private Array
0
votes
1 answer

SpriteKit auto-generated atlases sizes are not powers of 2

So, I'm working on a project that has some big textures and recently I decided to split into different atlases by scene so that when navigating through scenes SpritKit can get actually rid of unused textures (Since I cannot control memory usage…
gzafra
  • 496
  • 3
  • 10
0
votes
1 answer

Texture Atlas in Sprite Kit not working

I am getting very frustrated with XCode today. I already looked at the answer to this question: Sprite Atlas and @2x images but, that answer did not work. So, here's the problem: -I have a sprite in XCode with dimensions 178x50, and in my code, I…
user2391236
0
votes
1 answer

black boxes instead of sprites on reload andengine

My sprites (which are boxes themselves, but different colors) are all showing as black boxes the second time my andengine activity is loaded. It's odd because usually this problem is due to the texture atlas not being large enough, but I tried…
user3287039
  • 29
  • 1
  • 6
0
votes
0 answers

Can you create a TextureAtlas from inside a libgdx program?

I my game I'm letting the user customize a character from a wide variety of sprites, I want to create a final texture atlas including the selected sprites to use in game instead of loading the big texture atlas with all other useless sprites and…
thetheodor
  • 248
  • 2
  • 22
1 2 3
8
9