Alpha mask

Forums: Alpha mask
Area for student license holders to post questions and discuss octane.

Alpha mask

Postby kazinger » Thu May 01, 2014 6:45 pm

kazinger Thu May 01, 2014 6:45 pm
How do I mask off parts of my mesh showing the background?
I have been working on this all morning.Im doing a animated helmet like in the Stargate movie.
Is that enough info? It is a basic question.
Thanks
kazinger
 
Posts: 9
Joined: Tue Mar 18, 2014 2:15 am

Re: Alpha mask

Postby kavorka » Thu May 01, 2014 6:53 pm

kavorka Thu May 01, 2014 6:53 pm
not exactly sure what you are doing.

Pics?

If I wanted to create masks, I would probably create them in my host 3D app.

You can also change your Kernel to info channel and use material ID. You can then use that to mask things out. But I have found much better results creating alphas in my 3d App (Blender).

Also, if it is just the helmet, nothing else, just turn alpha channel on in your kernel.
Intel quad core i5 @ 4.0 ghz | 8 gigs of Ram | Geforce GTX 470 - 1.25 gigs of Ram
kavorka
Licensed Customer
Licensed Customer
 
Posts: 1351
Joined: Sat Feb 04, 2012 6:40 am

Re: Alpha mask

Postby kazinger » Thu May 01, 2014 8:42 pm

kazinger Thu May 01, 2014 8:42 pm
A object as a mask to mask another object.
Its a animation with video sequence background . Video of putting on the head a tracked object( headphones with with dots). I use a head model for the mask . I put the helmet model on the head model and the head model masks out the parts of the helmet showing background. So you do not see the inside part of the helmet that is supposed to be on the other side of the head. So I need the moving mask. I need to do this in the Blender exporter for now.
I am still learning what kernel is. I have clicked alpha channel and keep environment. I have been through the wiki on this.
Thanks
kazinger
 
Posts: 9
Joined: Tue Mar 18, 2014 2:15 am

Re: Alpha mask

Postby kavorka » Thu May 01, 2014 10:19 pm

kavorka Thu May 01, 2014 10:19 pm
alpha channel wont help you here, it only puts an alpha for areas where nothing exists. You use this to do things like put a sky in post, etc.

In Blender, you can do this fairly simply.
you will need to have the objects you want on a separate layer. Then the objects you want to form your mas on another layer. In the render tab, go to layers and put the objects to use as masks in the mask layers.

Then I think all you have to do is go to the node editor and plug the alpha channel from your render layer into your composite node.

render the image sequence out in Blender and use that as an alpha layer in your video editing software.

I may have missed something, so if I did, just google it :)
Intel quad core i5 @ 4.0 ghz | 8 gigs of Ram | Geforce GTX 470 - 1.25 gigs of Ram
kavorka
Licensed Customer
Licensed Customer
 
Posts: 1351
Joined: Sat Feb 04, 2012 6:40 am

Re: Alpha mask

Postby kazinger » Fri May 02, 2014 12:21 am

kazinger Fri May 02, 2014 12:21 am
That will work.
I did this project before and it is difficult to see mistakes and many adjustments needs to be made to the mesh mask. I was hoping for something like the mask material in BI or the holdout in cycles.
Thanks Ill do that.
kazinger
 
Posts: 9
Joined: Tue Mar 18, 2014 2:15 am

Re: Alpha mask

Postby TBFX » Fri May 02, 2014 5:25 am

TBFX Fri May 02, 2014 5:25 am
You can turn any diffuse material into a mask material by checking the Matte attribute in the materials settings, this may be what you are looking for.

T.
Win10 x64|i7-9750H 2.6 GHz|32 GB RAM | RTX2080 max Q 8GB
User avatar
TBFX
Licensed Customer
Licensed Customer
 
Posts: 501
Joined: Sun Dec 11, 2011 9:43 pm
Location: Wellington, New Zealand

Re: Alpha mask

Postby kazinger » Fri May 02, 2014 10:00 pm

kazinger Fri May 02, 2014 10:00 pm
That is what I was looking for. You think I would have clicked that by now just out of curiosity. I did not see it in the manual but I was looking fast. I have a little trouble with shadows but if I use a plane and flip the normals it seems to work. A head mesh seems to cast on itself.
kazinger
 
Posts: 9
Joined: Tue Mar 18, 2014 2:15 am

Re: Alpha mask

Postby TBFX » Sat May 03, 2014 1:42 am

TBFX Sat May 03, 2014 1:42 am
kazinger wrote: A head mesh seems to cast on itself.

Yeah, it is designed as a shadow catcher so isn't quite a black hole material but you can usually get it to work for you.

T.
Win10 x64|i7-9750H 2.6 GHz|32 GB RAM | RTX2080 max Q 8GB
User avatar
TBFX
Licensed Customer
Licensed Customer
 
Posts: 501
Joined: Sun Dec 11, 2011 9:43 pm
Location: Wellington, New Zealand

Return to General Discussion


Who is online

Users browsing this forum: No registered users and 7 guests

Wed Apr 24, 2024 3:57 am [ UTC ]