kryton9
20-03-2007, 10:52
Petr, in the model viewer I am developing. I want to give the user the option to load up different textures to try on their model.
I am not sure how to do this with the current
TBGL_m15LoadModel ModelFile, TextureSubdirectory, ModelID, TargetedDisplayList, NormalVectorMethod
Right now the only option I see is to just delete the loaded m15 and just reload it with the new texture the user selected?
I also wanted to try different uv wrapping on the model by the user in case they wanted to experiment and give finer control while trying out different textures. Am I missing something, or is this where I would need to use the glu headers? Thanks then I can focus on what I need too for now.
I am not sure how to do this with the current
TBGL_m15LoadModel ModelFile, TextureSubdirectory, ModelID, TargetedDisplayList, NormalVectorMethod
Right now the only option I see is to just delete the loaded m15 and just reload it with the new texture the user selected?
I also wanted to try different uv wrapping on the model by the user in case they wanted to experiment and give finer control while trying out different textures. Am I missing something, or is this where I would need to use the glu headers? Thanks then I can focus on what I need too for now.