Hi, for some reason I couldn’t register to jpct.net forum so I’m addressing my issue here.
The concept of my project is that i have a 3D car model and I want to be able to pick different textures and colors for this object.
I have a 3ds file of a textured 3D object.
I’m able to load the object and apply textures via textureManager. So far so good.
Now the struggle. I have a button and after a user clicks this button it should load new textures from another 3ds file (the same object only textures and materials are different) and apply these textures to already loaded 3D object.
I tried loading the whole object again. That worked of course but it took too long for a real time application.
Because textureManager does everything automatically, I couldn’t figure out how to tell it to reapply its textures.
What is the proper way to do this to save memory and time?
Or I’ll take other suggestions on how to quickly change color and texture of 3d objects.