MaterialX for Gaffer?

568 views
Skip to first unread message

Tim Lehr

unread,
Nov 8, 2017, 9:35:26 AM11/8/17
to gaffer-dev
Hi guys,

I’m a student enrolled in the Technical Director course at Filmakademie in Germany and currently looking into topics for my diploma R&D project spanning over the timeframe of one semester.

Currently I’m investigating MaterialX and very interested in developing a software integration for the project. I’m considering multiple applications for this - Gaffer is one of them.

Since the open source release of Gaffer doesn’t include the DCC integration provided by IE Caribou, I think the integration of MaterialX could really enhance workflows.

Knowing the Gaffer team is always keeping a close eye on new open source developments, I would like to know if there is anybody already investigating this. 

I don’t want to spend all that time on something that is already in the works, which would make my contribution redundant.

Cheers,
Tim

John Haddon

unread,
Nov 8, 2017, 11:34:46 AM11/8/17
to gaffe...@googlegroups.com
Hi Tim,

That sounds like a good idea for a project, and it's not something anyone is working on already as far as I'm aware. My knowledge of MaterialX is somewhat limited, but I think most of the concepts there have a fairly natural mapping to Gaffer's existing nodes and workflows. If you do decide to choose Gaffer for your integration, let us know what you're planning and we'll do our best to assist.

Cheers...
John

p.s. For the record, Caribou doesn't do any conversion of materials - at IE all lookdev is done in Gaffer directly.

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
John Haddon - R&D Programmer
Image Engine
studio: +1 (604) 874-5634 | jo...@image-engine.com | www.image-engine.com



15 West 5th Avenue, Vancouver, BC, V5Y 1H4, Canada

If you are not the intended recipient, disclosure, copying, distribution and use of this email is prohibited. Please notify us immediately and delete this email from your systems. You may contact us at in...@image-engine.com if you do not wish to receive further commercial electronic messages. We may still send you messages for which we do not require consent.

Alex Fuller

unread,
Nov 8, 2017, 3:04:00 PM11/8/17
to gaffer-dev
Hi Tim,

I've definitely looked into this and was planning to do it eventually but haven't started anything so feel free, I agree that Gaffer could be shoe-horned quite well into studios for doing lookdev-only for starters and save out this file to ingest into their existing workflow. 

MaterialX's reference implementation is XML-based (ughh) so perhaps look at the gafferCycles exporter which is also XML:

Maybe just to see how you'd walk the graph and save out the info, but materialX has its own python library to do this for you instead of writing out raw XML-looking strings by the looks of it. Also there are plans to do a USD prototype with cortex/gaffer so perhaps it could extend past materialX's XML format and also use the planned USD materialX schema in future.

Cheers

John Haddon

unread,
Nov 9, 2017, 5:21:05 AM11/9/17
to gaffe...@googlegroups.com
On 8 November 2017 at 20:04, Alex Fuller <bobe...@gmail.com> wrote:
MaterialX's reference implementation is XML-based (ughh) so perhaps look at the gafferCycles exporter which is also XML:

Urgh! Please don't look at that! It's a hacky experimental mess that never went anywhere. I might be wrong but I don't think it really has any relevance to MaterialX either - my assumption is that initially we'd want to convert node networks to/from MaterialX, rather than export the generated scene data as gafferCycles does.

Cheers...
John
 

Alex Fuller

unread,
Nov 9, 2017, 5:17:12 PM11/9/17
to gaffer-dev
Whoops, sorry John! ;)

Not to de-rail the topic but actually that might be a cool project to do, a Cycles renderer integration much like Appleseed, maybe with this wrapper if it's not too out of of date: https://github.com/jesterKing/CCSycles

Would you recommend any existing example code to scrape a shader node network for something like this, John?

do...@image-engine.com

unread,
Nov 10, 2017, 12:13:23 PM11/10/17
to gaffer-dev
Hi Tim, 

I'm going to just chip in here to say this a great idea for a project if it meets the requirements for your diploma R&D project. 

- Don



On Wednesday, 8 November 2017 06:35:26 UTC-8, Tim Lehr wrote:

Esteban Tovagliari

unread,
Nov 12, 2017, 8:39:35 AM11/12/17
to gaffer-dev
Hi Tim,

I think it's a great idea. Having MaterialX in Gaffer would be fantastic.
If it helps, we are planning to support MaterialX in a future appleseed.maya release.
That would make it possible to exchange appleseed materials between Maya and Gaffer.

Est.

Tim Lehr

unread,
Nov 14, 2017, 2:21:43 PM11/14/17
to gaffer-dev
Hi guys, 

thanks a lot for all the advice and encouragement! :-)

I'm currently in the progress of discussing this with my teachers and will keep you posted.

My project topic should be decided on before Christmas.

Cheers from Germany,
Tim

Tim Lehr

unread,
Dec 21, 2017, 8:28:18 AM12/21/17
to gaffer-dev
Hey guys,

a quick update from my side: After a couple of talks with my senior lecturer, I decided I will go in a different direction with my diploma R&D project to diversify my skillset a bit more.

However, I'm still very interested in Gaffer and MaterialX, so I will come back to the topic eventually. Maybe you guys have something in Gaffer / Appleseed already by then.

I thank you again for all your feedback on this matter. :)

Cheers,
Tim

Am Mittwoch, 8. November 2017 15:35:26 UTC+1 schrieb Tim Lehr:

Matti Gruner

unread,
Dec 21, 2017, 8:42:35 AM12/21/17
to gaffe...@googlegroups.com
All the best for the project you're tackling instead :) Viel Erfolg ;)

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Matti Gruner - R&D Software Developer
Image Engine
studio: +1 (604) 874-5634 | mat...@image-engine.com | www.image-engine.com
Reply all
Reply to author
Forward
0 new messages