Texture vs. Material
by Fritz Myrer · in Torque Game Engine Advanced · 09/25/2006 (11:22 pm) · 6 replies
Do you have to map a texture to a material? Isn't it possible just to use the texture defined in the DTS?
Just wondering because we gonna move over 100 objects from TGE to TSE.
Just wondering because we gonna move over 100 objects from TGE to TSE.
About the author
#2
09/26/2006 (12:42 am)
Ok. Need to find me a slave then :)
#3
09/26/2006 (1:05 am)
The mapTo property; can you use the path as well there or will the mapping apply to all object using that texture name no matter where the texture is located (path wise)? Got multiple objects using textures of the same name (not the same texture).
#4
09/26/2006 (10:50 am)
You can write a function in script to scan some specific folders for jpg and png files, and create a material for each one using eval(). No need to map one by one.
#5
09/28/2006 (7:51 pm)
Doing things like Manoel suggests is very smart IMHO.
Torque Owner Thomas \"Man of Ice\" Lund