Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Import / Export shader

64 views
Skip to first unread message

Lucas L

unread,
Jul 31, 2024, 3:47:28 PM7/31/24
to gaffer-dev

Hi everyone,

I'm trying to export/import Arnold shaders only from Gaffer for re-assignment in different contexts or at the shot level.

From what I've seen, to export shaders, I need an object to contain the shader attributes and use the scene exporter, but I don't have one. I would like to use the USD or with Gaffer format process to save shaders independently from the geometry.


Thanks for your time!

Sachin Shrestha

unread,
Jul 31, 2024, 4:16:25 PM7/31/24
to gaffe...@googlegroups.com
Hi Lucas,

You can do that easily using a “box” in gaffer. It is essentially like a container or a package or a macro or kind of like Houdini Digital Asset that can store a gaffer graph or whatever you want in the box to reuse or reapply stuff later. You can go through this article in the docs which has a good overall guide to the workflow as well as step by step instructions:

The export is done from the settings (gear icon) on the box node into a gaffer reference file (which is slightly different from the main gaffer scene file). When a box is exported, it essentially becomes a non editable container that can be referenced in another scene. It is extremely powerful and the primary way of creating workflows in gaffer.

If you still need any help after going through the above tutorial, then please ping here (or if you have any questions).

Cheers,
Sachin

--
You received this message because you are subscribed to the Google Groups "gaffer-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaffer-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gaffer-dev/e0645882-c158-4640-a3be-c7c44b8de113n%40googlegroups.com.

Lucas L

unread,
Jul 31, 2024, 4:54:30 PM7/31/24
to gaffe...@googlegroups.com
I will try that !

Thanks a lot ! 

You received this message because you are subscribed to a topic in the Google Groups "gaffer-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gaffer-dev/MOQybPxyAFY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gaffer-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gaffer-dev/CAGYQAO_CKUiLFHfSLAxFe_xTYvthFPcx7z6nSxXrOWK_8FDDjQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages