4.14: Environment maps reset to default on load
hadavar
Posts: 25
Every time I load any scene, the environment map is set back to the default setting, no matter how I saved it. Anybody know how to get Daz to stop doing this?
Thanks.
Comments
Are you opening, rather than merging, the scene? Did it save render settings?
Yes, I'm opening the scene. It restores all render settings except for the Environment Map texture (and possibly the numerical value; I don't usually mess with that, so I haven't checked it), which it resets to the default, some image associated with one of the tutorials.
I'm not getting this with scenes, so I'm not sure why it would vary. Does the scene contain Environment and Tone Mapping nodes after you load it?
The fact that I'm seeing it and you're not is already valuable data, so thanks for sharing that. Yeah, both nodes are in the scene. The map is just... reset.
I'll dig through the program's options and see if I can find anything that might indicate why this is happening. Thanks.
Oh, you deleted the offending "Ruins" map, and that resolved the issue? Great idea. Thanks.
I developed a product that uses the environment settings and now it looks like I have to can it. I can see that if I open a saved scene and delete the default HDRI from render settings that my products' settings are all there, saved. I don't want users having to do this though.
ok so I did some testing, saving the scene just plain ignores the environment map channel if the image has no value/is null. (this is on version 4.15.0.14 public beta)
you can get around this though in an elaborate round about loading method for your product, save the render settings of an empty scene with the hdri removed (just the environment map) as a render settings preset
then select the environment node, edit>Object>element data> add, add the render settings as a post load item, then save the environment node as a figure/prop asset.
have the product be the figure/prop asset version of the environment node (assuming its not script based although you might be able to achieve the same through scripting but I havent tried)
when the user saves the scene, your modified environment node is saved with the link to the post load of the render settings with the null image map, and on loading it'll remove the default hdri.
All the other environment settings should remain the same.
Adding a note for the historical record: I deleted the Ruins file as well, saved all my various scenes and such without it, and thought I was good. Then, the other day, I found the Ruins file had returned. I haven't yet determined whether downloading a DAZ update re-installs the Ruins file (I'm on 4.20 as I write this), but I suspect that's the likeliest culprit. Not only did the file return to its location in a folder, but it re-added itself to images with no environment, which is particularly infuriating.
All this to say, even deleting the Ruins file may not be a permanent solution. Chalk it up to another issue DAZ will get around to fixing...any day now...fingers crossed...