Game Development Community

Opacity problems

by Harald Martinsen · in Artist Corner · 02/08/2002 (1:54 am) · 5 replies

Hi

I modell everything in 3DSMAX and I have problem when I stack objects with a PNG alpha channel. If you go to this link http://www.merdesign.net/torque you will see two images. The first is the coolers that I am building and the second is a shot of the interior of one of the coolers. And as you can see there is a transparent door with two shelfs inside. The shelfs uses the alpha channel to make a see through effect between the grid in the shelf. As you can see the shelf bellow is rendered on topp of the topmost shelf. Is this a bug or.... ??

Please make me happy and solve this for me :)) as any project I do will require "stacking" of opacity mapped objects.

BR

Harald

#1
02/08/2002 (7:16 am)
There are some issues with alpha channels. One thing you can is to change the name of the object in your Max scene to start with "sort::"......without the quotes of course. For example, instead of "cokeMachine" call it "sort::cokeMachine". If that doesn't work you may have to change the model around until it starts working. Good Luck.
#2
03/04/2002 (11:37 pm)
heh, this problem is quit annoying, there is some properties which should be placed in "User Defined" but I have no idea which ones exactly. "SORT::" gave me a crash because it needs some values placed in the object.
#3
03/04/2002 (11:47 pm)
You can read up on why this happens and some solutions to the problem here:

www.garagegames.com/docs/torque/tools/max2dts/section4.html#trans
#4
03/04/2002 (11:50 pm)
When I export a SORT:: object I get this error.

Debug error, Run-Time Check Failure#3 - the variable 'best count' is being used without being defined.

Should I put SORT::BestCount = 5; or something in there?? that's just a complete guess.. Bestcount is not mentioned anywhere
#5
03/05/2002 (12:03 am)
Hmm,

Never seen that before, based on the error message, it sounds like it might be the version of the exporter you are using.

If you either post or email me the file, I can take a look at it tomorrow night and see if I can see anything.

Joe