PaulM3D Posted July 30, 2014 Share Posted July 30, 2014 (edited) Ok, guys, I'm progressing in Mantra and have got a new question - How to don't render some specific planes? Real situation - I've got 2 light sources - Sun & Sky. And most of passes(image planes) are rendering for each light source and for each component(diffuse, reflect and refract in my situation). My passes on exit are: diffuse_color_noshading - combined light, no component, one pass sky_direct_diffuse sky_direct_reflect sky_direct_refract - don't need sky_indirect_diffuse - don't need sky_indirect_reflect sky_indirect_refract sun_direct_diffuse sun_direct_reflect sun_direct_refract - don't need sun_indirect_diffuse - don't need sun_indirect_reflect sun_indirect_refract So, I've got 4 passes(planes) which I don't need. Haw can I get rid of them? I thought about light contribution, but don't see how to use it in my situation. Yours respectfully, Paul Edited July 30, 2014 by PaulM3D Quote Link to comment Share on other sites More sharing options...
PaulM3D Posted July 30, 2014 Author Share Posted July 30, 2014 It was so simple! I can just put names by different planes by myself individually. So obvious. I think, thread should be deleted. Quote Link to comment Share on other sites More sharing options...
Guest tar Posted July 30, 2014 Share Posted July 30, 2014 It'd be a great resource if you can upload your successful test .hip file. It can help many people! thanks! Quote Link to comment Share on other sites More sharing options...
PaulM3D Posted July 30, 2014 Author Share Posted July 30, 2014 Ok, I understand you. Next time - it will defenitely be next time - I'll do this. But in those particular situation it could be better explained by words. So, when you setting up your extra image planes, you may choose "Direct Lighting(per component)" - "direct_comp" VEX variable. And, as in my case, set "Export variable for each light". But if you don't need some components you should'n use "For each component" toggle. Just create an image plane and input VEX variable like "diffuse_direct", or "coat_direct" - if, for example, you don't need "reflect" component. And for lights - you could set particular light by editing "Light Mask" field. The * symbol means all light. You can exclude particular light by setting ^ symbol before its name. Or just delete * and add name of light you need. Attaching .hip files - it's very good practice, I totally agree! When you can dive in, explore it by yourself. But in my case I can't upload my file because of something like NDA and, unfortunately, I don't have a time right now to make an example. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.