Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does it load textures twice?? #3601

Closed
markusT- opened this issue Jun 27, 2013 · 2 comments
Closed

Why does it load textures twice?? #3601

markusT- opened this issue Jun 27, 2013 · 2 comments

Comments

@markusT-
Copy link

Loading a blender scene with the THREE.SceneLoader.
Check it out here
http://inkfood.com/content/pages/spacedebris/

As you can see it loads all the textures twice. Is it a bug or my fault?
bildschirmfoto 2013-06-27 um 18 31 50

@mrdoob
Copy link
Owner

mrdoob commented Jun 27, 2013

My guess is that you have 2 models with the same textures and SceneLoader didn't have any sort of cache implemented. This is something I'm trying to implement for the next revision.

@markusT-
Copy link
Author

Fast response, appreciate that.
If i had 3 models with the same texture it would load the texture 3 times? This means i use the same texture always for 2 models? Im really sure thats not the case.
Dont know why but i loads the texture from two separate paths.
path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants