Weird issue with Scene Optimizer not reducing hair

in The Commons
Been using Scene Optimizer more often lately to speed up renders, but I've run into a bit of an issue now that I'm rendering human models. It really doesn't want to set lower resolution maps for hair. I've saved and reloaded to see if that helps, but it doesn't. It has no issue setting lower resolution maps for everything else... but my hair is always at 4096 no matter what I do, and takes a long time to render. Anyone else have this issue? I searched but nothing came up.
Comments
What hair product are you using? Is it polygonal hair or dForce hair?
Are the maps jpg or png? if png, did you check the Scene Optimizer checkboxes to process png files?
Where are the png checkboxes? I know I have had this issue with OOT hairs but I don't remember what I did about it. The textures on the OOT hair that I pulled up appear to be all .jpg but I am curious about this setting you mentioned.
So I pulled up a couple of hairs by OOT, which has caused this issue in the past. I ran Scene Optimizer and according to the script, the process finished. But Scene Optimizer also was saying that the textures were the same size or only half reduced. But after saving the file, closing Daz, letting it finish dumping its memory, and opening the scene back up, I found that the textures were indeed reduced, even if Scene Optimizer didn't seem to know it. In the surfaces tab, you can see the textures have been renamed with 1000x1000 or 2000 x 2000 or whatever. Checking properties showed that the name does reflect the true size of the textures. I don't know why it is still taking OP a long time to render. I guess you could try removing the bump or normal maps and seeing how it looked. You could also try turning subd on the hair to zero.
I would let 3Dvigitimes know about Scene Optimizer failing to update hairs over in the Scene Optimizer thread found here: https://www.daz3d.com/forums/discussion/164851/march-2019-update-scene-optimizer-commercial/p9 . She is really good about supporting her products.
You'll need to read the Scene Optimizer documentation to understand the complexities of handling PNG files. I usually check these two boxes.
@barbult Thanks. I will look into that.
I checked Martha's Everyday Bob for Genesis 3 and 8 Females. The largest map was 8000. After running Scene Optimizer with a selection of 2X, the interface correctly showed the largest map was 4000. I didn't have to close DS or restart it to see this result. I used Map Manager (another V3Digitimes product) to get a summary of all maps used after Scene Optimizer. They all had the dimension numbers on them and all were the size specified. As far as I can see, Scene Optimizer is working correctly.
To get the render time saving benefit of the Scene Optimizer smaller files, it IS necessary to save the optimized file, close DS and reopen DS and the saved file. If you don't, DS keeps the old full size maps in memory and uses those. This is explained in the documentation and the pop up info of the Scene Optimizer.
That's weird because the OOT hairs use jpg and I almost always find that Scene optimizer doesn't update the interface correctly. So I don't know why that doesn't happen to you, unless it also has to do with the checkboxes you mentioned.
Ha! Yeah, that did the trick. It works correctly when those boxes are checked. That'll teach me to skim the documentation. (And I'm using 4.12)
Same here! Thanks, Barbult! I appreciate it.
I'm back at my computer now and I tried Scene Optimizer without checking the two checkboxes. It still updated the interface correctly for me. I wonder if your problem has to do with running an older version of DS.
Just so you know, for me checking just the bottom box of those two is usually sufficient.
I always check the two boxes highlighted above, but you should be aware that this can cause an issue in certain very rare case. The only times I have seen this is when a mask is used in the defuse overlay channel, often as part of adding eyebrows to a texture. These are typically pngs, and when resized it can cause the whole face to go black. To fix you need to restore the original sized png on the diffuse overlay.
Most pngs can be resized safely, but in these cases it can cause a problem, so you need to be aware of them.
@barbult I have 4.15 too so I will try it later there if I remember.
@bluefingers / @Havos : Thanks for the heads up.