Forum

Not fully loaded textures ?

02 September 2016 12:22
Hi,

I have create many materials with textures in UV-Mapping.
I use export Json.

When I execute my app in local, my textures are clean, no problem.
But when I execute this on Internet, my textures seem not fully loaded.
For information, I have a texture folder on Internet in the same folder of the app, so my textures are found and uploaded.



What is strange is the bug result is different each connection and some parts of the texture are display.
In this picture, the first texture bug totally, the second partially and the third work great.

Have you an idea to resolv this problem ?
Thanks.
I'm not crazy ! My reality is just different than yours.
02 September 2016 17:31
Hello.

Could you check the browser console please (press F12)? Are there error messages?
05 September 2016 09:49
Yes, there is some error.

Many textures are correctly loaded, it's written :
B4W LOG: LOAD IMAGE 1024x1024 Textures/PaperCloseUp.jpg?t=26072016154621 (I have textures with many dimensions like 685x583 or 256x256 … that work well)

Some textures generate this error :
B4W ERROR: could not load image: Textures/bois.jpg?t=26072016154621

And other generate this error :
Failed to load http://…/matexture.jpg?t=26072016154621
resource: the server responded with a status of 404 (Not Found)

I have many textures of different size and only jpg and png. I haven't space or incorrect character in file name.
For the moment, I don't understand why this problem occured but I will transform all my textures in square and power of 2 for check this solution.

Thanks

[edit] The first error (B4W ERROR …) is the consequence of the second (failed to load …)
I'm not crazy ! My reality is just different than yours.
05 September 2016 15:01
Ok, so I have change all textures in square and power of 2 and the problem is solved !

I knew this detail influence on the performance but not on display as.
I'm not crazy ! My reality is just different than yours.
 
Please register or log in to leave a reply.