There are 6 replies to this topic

20th Mar 2008 06:18am
+VarnishedOtter
Admin
Offline

VarnishedOtter

5015
Okay the premise of this tutorial is that I have an image in photoshop (image 1), and my render in max (image 2) that I want to composite over the top.

If I save the render as a BMP or a JPG and open in photoshop, the only way I can really do it is to cut out the ship from the white background. Easiest way to do this is magic wand right?

Problem is when I do that I get really rough edges around the ship (image 3).

So heres what I do to avoid that.

When you save your render for compositing, save it as a TGA file. They contain a premultiplied alpha-channel. When you open it in photoshop and click on the channels list you will see it there (image 4).

How we use this by CTRL+Click on the thumbnail of the alpha-channel (image 5). This will create a selection, and because of the anti-aliasing that max did, they edges are slightly transparent. Click back on the Layers list and CTRL+C to copy the selection.

Now paste into the other image and you're done (image 6).

I hope you guys find this useful. It is also much easier than saving out a bitmap and a separate alpha bitmap, I've seen some people do that too.

Matt
http://theprophetmoses.deviantart.com
VarnishedOtter has 5015 participation points. Last seen 1 day, 5 hours ago.
20th Mar 2008 03:22pm
+Gustave d'Pre
Admin
Offline

Steve Martin

3938
That's great. smile.gif Didn't know that.
http://www.3dprevis.com
Steve Martin has 3938 participation points. Last seen 23 hours, 4 minutes ago.
20th Mar 2008 04:28pm
+VarnishedOtter
Admin
Offline

VarnishedOtter

5015
Wow I just taught steve something haha. You can also use PNG files, as I found out today. Because Flash was being an arse and not importing my TGA's. I used a PNG series and imported to Flash for the new Spinning Teapot of Unholy Destruction.
Matt
http://theprophetmoses.deviantart.com
VarnishedOtter has 5015 participation points. Last seen 1 day, 5 hours ago.
21st Mar 2008 03:44am
+cdballew
Moderator
Offline

cdballew

1197
Great! I'll have to try that for the new challenge, thanks.
By the way, the spacecraft in your example is awesome, can you upload the mesh? hahaha

Chris
cdballew has 1197 participation points. Last seen 1 week, 1 day ago.
21st Mar 2008 05:18am
+VarnishedOtter
Admin
Offline

VarnishedOtter

5015
I can't upload it, because Weta bought it from me to use in their next film. Would breach the, err... contract conditions. wink.gif
Matt
http://theprophetmoses.deviantart.com
VarnishedOtter has 5015 participation points. Last seen 1 day, 5 hours ago.
22nd Mar 2008 04:51am
+Gustave d'Pre
Admin
Offline

Steve Martin

3938
You fixed the spinning teapot? Bastard!
http://www.3dprevis.com
Steve Martin has 3938 participation points. Last seen 23 hours, 4 minutes ago.
22nd Mar 2008 05:11am
+VarnishedOtter
Admin
Offline

VarnishedOtter

5015
Haha, I'm sure I can insert a 1-frame stutter if you feel that strongly about it.
Matt
http://theprophetmoses.deviantart.com
VarnishedOtter has 5015 participation points. Last seen 1 day, 5 hours ago.
Back to top

Stats

Page generated using a mere 63 queries. (Plus 52 cached)
Code time: 0.039 | Database time: 0.144 | Total time: 0.183

MaxForum v2.2 2008-07-25

Hosted by www.maxnodeservers.com