Page 1 of 1

Atlas problem?

PostPosted: Tue Dec 27, 2011 07:25
by Gatharoth
What is the limit on the Main atlas?

Why do I ask? Because I and getting this problem below


Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
23:19:32: INFO[main]: TextureSource::buildMainAtlas()
23:19:32: INFO[main]: Creating texture atlas out of textures: "default_apple.png" "default_bookshelf.png" "default_brick.png" "default_cactus_side.png" "default_cactus_top.png" "default_chest_front.png" "default_chest_lock.png" "default_chest_side.png" "default_chest_top.png" "default_clay.png" "default_cloud.png" "default_cobble.png" "default_dirt.png" "default_dirt.png^default_grass_side.png" "default_furnace_front.png" "default_furnace_side.png" "default_glass.png" "default_grass.png" "default_grass_footsteps.png" "default_gravel.png" "default_junglegrass.png" "default_jungletree.png" "default_jungletree_top.png" "default_ladder.png" "default_lava.png" "default_leaves.png" "default_mese.png" "default_mossycobble.png" "default_nc_back.png" "default_nc_front.png" "default_nc_rb.png" "default_nc_side.png" "default_papyrus.png" "default_rail.png" "default_rail_crossing.png" "default_rail_curved.png" "default_rail_t_junction.png" "default_sand.png" "default_sandstone.png" "default_sapling.png" "default_sign_wall.png" "default_steel_block.png" "default_stone.png" "default_stone.png^mineral_coal.png" "default_stone.png^mineral_iron.png" "default_tnt_bottom.png" "default_tnt_side.png" "default_tnt_top.png" "default_torch.png" "default_torch_on_ceiling.png" "default_torch_on_floor.png" "default_tree.png" "default_tree_top.png" "default_water.png" "default_wood.png" "doors_wood.png" "doors_wood_handle.png" "dustbin_back.png" "dustbin_down.png" "dustbin_front.png" "dustbin_side.png" "dustbin_top.png" "fireplace_front.png" "fireplace_side.png" "flower_dandelion_white.png" "flower_dandelion_yellow.png" "flower_rose.png" "flower_tulip.png" "flower_viola.png" "flower_waterlily.png" "glass_pane.png" "mineral_detector_low_low_low.png" "mineral_detector_low_low_none.png" "mineral_detector_low_none_low.png" "mineral_detector_low_none_none.png" "mineral_detector_none_low_low.png" "mineral_detector_none_low_none.png" "mineral_detector_none_none_low.png" "mineral_detector_none_none_none.png" "orange_brick.png" "orange_cobble.png" "orange_steel_block.png" "orange_stone.png" "orange_stone.png^mineral_coal.png" "orange_stone.png^mineral_iron.png" "orange_tree.png" "orange_tree_top.png" "orange_wallpaper.png" "orange_wood.png" "red_cobble.png" "red_steel_block.png" "red_stone.png" "red_stone.png^mineral_coal.png" "red_stone.png^mineral_iron.png" "red_tree.png" "red_tree_top.png" "red_wallpaper.png" "red_wood.png" "unknown_block.png" "unknown_block.png^mineral_coal.png" "unknown_block.png^mineral_iron.png" "violet_brick.png" "violet_cobble.png" "violet_steel_block.png" "violet_stone.png" "violet_stone.png^mineral_coal.png" "violet_stone.png^mineral_iron.png" "violet_tree.png" "violet_tree_top.png" "violet_wallpaper.png" "violet_wood.png" "white_brick.png" "white_cobble.png" "white_stone.png" "white_stone.png^mineral_coal.png" "white_stone.png^mineral_iron.png" "white_tree.png" "white_tree_top.png" "white_wallpaper.png" "white_wood.png" "yellow_brick.png" "yellow_cobble.png" "yellow_steel_block.png" "yellow_stone.png" "yellow_stone.png^mineral_coal.png" "yellow_stone.png^mineral_iron.png" "yellow_tree.png" "yellow_tree_top.png" "yellow_wallpaper.png" "yellow_wood.png"
23:19:32: INFO[main]: TextureSource::buildMainAtlas(): Not adding "mineral_detector_low_low_low.png" because image is large
23:19:32: INFO[main]: TextureSource::buildMainAtlas(): Not adding "mineral_detector_low_low_none.png" because image is large
23:19:32: INFO[main]: TextureSource::buildMainAtlas(): Not adding "mineral_detector_low_none_low.png" because image is large
23:19:32: INFO[main]: TextureSource::buildMainAtlas(): Not adding "mineral_detector_low_none_none.png" because image is large
23:19:32: INFO[main]: TextureSource::buildMainAtlas(): Not adding "mineral_detector_none_low_low.png" because image is large
23:19:32: INFO[main]: TextureSource::buildMainAtlas(): Not adding "mineral_detector_none_low_none.png" because image is large
23:19:32: INFO[main]: TextureSource::buildMainAtlas(): Not adding "mineral_detector_none_none_low.png" because image is large
23:19:32: INFO[main]: TextureSource::buildMainAtlas(): Not adding "mineral_detector_none_none_none.png" because image is large
23:19:32: ERROR[main]: TextureSource::buildMainAtlas(): Atlas is full, not adding more textures.


Also on the command prompt I see this about 7 times or so before I get the "Atlas is full" error message.

Invalid file handle. Error is 3.

PostPosted: Tue Dec 27, 2011 08:59
by sfan5
Gatharoth wrote:Also on the command prompt I see this about 7 times or so before I get the "Atlas is full" error message.

Invalid file handle. Error is 3.

I have this error too, but Minetest still works

PostPosted: Tue Dec 27, 2011 13:09
by sdzen
i have that error far to often but have no idea what the heck its trying to tell me

PostPosted: Tue Dec 27, 2011 14:36
by Menche
I get that all the time! You could disable the texture atlas by adding "enable_texture_atlas = 0" to minetest.conf, to try to get rid of the warnings. For me, that warning is never fatal, just a bit annoying.

PostPosted: Tue Dec 27, 2011 19:01
by dannydark
If I remember correctly the atlas size is 1024 x 1024 (unless its been changed).

Is there not a way to exclude a node/tool/entity from the atlas via lua? it would be nice to have that for mods with rare blocks in or something so that we could free up the atlas for more common textures.

PostPosted: Tue Jan 03, 2012 18:04
by randomproof
You could change line 796 in tile.cpp to increase the size. This worked for me. Only affects the client, I think.