PDA

View Full Version : Rendering onto a Transparent background


PMichaud
04-25-2007, 02:22 PM
I have some characters modelled that I'm planning to use in a game. I'll pre render the character, and create a sprite sheet based on the renders.

The problem I'm having is that I don't know how to render onto a transparent background, and simply outputting an alpha channel isn't sufficient because it produces a halo around the character due to antialiasing.

I have access to 3dsmax9, Maya8, and a program called Poser 6 for 3d stuff, and Photoshop cs2 for 2d -- How can I render an antialiased character onto a totally transparent background?


Thanks!

MinaRagaie
04-25-2007, 08:39 PM
0 game experience for me... but for halos 90% of the time it's an alpha premultiplication problem...
mayb some1 else can help u more..

sheepfilms
04-26-2007, 12:46 AM
In Photoshop you can remove fringing by going to Layer > Matting > Remove Black/White Matte, or defringing which just strips a defined number of pixels off the layer transparency. For this to work you'll have to apply your alpha channel to the image to create a layer with transparency

In Maya you can turn off premultiplication in the Render Settings, go to the Maya Software tab, expand the Render Options and go to Color/Compositing. Uncheck the Premultiply Box and put the Premultiplicity slider up to 1. You will end up with a hard, 1 bit alpha

I hope this helps, let me know if you want more info

CGTalk Moderation
04-26-2007, 12:46 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.