Lines Matching refs:TextureAtlas
61 * <b><code>TextureAtlas</code></b> allows combining multiple textures to one texture atlas.
63 * <p>After the TextureAtlas has been created with a certain size, textures can be added for
80 * <p>The TextureAtlas also allows you to change the texture coordinates of a mesh or geometry
96 * Geometry geom = TextureAtlas.makeAtlasBatch(scene);
103 * TextureAtlas atlas = TextureAtlas.createAtlas(scene);
105 * TextureAtlas atlas = new TextureAtlas(1024,1024);
119 public class TextureAtlas {
121 private static final Logger logger = Logger.getLogger(TextureAtlas.class.getName());
130 public TextureAtlas(int width, int height) {
465 public static TextureAtlas createAtlas(Spatial root, int atlasSize) {
468 TextureAtlas atlas = new TextureAtlas(atlasSize, atlasSize);
489 TextureAtlas atlas = createAtlas(spat, atlasSize);
521 private static void applyAtlasCoords(List<Geometry> geometries, Mesh outMesh, TextureAtlas atlas) {