Daz Environments to iClone


https://forum.reallusion.com/Topic410624.aspx
Print Topic | Close Window

By videodv - 8 Months Ago
Hi Mike

Nice work.

Chris.
By argus1000 - 8 Months Ago
Sure. I just changed "mike" for "george".

https://forum.reallusion.com/uploads/images/e7c2c629-029e-4345-b02b-a67a.png
By sonic7 - 8 Months Ago

Great routine Mike .... very handy indeed ....
By Cary B - 8 Months Ago
Hey Mike, thanks. You're making it easier and easier, and it is much appreciated. 
By Kelleytoons - 8 Months 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 - 8 Months Ago
By argus1000 - 8 Months Ago
It's called "Aircraft colo" by Petipet
By Kelleytoons - 8 Months 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 Kelleytoons - 8 Months Ago
What Daz object is that (so I can test it myself)?
By Kelleytoons - 8 Months Ago
Early beta version of doing what I do now using Blender, done all inside of iClone (needs work but a start)


By Kelleytoons - 8 Months Ago
Can you show me your edited path?  (What you edited in the .py file).
By Kelleytoons - 8 Months 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 - 8 Months 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 acestrares - 8 Months Ago
Thank you Mike! Works really well. I wish you could write another similar script for daz clothes. 
By argus1000 - 8 Months Ago

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


https://forum.reallusion.com/uploads/images/3676b0a2-09fb-4392-b455-65d8.pnghttps://forum.reallusion.com/uploads/images/a43bfd04-a0ed-44b9-971e-c19a.pnghttps://forum.reallusion.com/uploads/images/e8bacc1e-5184-44ac-9bc3-4678.png


By Sunrise765 - 7 Months 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 argus1000 - 8 Months 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.


https://forum.reallusion.com/uploads/images/7c6e228f-da42-48b7-b379-a0fc.png



https://forum.reallusion.com/uploads/images/294b0954-5563-44ba-baea-8a2f.png
By argus1000 - 8 Months 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.

https://forum.reallusion.com/uploads/images/9b7f6065-64bb-48e9-af81-ca13.png


By argus1000 - 8 Months 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?

https://forum.reallusion.com/uploads/images/572b8e5c-75e4-4992-9af6-0cc3.png

https://forum.reallusion.com/uploads/images/7c07d6fe-4a9b-4c7a-a086-402c.png
https://forum.reallusion.com/uploads/images/b5583a8d-8834-48da-9495-86a2.png

By Kelleytoons - 8 Months 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 Kelleytoons - 8 Months 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).