Daz Environments to iClone

Print Topic | Close Window

By acestrares - 2 Years Ago
Thank you Mike! Works really well. I wish you could write another similar script for daz clothes. 
By Kelleytoons - 2 Years Ago
As I explained above, this is mostly due to the lack of conventions used by the Daz developers.  In at least two of these cases (I didn't bother to look at the Diner but I suspect it's true as well) the devs are using a convention of a single letter at the end of their maps to designate what type of map it is (like "N" for normal, for example).

This isn't a very reliable way of noting what maps are what (it gets into particular trouble when some devs use "S" for Shininess and others use it for "Shine" as in "Glow" or other such things).  While my program *will* attempt to deal with these cases when finally released (sometime before the end of this week) as I said earlier this particular version only accounts for about 50% of the maps used (the release version will get about 90% -- even it will still have some occasions where the dev has used no standards or ones that are so peculiar to themselves I just can't rely on them).

So the good news for at least 2 out of the 3 (and maybe all three) is that they will get captured in the next release (soon now).  And you can always tell, as it shows you which maps could not be matched (that's why it's saying it could not match "Ex_1_Wall_B" for example -- as it stands now it doesn't understand that's a bump map).  In the future when you get unmatched maps I'll appreciate a listing of which ones don't get matched (or you can just tell me which object it is) as I will try to include them in in any future releases.
By Kelleytoons - 2 Years Ago
If you are using CC3 Pipeline the Transformer function does the same thing for Daz clothing -- it uses, if not my actual code, a close approximation of it.
By Sunrise765 - 2 Years Ago
I used the script, but the textures seem to come in incorrect like the stairs and the ground as shown below.https://forum.reallusion.com/uploads/images/ff91e210-eeee-4a2b-8b88-479a.jpg https://forum.reallusion.com/uploads/images/2b88d84e-8cc3-4368-8f13-b469.jpghttps://forum.reallusion.com/uploads/images/b509d105-d362-4818-967a-0060.jpg
By Kelleytoons - 2 Years Ago
Okay, that's all normal.

That particular model doesn't have many textures, although it has a few (other than the diffuse maps).  And the couple it has aren't named well (as I explain in the videos, there are no standards for Daz devs and many do not follow anything at all, or make up their own weird ones).

There are two normals (one for the seats and one for the "metal") and that's it, and neither has anything other than an "n" at the end to indicate it's a normal.  While I can (and will) account for these it won't be until I get to the release version.  In the meantime, those two little maps can easily be copied by hand over.

My routine is mostly for use with items with a lot of materials and maps, to make it easier than doing it by hand.  In this case no need (although, as I said, when the release version is out it WILL get those two maps.  But it will still say "no materials found" for those items without any more maps which, in this case, is most of them).
By Kelleytoons - 2 Years Ago
Okay, last version before next week (my plans are to finish this before the end of next week).

MUCH more stable version, and able to handle a lot more types (about half of the ones I need to cover now).  As always, if you do try this and have any problems please let me know so I can fix it for everyone.

By videodv - 2 Years Ago
Hi Mike

Nice work.

By sonic7 - 2 Years Ago

Great routine Mike .... very handy indeed ....
By argus1000 - 2 Years Ago
It's called "Aircraft colo" by Petipet
By Kelleytoons - 2 Years Ago
By Cary B - 2 Years Ago
Hey Mike, thanks. You're making it easier and easier, and it is much appreciated. 
By argus1000 - 2 Years Ago
Hi Kellytoons,

While some Daz products work with your script, some others don't, and I don't know why. For example, with  "Moonshine diner" by Jack Tomalin, "NY stores" by Aurelio and "Old London alley" by PerspectX , your script doesn't bring any new maps. Is this normal?



By Kelleytoons - 2 Years Ago
Ah -- that's wrong (you have "Exports" as a top directory, not in your "Documents" directory).

You either need to move "Exports" into a sub-directory of "Documents" or edit that path and remove "Documents".

(But thanks for this -- I'm now including a better way of finding that "Exports" directory for people, with clearer explanations).
By Kelleytoons - 2 Years Ago
Can you show me your edited path?  (What you edited in the .py file).
By argus1000 - 2 Years Ago

I did exactly like the tutorial says, and here's what I get. The "LoadMaterialsiClone.py" routine can't find the MTL when it's right next to it.


By argus1000 - 2 Years Ago

Yeah! It works now. I get all the bump, normal , roughness, metallic maps now. It makes a big difference. Thank you very much, Kellytoons.


By Kelleytoons - 2 Years Ago
Early beta version of doing what I do now using Blender, done all inside of iClone (needs work but a start)

By Kelleytoons - 2 Years Ago
Good, glad it's working.  

There still may be things it doesn't work on, or work well with.  If you find one, let me know and I'll see if I can fix it (and it will make it better for everyone).  And always keep an eye on my channel for the latest release (I won't always post here or if I do it may not be right away).
By Kelleytoons - 2 Years Ago
What Daz object is that (so I can test it myself)?
By argus1000 - 2 Years Ago

I made  the change, but it still doesn't work, with a different message this time.


By argus1000 - 2 Years Ago
Sure. I just changed "mike" for "george".