Jump to content

Material override


ajz

Recommended Posts

Is it possible to override all materials present in the scene when rendering with selected mantra ROPs? I'm setting up scene lighting ATM, but for the sake of shorter render times, I'd like to do my test renders with some simple, non-textured material.

In Maya I could just create a render layer with material override. What is the Houdini way? ;)

Link to comment
Share on other sites

I quietly hoped that there's some easier solution. I'm familiar with takes, but I also assign materials on SOP level. So, unless I'm mistaken, to override all materials in the scene, I'd have to dive into each ObjNode of my candidate objects to make appropriate modifications to their material operators. For each take...

I guess for my current scene I can do this, but this will be a helluva tedious process.

Edited by ajz
Link to comment
Share on other sites

Guest mantragora

I guess for my current scene I can do this, but this will be a helluva tedious process.

 

You know, make some presets for the future. There are many possibilities. I think I would heavily modify MaterialSOP to support my type of work.

Link to comment
Share on other sites

Thanks for the tips. I'll look into those stylesheets, but it appears that they require some knowledge of VEX and CVEX and I still didn't have time to explore them thoroughly.

I think for now I'll just mash up a simple script that will traverse through the obj tree and replace shop_materialpath[k] (of each material SOP it comes accross) with links to some predefined material. This should work, unless there are no Python routines dedicated to takes (include/exclude from take).

Edited by ajz
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...