DAZ Gas Station


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

By 3dtester - 6 Years Ago
For some reason that scene doesn't come in with bump or normal maps, neither through 3Dchange nor CC3.
They are present in DAZ, but not exist in the .fbm folder and not embedded.

However, here are a few renders after fixing a few things manually, hope you like them :)

https://forum.reallusion.com/uploads/images/3d94267a-e140-421f-82ec-cb01.png

https://forum.reallusion.com/uploads/images/c23809ff-d246-4f28-ad42-e89c.png

https://forum.reallusion.com/uploads/images/ad705c6d-6ad4-4be4-9f88-a199.png

https://forum.reallusion.com/uploads/images/f70d8330-dfc3-476f-b5d1-82ea.png

https://forum.reallusion.com/uploads/images/9bcef7ba-8efe-4e7f-ac0a-5897.png

https://forum.reallusion.com/uploads/images/5acd38fa-d71c-4d80-86bf-527b.png

https://forum.reallusion.com/uploads/images/89171bb7-678c-4e67-982e-7efc.png

https://forum.reallusion.com/uploads/images/1dd753d3-d6de-4747-a949-f3ab.png

https://forum.reallusion.com/uploads/images/b7cf55a0-5bde-4815-87b0-2170.png


By Kelleytoons - 6 Years Ago
Oh, for a moment I thought it was the Desert Motel station -- my Python routines brought in all the textures properly.

https://forum.reallusion.com/uploads/images/cc8c1af6-6839-4372-8ce9-0813.png

If you have a link to the Daz model I'd be happy to see what's going on with the textures (just where it is on the Daz product page would be fine).




By 3dtester - 6 Years Ago
Thanks for taking the time Mike.
Here's the link: https://www.daz3d.com/fg-gas-station
By Kelleytoons - 6 Years Ago
Ah, yes, Mr. Fugazi.  Well, he's a difficult developer.

If you examine the textures used in his models (but let's just take this particular one) what he does is split up the objects from the scene into separate folders.  For example, the Soda Machine 2 doesn't exist in a general folder (like most Das Devs do), but in the Fugazi1968/FG Gas Station/Soda Machine 2 folder.  What we would like would be to have that Soda Machine 2 folder just be in the general FG Gas Station one because it's the base folder for the object and thus the only place we're looking for stuff.

My Python routines don't consolidate those folders -- would be a difficult proposition to do anyway but wouldn't do a ton more good as located each individual prop/piece still might not work (see some of my other videos to note).  And since the CC3 import through Transformer uses my Python logic, it operates the same way (so you can't get them through there either).

For fun I'm going to play around with this a bit this morning and see if there's any way all of those folders could be automagically smashed together in my routine to make this work (and, if so, I'll see if the CC3 dev can do the same thing for Transformer).  I'll let you know any (or no) progress.


By Kelleytoons - 6 Years Ago
Hmm, now that I look a little further I see there are very few bump/normal maps anyway -- there are a couple (plasterwall, for example) but because it's improperly named (by the Dev) my routine couldn't find it anyway.

There ARE a lot of roughness/metallic maps, though -- did my routine not find them?  Or did you not run it?  I'll have to see if my own routines in iClone can do it first.  I can handle a LOT of things but bad naming by the Dev is not one of them (and never could be -- just WAY too many variables to try and account for).  Let me give it a try and we'll see what happens.
By Kelleytoons - 6 Years Ago
Yeah, my Pythons stuff doesn't work much better.

There are some Daz devs just better to stay away from - unless you just like doing a LOT of work.  In this case you can spend a few hours and get most of the textures back in (although, as I said, FG seldom provides bump/normals -- there are only a handful in there for the hundreds of objects).  As always, I say if there is any Daz item you want me to check out please ask here first and I'll let you know how much work it might be and/or how it will look in iClone.
By 3dtester - 6 Years Ago
Thanks again Mike.
No the roughness/metallic maps didn't come in either.
I only tried it with 3DXchange and CC3, but not your blender script.


By Kelleytoons - 6 Years Ago
No, I was using my iClone python script -- does a much better job than the Blender one but not in this case.

His stuff is just... weird.
By 3dtester - 6 Years Ago
Well, it seems some of these developers care little or nothing about file naming conventions.
For example, why would one call the diffuse map '1.jpg' and the bump map '2.jpg'?
Or, some files have underscores to prevent spaces, and others do not.
That's a complete mess. And what adds to it, is obviously an export problem of DAZ itself.
So i found several threads via google, where people having issues with bump and other maps not being included in the FBX export.

Since CC3 transformer has the ability to detect files based on a variety of patterns, i wonder if it would be better to fix those texture names already on the DAZ side?
https://manual.reallusion.com/Character_Creator_3/ENU/3/Content/Character_Creator_3/3/09_Transformer/Advanced_Conversion.htm#Naming_Regulation
By Kelleytoons - 6 Years Ago
You're suggesting that Daz devs do this?  Or people do this IN Daz?

It would be just as much work doing it in Daz before export (maybe a lot more).  Oh, I guess there is some scripting inside of Daz, but I'm not going into THAT black hole.  Particularly when MOST Daz devs are just fine (there really are a minority who don't play nice with others).  But if someone wants to give it a shot (at a Daz script) I wouldn't mind advising them.  From afar.  Like "there's a good boy" <g>.
By 3dtester - 6 Years Ago
I digged a little further into this and found the main issue on the DAZ side.

Here is what finally worked (to some extent):

1) Moved all textures into one folder
2) Let DAZ relocate them on loading the scene, ignore product errors
3) Converted all Iray shaders to 3Delight ( https://www.daz3d.com/forums/discussion/139326/irayto3delight-conversion-script/p1 )
4) Exported as usual

In CC3 transformer i used basic mode first.
The bump maps came in, and a few roughness / metallic maps as well.
Then, using advanced mode, some more roughness maps came in.

Now that i figured this out, i should be happy.
Not really, because the scene is still messed up with problems.
For example, all pivots are incorrect. Moreover, many props are even completely misplaced.
Also, lots of material properties are missing. No glow maps as well.
I did already fix some of these in my previous attempt.
So what i am thinking about now, is to save all the the materials and load them in the other project.
Is there a python script which saves / loads any or all materials at once?

By 3dtester - 6 Years Ago
Just a last update: it is still a lot of work, even if more textures come in with the set.
Maybe i have to do this hundereds of times until i finally have the clue, but now i'm a big step further.
I'm still having fun at this, as you can see :)

https://forum.reallusion.com/uploads/images/a9b8a678-f77a-49a8-8f3e-9ac6.png

https://forum.reallusion.com/uploads/images/1048fd4c-c5f1-47ba-a3e1-6639.png

https://forum.reallusion.com/uploads/images/a5ed1bcf-3593-41bb-8a19-ba0d.png

https://forum.reallusion.com/uploads/images/0c1630ac-b3c5-43d5-ab14-650d.png
By rdegoede333 - 6 Years Ago
Nice, pushing the enveloppe !
By 3dtester - 6 Years Ago
rdegoede333 (5/9/2020)
Nice, pushing the enveloppe !


Thanks man!

That guy must come into action in some way here...hopefully ;)

https://forum.reallusion.com/uploads/images/7156878e-863b-4e68-aa22-39ef.png