Game Development Community

Transparent material

by Camel Taylor · in Artist Corner · 11/28/2006 (4:24 pm) · 6 replies

Ok her is my problem, I have re worked the crossbow that is included with the FPS software. I have changed the speed of the so that it moves very slowly after being fired and it lasts for 10 seconds before disappearing. My problem is no matter what texture I create for it I cant get transpeacy's to work. I'm using the DTSplus exporter. I have used many diffrent colors. and I can't get a transpearacy to work the color of the object. The most recent problem I have is; that I created a purple texture, but inside tourqe the texture comes out transparent lime green. I have used the slider in milkshape and in the dts exporter and yet I still keep getting wierd colors. Has anyone had this problem before and if so how can i fix it. What Im trying to do is create a transparent glass looking texture so when the bolt hit's it shatters but I just cant seem to get it to work.

#1
11/28/2006 (4:33 pm)
To begin, you need a texture with transparency applied to the mesh. It should be a 'proper' transparent texture bitmap. You cannot use the native Ms3d 'Materials' with only Diffuse,Emmissive,Specular,Ambient shaders; you need an actual bitmap file of probably .PNG format.

After applying the texture and before exporting: Edit the Material in the Exporter dialog and check the Tranparent radiobox. The mesh 'should' export with the Alpha channel parameters setup in the bitmap .PNG file.

Good luck.
#2
11/28/2006 (5:32 pm)
BASIC TRANSPARENCY in Milkshape

1. Create a cube 4 x 4 grid.
2. Click Edit then click Select All to make sure cube is selected (cube turn red when
selected).
3. Click Materials Tab.
4. Click New button.
5. Click First None (Texture Browse) button under Specular.
6. Navigate to your png texture (png with Alpha channel).
7. Click png texture then Click Open button.
8. Click Assign button.
9. Click Drag the slider under the word Emissive to the E.
10. You should see the cube turn transparncey. If not Right click 3D view then select
Textured.

ms2dtsExporterPlus 2.6.1.0 Export and above

1. Click File/Export then select Torque DTS Plus.
2. Click Material01 (your png with Alpha channel) under the Materials section.
3. Click Edit button under the Materials section.
4. Check the Translucent check box under Flags section.
5. Click OK button then Click Export DTS.
6. Name and save.
7. Copy dts and material to Torque.

I did this quick so hopefully I did not miss anything.
#3
11/29/2006 (5:51 pm)
Actally ive done all those things, it seems after using ShowTool that I see that my textures are not copying over to my models correctly. Tourqe show tool show that my texture map but refuses to display it on the model. I guess I need to trouble shooot somemore
#4
11/29/2006 (6:24 pm)
Make sure your texture is in the same folder as your DTS.
#5
11/29/2006 (6:33 pm)
Is your texture power of 2 (128 x 512, 512 x 512, etc.), png or jpeg.
#6
11/30/2006 (10:48 am)
Well I got everything working, in the end I just used the DTS exporter that came with Milkshape and everything worked fine. I tweaked a few things here and there. In the end eveything I wanted to done came out correctly.

thank you for the help