Game Development Community

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....
Page «Previous 1 2
#1
07/15/2005 (6:04 am)
TGE doesn't support TGA. It's not a bug. They just don't support it. I don't see it as a big loss.
#2
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
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
07/15/2005 (6:25 am)
In http://www.garagegames.com/docs/tge/general/ch07s06.php

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...
#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
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
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........
#11
07/15/2005 (11:50 am)
Try this handy image viewer/converter.
make sure you get the program and the plugins.

There are options when you save as a png. You can control the transparency and alpha channel and other things.
IrfanView
#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.
#13
07/15/2005 (1:11 pm)
It already does.
#14
07/15/2005 (2:43 pm)
Is your texture power of two sized? Is it in the same folder as the .dts?
#15
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.
#16
07/15/2005 (7:53 pm)
Fail...

I save .png with SuperPNG, it's fail that still show white.
#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.
#18
07/15/2005 (8:33 pm)
www.ursky.com/bbs/UploadFile/2005-7/2005716113427175.jpg
The texture present in material , but it show white..
#19
07/15/2005 (8:44 pm)
Try using Gimp, I've never had a problem with images made in gimp or imported/exported with gimp. It's an excellent tool, even for photoshop people, because of how many formats it DOES, read from and write to automatically.

Oh yeah did I mention it's free?
#20
07/15/2005 (8:50 pm)
...
Page «Previous 1 2