custom texture problems
by Spel · in Torque Game Engine · 08/24/2001 (4:10 pm) · 3 replies
I have been successful in creating and exporting a shape with collision thanks to the tutorial at gameznet. However, I am unable to use custom .jpg or .png images for some reason. I can include the ones that came with the engine (such as grass.jpg) or even the spot.jpg that downloads with the example.max file from the tutorial and they display fine. But when i create custom images using the .jpg or .png extensions and place a copy in the output directory they will not display in the viewer or in game, can someone please tell me why?
About the author
#2
08/24/2001 (4:55 pm)
The file called spot.jpg that came with the example.max on the gameznet website doesn't have an alhpa channel yet it still works so i don't think that is it. Any other suggestions? This is quite an annoying setback.
#3
08/26/2001 (10:44 am)
I had the same problem, however I've gotten it fixed... The images must be power of 2 in size.. ie: 256x128, 256x256, 512x512, 512x256, 32x32, 64x64, ect... Could this be your problem?
Torque Owner Olafur Osvaldsson
--Oli