• Welcome to Twisted DIRT Forums.
 

News:

MX vs ATV Reflex PC Multi-Player back on line 10/8/2013.  Get Racing.

Main Menu

tranparent objects

Started by riff, July 15, 2005, 03:46:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

riff

I need 2 no what the correct rgb color is to hide or see threw an object.An rgb value of 255,0,255 looks pink and still shows up at that color on object in game.As i looked into a .zip file i downloaded of the iron mtn .slt it shows a rgb value of 255,0,255 bewtween the iron bars and shows it being transparent. i also tried modifing the .slt material 0 as explaned in the iron mtn. .zip file as the had it still didnt work.Also in that zip file."
-Textures must be 24-bit Targa files. You can create transparent areas in the texture by using pure purple (RGB:255,255,0) for key color transparency." that rgb comes up as yellow? Any one no the answer ?

VMX_SKYmx99

I don't think transparency shows up in dillo.  It will if you bundle it and open it up in MCM2.

mcm2boys

Don't you need to add a line like this to the texture section of the SLT?

ColorKey=128,128,128

So that MCM2 knows the TGA has transparency..


Laurie

metal_miracle

i use this line

ColorKey=48,48,48

Fixer

If you read the tutorial that came with the editor it suggests chooising a "color key" that's close to the background the object is placed in. I always thought that would be to rigid for sharing objects with other people as they probably wouldn't  adjust that value. I always choose a RGB value that's close to the objects RGB in the area where the transparency starts. The idea is to get blending at the edge of the transparency.

riff

Im trying 2 make a pond thats made of a circle plane in max,I want to be able to see partialy threw the plane 2 the actual surface texture of map, ive seen this just once on a stunt track named xpt arena.I heard maybe a person can use a pink /purple alpha channel to do this,or is it the rgb color key set in .slt file.tried both neither worked .Oh well back 2 head scratchin lol.

cR

You need to make a 32-Bit .TGA, not sure what u need to add to the SLT for that tho...

MX45

Im pretty sure its,   TextureFormat=4444

Mike | If you never fail....you will never succeed.[/color]

cR

Hmm let me check that... yea you'r right :)

ElDiablo (Paul)

#9
1- Make a water texture in Photoshop
2- Click on the Channels tab (in the layer pallet) and click on the 'create new layer' icon (at the bottom of the pallet second from the right) to add an alpha layer.
3- Fill this new layer with rgb 128, 128 128 (50% black)
4- Click on the Layers tab and click on the water layer (Layer 1?)
5- Adjust transparency (opacity) to 90% (I find that it works better this way)
6- Save as a 32-bit .tga file and put it in your Usermodels folder
7- In the object SLT file under TextureMap=... type the following TextureFormat=4444
8- Save it and check it out by placing it and then opening the track in MCM2. If the water needs to be more transparent reopen the texture in PS and make the alpha layer darker. If you need the water less transparent make the alpha layer lighter (white is completely transparent and black is solid/opaque).

Enjoy!  ;D
Sincerely,

Paul Valenti - Owner/Operator - Sound Advice
www.facebook.com/soundadvicekc

MDx_Wayne

riff,

I did a semi-transparent water feature on my national called "Victory".  Take a look at it and let me know if that is the effect you are after.

Wayne