Page 1 of 1

Is there any limitations on textures?

PostPosted: Wed Dec 07, 2011 18:34
by RAPHAEL
Seems some textures I've been working on wont load and give the error they are too large. However other textures load fine. Sometimes even small textures wont load with the error they are too large.

Curious if there are official limits on textures concerning size and if so what are they. If not then could this be a bug?

Version: minetest-0.4.dev-20111204-1

EDIT: Corrected typo in title.

PostPosted: Thu Dec 08, 2011 00:31
by Menche
I think minetest 0.4.x needs different names and has a different folder structure for storing textures.

PostPosted: Thu Dec 08, 2011 00:42
by cisoun
IMO, the new texture system is a big mess. /o\
I prefer the old method which you only had to put all the textures in the data folder.

PostPosted: Thu Dec 08, 2011 04:08
by RAPHAEL
Well I think that having ALL "default" textures (all the textures that come with the game other than mods) should be in one folder. I recall seeing a "default" mod and "legacy' mod each with their own textures.

However the issue I have is that seemingly random thing of the game saying the textures are too big. I've tried 256x256 and 128x128 and they randomly seem to not load with that error. Maybe a dev could shed some light on this?

PostPosted: Fri Dec 09, 2011 17:31
by Calinou
That is because the game cancels further (down)loads 5 seconds after connecting to a server (or locally).
This timeout should be changed to 15 seconds IMO, and be skippable by pressing escape...

PostPosted: Sat Dec 10, 2011 03:51
by dannydark
do you also get this error message "ERROR[main]: draw_hotbar(): mainlist == NULL" spammed in your console?

as whenever I increase the textures above the default 16x16 I have similar problems as you, accept its mainly the skybox3 texture that fails to load for me. I use a 32x32px texture pack but the other thing that happens is at 71% completion on the loading screen it puts me in the game (with a black screen) and spams the console with the above error message for a few seconds.

I tried increasing the timer to 25secs to test, but that didn't seem to make any difference it always joins me into the game at 71% :S

PostPosted: Sat Dec 10, 2011 03:54
by RAPHAEL
dannydark wrote:do you also get this error message "ERROR[main]: draw_hotbar(): mainlist == NULL" spammed in your console?

as whenever I increase the textures above the default 16x16 I have similar problems as you, accept its mainly the skybox3 texture that fails to load for me. I use a 32x32px texture pack but the other thing that happens is at 71% completion on the loading screen it puts me in the game (with a black screen) and spams the console with the above error message for a few seconds.

I tried increasing the timer to 25secs to test, but that didn't seem to make any difference it always joins me into the game at 71% :S

Yea sounds like my issue.

PostPosted: Sat Dec 10, 2011 04:24
by dannydark
I extended the delay to 45 seconds and this kind of worked, It got meant it took forever to get into the game but it stopped the console being spammed with "ERROR[main]: draw_hotbar(): mainlist == NULL".

However, for some reason it still fails to load the skybox3.png image :S yet every other texture is loaded fine, and the image file exists I've even replaced it out several times with other random images and it never seems to load it.

PostPosted: Sat Dec 10, 2011 11:40
by neko259
Why doesn't it simply wait for the textures to download instead of having the delay?