TGE is not support TGA Texture??
by King · in Torque Game Engine · 07/15/2005 (5:59 am) · 25 replies
I make a .DTS with a TGA texture..
I view it in Torque ShowTool Pro, it show white.. do not show texture...
Why?!
Is BUG?! If it is BUG, what a huge BUG....
I view it in Torque ShowTool Pro, it show white.. do not show texture...
Why?!
Is BUG?! If it is BUG, what a huge BUG....
#2
how to do alpha texture? .PNG?
I use a .PNG Texture, it is still show white...................................................
07/15/2005 (6:13 am)
Oh my god.....how to do alpha texture? .PNG?
I use a .PNG Texture, it is still show white...................................................
#3
Then you haven't made it transparent. Paint it transparent, don't just paint the alpha channel.
07/15/2005 (6:18 am)
What's the deal with this, it's not like TGA is the only usable format out there?Then you haven't made it transparent. Paint it transparent, don't just paint the alpha channel.
#4
it say:
Specifications
Torque supports JPG, TGA, and PNG file formats. Note: PNG support in Maya 5.x for Windows is provided by the IMFPng plugin included in the File Pack.
Image file dimensions must be powers of two (e.g. 256x256, 64x64, etc). Textures do not have to be square (e.g. 64x128 is acceptable).
Tranparency
To make an object transparent, the texture on the object must have an alpha channel. The amount of transparency is controlled by the image's alpha channel. Applying an image file with an alpha channel to the Color attribute of a material will automatically apply the image's alpha channel to the same material's Transparency attribute. Both PNG and TGA files support alpha channels; JPG files do not support alpha channels.
---------------------------------------
I make it transparent, and I set it material to 10% transparency.
but ,still show white...
07/15/2005 (6:25 am)
In http://www.garagegames.com/docs/tge/general/ch07s06.phpit say:
Specifications
Torque supports JPG, TGA, and PNG file formats. Note: PNG support in Maya 5.x for Windows is provided by the IMFPng plugin included in the File Pack.
Image file dimensions must be powers of two (e.g. 256x256, 64x64, etc). Textures do not have to be square (e.g. 64x128 is acceptable).
Tranparency
To make an object transparent, the texture on the object must have an alpha channel. The amount of transparency is controlled by the image's alpha channel. Applying an image file with an alpha channel to the Color attribute of a material will automatically apply the image's alpha channel to the same material's Transparency attribute. Both PNG and TGA files support alpha channels; JPG files do not support alpha channels.
---------------------------------------
I make it transparent, and I set it material to 10% transparency.
but ,still show white...
#5
07/15/2005 (6:36 am)
Then there's something wrong on your end. Because it does work. You might have to use another image program to save the .png.
#6
In Torque ShowTool Pro, I view "Material" window ,the window show have texture and have flag "Translucent", but main window still show white..
I don't know...I use PhotoShop 7.1, and I open texture in Torque DEMO with PhotoShop 7.1 , that transparent texture is only RGB, I set my texture to same only have RGB , but...but.. my texture is not transparent, that DEMO's texture can transparent. why ?!
I only say why..................oh my god.............
07/15/2005 (6:55 am)
Why? I don't know....In Torque ShowTool Pro, I view "Material" window ,the window show have texture and have flag "Translucent", but main window still show white..
I don't know...I use PhotoShop 7.1, and I open texture in Torque DEMO with PhotoShop 7.1 , that transparent texture is only RGB, I set my texture to same only have RGB , but...but.. my texture is not transparent, that DEMO's texture can transparent. why ?!
I only say why..................oh my god.............
#7
07/15/2005 (8:41 am)
I know why, are you using milkshape?
#8
07/15/2005 (8:43 am)
No. I use LightWave.
#9
07/15/2005 (8:46 am)
Oh, well it could be something like in milkshape where you have to set transparency on the particular model. I dunno how lightwave works though, have you tried .png? Just to test it out.
#10
I don't know, why........
07/15/2005 (8:55 am)
Yes , I have tried .png texture . but , I made .png texture it not transparent or show white . I use alpha texture in Troque DEMO replace my texture , Torque ShowTool Pro show correct . I don't know, why........
#12
07/15/2005 (12:05 pm)
TGA really is a good format though. Torque should support it in the future I think. But then again, I mean, it's nothing a high res .png couldn't do.
#14
07/15/2005 (2:43 pm)
Is your texture power of two sized? Is it in the same folder as the .dts?
#15
www.garagegames.com/mg/forums/result.thread.php?qt=5784 or do a search for PNG and photoshop.
07/15/2005 (3:58 pm)
Also remember that photoshop 6 and 7 do not handle PNG transparency correctly without an additional plugin.www.garagegames.com/mg/forums/result.thread.php?qt=5784 or do a search for PNG and photoshop.
#17
07/15/2005 (8:05 pm)
The version of SuperPNG that is now supplied on the developers site is a bit of a waste since it doesn't generate the PNGs transparency/alpha channel based on the alpha data that you supply in Photoshop. You will have to search for one of the older beta copies unfortunately.
#20
07/15/2005 (8:50 pm)
...

Torque Owner Stefan Lundmark