Jump to content

How to render paintExport in Houdini 12.5?


Recommended Posts

Hi,

I was looking at Peter Quint's Full Compositing series, where he adds an image plane in Mantra and chooses "paintExport" from the menu. But there is no paintExport in the same menu in Houdini 12.5. I tried all diffuse options listed in the menu and also typed paintExport manually but I didn't get the flat diffuse layer with no lighting like Peter did.

Anyone knows how to do this?

Thanks :)

Link to comment
Share on other sites

paintExport is probably custom image plane, mantra surface doesn't have just plain color export, maybe it was part of older materials or peter created one for that purpose

you can add your own but you need to dive into the shader and create the parameter VOP with export on, name it paintExport and plug in only color component of your material network

then manually type paintExport to image plane as VEX variable name on mantra node and set it to the same type as your exported variable like vector

you can use any name you like as long as you make sure it's not in conflict with already existing ones

  • Like 1
Link to comment
Share on other sites

I guess it had something to do with unifying PBR and other render engines in H11

I'm not sure how easy it is to get pure color and pure diffuse lighting (without color contribution) in single render with PBR and still have resulting beauty pass looking correct (since not using color for diffuse, just exporting it white and color separately will get rid of all color bleeding and colored reflections but using it for diffuse makes it difficult to split them afterwards to export separately)

and because Surface Model VOP is using pbr_direct_lighting and therefore exports defined in pbrexports.h and pbrpathtrace.h even for non-pbr renders you cannot just split color and diffuse so easily there as well

what you can do is export your paint as a separate export and then divide diffuse (which contains both color and lighting) by it and hope you will get something like lighting contribution without color which you can use for some tweaks in your comp

or maybe there is some clever way to do it in surface model without customizing pbrpathtrace.h

  • Like 1
Link to comment
Share on other sites

it is and there is no problem with that for non PBR

I even think that peter is providing project files to the tutorials on his page so you may find the scene there

however if you are using mantra surface VOP or just it's parts like Physically Pased Diffuse VOP, Direct Lighting VOP, ... you will get lot's of PBR goodies like multiple importance sampling, but you will be limited for PBR exports regarding the diffuse, specular, ...

of course even that you can add your own exports like paint, or whatever, I was just saying about getting pure diffuse lighting without color which you usually need when you need pure paint color since you want to combine them later

but for custom non-pbr shaders you can do whatever you want and export any part before combining with other, just like on your screenshots

Edited by anim
  • Like 1
Link to comment
Share on other sites

You are right - Paint Export was part of all the standard shaders up to H11, but was not included in the Mantra Surface Shader in H12 onwards. I did a video on passes in H12 that looks at some of the new workflows. You can add paintExport back by editing the Mantra Surfce Shader if you really need it.

Peter

  • Like 1
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...