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
1 answer

Image atlas in QML

I have an image like this one: http://www.imagemagick.org/Usage/basics/result.gif (it contains two rows of individual data: three square images in the upper row, and below another square and two 'empty' squares) I want to use it inside a repeater,…
user2567875
  • 482
  • 4
  • 21
0
votes
2 answers

TextureAtlas and renderCalls in libgdx

I'm creating two textures and put them in the same TextureAtlas as shown in the code: public void create () { pix = new Pixmap(100, 100, Pixmap.Format.RGBA8888); textureAtlas = new TextureAtlas(); pix.setColor(Color.WHITE); …
Sapp
  • 3
  • 1
0
votes
1 answer

Objective-C, Spritekit error "Texture Atlas 'customer_1_3' cannot be found."

I have the exact folder "customer_1_3.atlas" placed in the project. I drag and drop it into the project and I check "Copy if needed" when i do that. Still, I am getting this message and the program breaks. Where can the problem be guys? I attached…
Vladimir Despotovic
  • 3,200
  • 2
  • 30
  • 58
0
votes
1 answer

Loading correct texture from Atlas with multiple pages

I have a big set of images saved in one atlas, but due to the 2048*2048 size limitation of a single page I had to split my packs in 12 pages. My problem is that when I use atlas.findRegion(imageName).getTexture() to load the texture, it loads the…
EsotericVoid
  • 2,306
  • 2
  • 16
  • 25
0
votes
0 answers

OpenGL ES: Framerate and textureatlas

I've noticed that the size of a textureatlas do have an inpact of an OpenGL ES 2 application. The size of the atlas is 2048 X 2048 and when using on a Samsung Galaxy S7 the performance is pretty much in line with 60 frames per second. Even 4096 X…
java
  • 1,165
  • 1
  • 25
  • 50
0
votes
1 answer

Textures to texture atlas and animation

I think the loading of many textures in my animation cause the slight lag in my game, and i want my array textures to in a TextureAtlas. The code below is my animation code and also it will get the Texture frame index in the animation and perform a…
paul natividad
  • 161
  • 1
  • 1
  • 6
0
votes
0 answers

Animating the sprite array created from texture atlas

I have created a sprite array from texture atlas like this. playerSprite = atlas.createSprites("player"); Inside texture atlas, player regions are named as player01, player02 and player03. playerAnimation = new Animation(0.5f,…
Niranjana
  • 514
  • 5
  • 23
0
votes
0 answers

SpriteKit huge performance drop when purging SKTextureAtlas

I have a very strange problem when purging a cached instance of SKTextureAtlas. In short, before the game starts I preload the SKTextureAtlas with textureAtlas.preload(completionHandler:) and in the completion handler I store a reference to the…
damirstuhec
  • 6,069
  • 1
  • 22
  • 39
0
votes
1 answer

how to create an texture atlas of a 3d object in unity3d

I am working on a 3D game and it has lots of game objects in a scene. So I'm working on reducing draw calls. I'v used mesh combining on my static game objects. But my player is'n static and I can't use mesh combining on it. My player is nothing but…
0
votes
1 answer

How to preload texture atlas (SKTextureAtlas) in Xamarin.iOS (in C#)?

Would anyone please show me a small code sample written in C# within the Xamarin.iOS framework that would preload texture atlases ? Xamarin website has this page: https://developer.xamarin.com/api/type/MonoTouch.SpriteKit.SKTextureAtlas/ On that…
Job_September_2020
  • 858
  • 2
  • 10
  • 25
0
votes
1 answer

Preload Texture Atlases Completion Handler not working

I have a UIImageView for the user to look at (looks almost like a splash screen) come up so that I can preload my texture atlases. But it seems that in the completion block, even though I say to 'removefromsuperview' it doesn't do so. I know that…
OriginalAlchemist
  • 391
  • 1
  • 7
  • 28
0
votes
1 answer

Libgdx What TextureAtlas filter should I use?

What filter should I use for a TextureAtlas?(Linear/Nearest)... This is my current setting in the atlas file: filter: Linear,Linear
AlGrande
  • 167
  • 3
  • 18
0
votes
0 answers

algorithm support 3D texture atlas for arbitrary size of sub-texture

First to be clear all the 'size' mentioned in this problem is power of 2. I need an algorithm to support create/remove arbitrary size of sub-texture in a large 3D texture atlas, then texture atlas size could be (X, Y, Z) with three different…
Orup
  • 559
  • 1
  • 5
  • 14
0
votes
2 answers

meaning of index in texture atlas files

I am following libgdx tutuorial on texture atlases. This is an excerpt from a texture atlas file. What is the meaning of index parameter and in what situations it is useful to the programmer? All texture region have it and it is the same namely -1,…
potato
  • 4,479
  • 7
  • 42
  • 99
0
votes
1 answer

libgdx dispose sprites from textureatlas

If I call sprite.getTexture().dispose(); on a Texture which was retrieved from an TextureAtlas the whole screen becomes black. public class PlayState extends State { // The falling objects from the sky private Array objects; …
Zbarcea Christian
  • 9,367
  • 22
  • 84
  • 137
1 2 3
8 9