Billboard + IFL DTS object not displaying
by Rubes · in Torque Game Engine Advanced · 11/02/2009 (1:21 am) · 4 replies
Trying to port my game from TGE to TGEA. Having a problem with a DTS shape that is set up as a billboard object with IFL.
The object works fine in TGE -- it's a candle flame that I import into the game as a StaticShape, and play the IFL to show the flame flickering. As a billboard, it always faces the player.
In TGEA, I set up the object's material as follows:
So it's mapped appropriately to the IFL file. When I import the object into TGEA, it appears to recognize the material properly, with all of the IFL PNGs loaded in. But although I see the bounds of the DTS shape, there is nothing inside -- no visible texture, no flame, just an empty bounding box. I've looked everywhere and tried a number of different things, but no luck.
Any ideas?
The object works fine in TGE -- it's a candle flame that I import into the game as a StaticShape, and play the IFL to show the flame flickering. As a billboard, it always faces the player.
In TGEA, I set up the object's material as follows:
new Material(flame0000)
{
mapTo = "flame0000.ifl";
baseTex[0] = "flame0000.png";
};So it's mapped appropriately to the IFL file. When I import the object into TGEA, it appears to recognize the material properly, with all of the IFL PNGs loaded in. But although I see the bounds of the DTS shape, there is nothing inside -- no visible texture, no flame, just an empty bounding box. I've looked everywhere and tried a number of different things, but no luck.
Any ideas?
Torque Owner Andy Rollins
ZDay Game