reset colors
Last question I promise,

Is their anyway of reapplying a models normal colors (i.e how it was imported). I have a some models and when parts are clicked i have written code to change that parts color. (in this case to blue) but i am having a nightmare finding a good way to reset the color back to its original.

many thanks

Reader3ds does not provide a functionality to set the color (material) back to original material. You could reload the whole 3ds file, but this would take too long.

The easiest way is to use a simple Dictionary<object, Color> or Dictionary<object, Material> where you will store the original color / material before you change it.
Andrej Benedik

Forum Jump:

Users browsing this thread:
1 Guest(s)