Atlas problem?

Gatharoth
Member
 
Posts: 196
Joined: Thu Dec 22, 2011 02:54

Atlas problem?

by Gatharoth » Tue Dec 27, 2011 07:25

What is the limit on the Main atlas?

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


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.
 

User avatar
sfan5
Moderator
 
Posts: 3816
Joined: Wed Aug 24, 2011 09:44
Location: Germany
GitHub: sfan5
IRC: sfan5

by sfan5 » Tue Dec 27, 2011 08:59

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
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
sdzen
Member
 
Posts: 1170
Joined: Fri Aug 05, 2011 22:33
Location: Paradise (your not allowed)

by sdzen » Tue Dec 27, 2011 13:09

i have that error far to often but have no idea what the heck its trying to tell me
[h]Zen S.D.[/h] The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
 

User avatar
Menche
Member
 
Posts: 997
Joined: Sat Jul 02, 2011 00:43
Location: An island in a lava lake.
IRC: Menche
In-game: Menche

by Menche » Tue Dec 27, 2011 14:36

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.
An innocent kitten dies every time you top-post.
 

User avatar
dannydark
Member
 
Posts: 428
Joined: Fri Aug 12, 2011 21:28
Location: Manchester, UK

by dannydark » Tue Dec 27, 2011 19:01

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.
 

randomproof
Member
 
Posts: 214
Joined: Thu Nov 17, 2011 06:31
Location: California, USA

by randomproof » Tue Jan 03, 2012 18:04

You could change line 796 in tile.cpp to increase the size. This worked for me. Only affects the client, I think.
 


Return to Problems



Who is online

Users browsing this forum: No registered users and 1 guest