Game Development Community

.dif texture scale

by Jeremy Alessi · in Torque Game Engine · 04/22/2005 (6:19 pm) · 6 replies

I'm using the Map exporter for Gamespace by Digital Flux and the map2dif GUI resource ... in Gamespace I've set a decent texture scale on my interior in Gamespace however when the .dif is loaded into Torque the texture scale is too small making for that crazy repeat pattern you get when it repeats too much. Anyone have a clue what could cause this? Perhaps I must use a UV map?

#1
04/22/2005 (6:29 pm)
Usually for .dif I use 512X512. Are you changing the texture size in just gamespace? Make sure you change it in the /data/interior folder. Or you just might need a better texture (seamless).
#2
04/22/2005 (6:38 pm)
The texture is fine it's the tiling ... on the .dif it's tiling too much. I've gone and used a UV Map instead which will hopefully work correctly. With other CSG things I've used you could just texture a surface and then change the scale ... no UV map required it was kind of automatic.
#3
04/22/2005 (6:54 pm)
Didn't work ... using the UV map it's better but it still doesn't match what the modeler looks like and the tiling is just too much.
#4
04/22/2005 (8:51 pm)
I haven't used Digital Flux's exporter yet but I've used many others and the best so far is at aeongames Full texture alignment is supported! Note: There can (will) be some cases where it's not going to quite match what you see in gS (or any other modeling tool for that matter) because UV's are handled quite differently in modeling programs than the .map formats.
#5
04/22/2005 (8:54 pm)
Cool, I'll have to look at that. I'm about to find out if setting the repititions to .1 in gS works.
#6
04/22/2005 (9:51 pm)
Works fine to adjust the texture reps ... however the repititions just don't look the same in the modeler as in the engine.