Page 1 of 1

Geograft materials: hacking solution

Posted: Sun Jun 01, 2014 7:48 pm
by DrHemulen
I think I've cracked the issue with assigning new materials to geografted figures. Basically it goes like this:

Create a non geografted version of you figure. Apply all your nice templated materials. Save as "scene subset", turn of compression.
Create the geografted figure. Let octane generate automaterials for everyjhing. Save as "Scene subset", again with no compression.

Now open both in a text editor. From the non-geografted .duf file, copy the octane material material info to the geografted one, replacing the autogenerated materieals. It's these two lines:

"mat_id" : "{95413329-19dc-40ce-9cc7-f9b8b95b3119}",
"mat_v1" : "AACSZnic7V1..........................." (this line is LONG, seems to contain all material info).

I didn't touch the "ouid" one above.

After loading the modified geo-grafted figure in Daz, everything should look fine, and you should have you geo-grafted figure with your custom materials properly mapped.

This worked for me in a single test. I don't have time to test it more at the moment, as it's a bit time consuming for now. Still, it would be trivial to write a script to swap those lines from a template figure if it really works :)

Re: Geograft materials: hacking solution

Posted: Tue Jun 03, 2014 2:25 pm
by SiliconAya
Nice find, but it only works until you apply a new or different material to the figure, then it all breaks again, I'll just stick to geo-shells for the moment, not that they're a perfect work around either.

Re: Geograft materials: hacking solution

Posted: Tue Jun 03, 2014 5:43 pm
by DrHemulen
Yup, that's true. You need to decide on a material and do the transfer. Still, with a python script or something, that could be done pretty fast.
Can you pose geo-shells?

Re: Geograft materials: hacking solution

Posted: Thu Jun 05, 2014 1:38 am
by SiliconAya
Yeah, though it's best to do morphs and posing before adding the geo-shell, as Octane doesn't notice/see updates to geo-shells. So if you do change morphs or the pose, you have to press the reload button to make changes show up in the viewport (same as you do if you ever change the SubDivision Level).

Oh yeah, if you do want to make morph/pose changes, you have to do them on/to the original figure, not the geo-shell, as geo-shells auto update with any changes made to the original figure (only thing I've found so far that doesn't work is UV Map changes, I had to remake the geo-shell for that).