Scene optimizer - How to restore back the texture?

JamesJames Posts: 1,042
edited September 5 in Daz Studio Discussion

I run the "scene optimizer" product.

At first everything seems ok, but there are some textures that show the size seem doesn't change. So I keep lowering them a few times until I realize the texture maps becomes very small. And I had alot of texture maps in diffrent sizes..


I want to restore back the original. But I don't understand how to use the script to restore. It's aksing for a file.

Post edited by James on

Comments

  • LeanaLeana Posts: 11,714
    edited September 5

    Did you "store" the texture map state before optimizing?

    The "store" script generates a file which lists which texture was used on what surface when you run it.

    The "restore" scripts use a "storage file" that you have to select to know what it needs to restore.

    Post edited by Leana on
  • JamesJames Posts: 1,042
    edited September 5

    Did you "store" the texture map state before optimizing?
    Nope.
    Is it too late if I didn't do it in the first place?

    Is there a  way to reset texture back to original, then.
    Cos I've build a large set.

     

    Post edited by James on
  • LeanaLeana Posts: 11,714

    The "restore" scripts won't work without a storage file.

     

    If you don't have a backup of the scene or a storage file listing the textures "pre-optimization", you will probably need to reapply the original materials to each item you want to reset.

     

  • crosswindcrosswind Posts: 6,969
    edited September 5
    If you didn't save the scene file, just reopen it... If you did save the scene file, open it with Notepad++, you should see there are suffix of image size in the file name of each texture map. Then remove the suffix string by replacing them with ''(empty). Then all the original texture maps should be back.
    Post edited by crosswind on
  • jjoynerjjoyner Posts: 617

    James said:

    I run the "scene optimizer" product.

    At first everything seems ok, but there are some textures that show the size seem doesn't change. So I keep lowering them a few times until I realize the texture maps becomes very small. And I had alot of texture maps in diffrent sizes..


    I want to restore back the original. But I don't understand how to use the script to restore. It's aksing for a file.

    V3Digitimes, the Scene Optimizer creator, answers the same question for a user who asked it in the Scene Optimizer [Commercial] forum on August 31:

             https://www.daz3d.com/forums/discussion/164851/scene-optimizer-commercial#latest

    The WP Guru made an excellent video demo about using Scene Optimizer on his YouTube channel two years ago.  I recommend watching it for anyone interested in getting started with Scene Optimizer.

             Using the Scene Optmizer in DAZ Studiohttps://www.youtube.com/watch?v=cNy_OaMXuqM

  • charlescharles Posts: 846
    edited September 5

    I'm not a fan of this, it can lead to headaches like the OP has experienced. Plus it will bloat your drive with the extra textures which can also lead to other issues later down the road. Is it not more ideal to use the built in Advanced Render Setting Texture Compression? Where your textures will be compressed as they sent to the process for rendering and doesn't effect the originals in the scene.

     

     

    Post edited by charles on
  • crosswindcrosswind Posts: 6,969

    charles said:

    I'm not a fan of this, it can lead to headaches like the OP has experienced. Plus it will bloat your drive with the extra textures which can also lead to other issues later down the road. Is it not more ideal to use the built in Advanced Render Setting Texture Compression? Where your textures will be compressed as they sent to the process for rendering and doesn't effect the originals in the scene.

    They are different things ~~

    Texture maps with different resolution (pixel size) consume different VRAM... e.g. theoretically a 4K texture map (4096x) consumes 64MB VRAM, when rendering, Iray engine gives it appr. 75% compression by the feature "Texture Compression", then VRAM consumption will be reduced to appr. 16MB.

    While Scene Optimizer firstly downsizes the 4K map to 2K, so the initial VRAM consumption is 16MB, then the consumption will be appr. 4MB after the process of "Texture Compression" is done.

    Lots of folks have already well set the thresholds in Texture Compression but still get fallback to CPU, that's the pimary reason why they have to go for using SO ~~

  • charlescharles Posts: 846

    Ok got so over high threshold is 75% compression? any idea what the medium is?

  • crosswindcrosswind Posts: 6,969
    edited September 5

    charles said:

    Ok got so over high threshold is 75% compression? any idea what the medium is?

    As far as I experiment thru DS versions, appr. 60 ~ 65% compression ratio for Medium.

    BTW, in latest DS PB, there's a new way of setting Texture Compression and an Off option is given, so if folks are not short of VRAM, just simply set it as Off to disable any texture compression.

    Post edited by crosswind on
  • charlescharles Posts: 846
    edited September 6

    Off! sweet, because here was mine..yeah like I really need to compress with a q8k

    but it's always good to have options and know what they are.

    yeah I push it too to make some crazy detailed stuff.

     

    Untitled-12.png
    867 x 863 - 47K
    Untitled-13.png
    282 x 179 - 20K
    Post edited by charles on
  • crosswindcrosswind Posts: 6,969

    It's my "routine settings"... if there's no potential fallback.  Without any compression, rendering gets faster from very beginning.

    SNAG-2024-9-6-019.png
    495 x 1294 - 67K
  • charlescharles Posts: 846
    edited September 6

    oh yeah my next upgrade is definantly a6000, does that setup play well together with the 4090? I mean are you limited when packing a scene up to the GPU to the one with the lowest VRAM? I strictly use my 4090 for display and gaming.

     

    Post edited by charles on
  • JamesJames Posts: 1,042

    crazy gpus....

  • crosswindcrosswind Posts: 6,969

    charles said:

    oh yeah my next upgrade is definantly a6000, does that setup play well together with the 4090? I mean are you limited when packing a scene up to the GPU to the one with the lowest VRAM? I strictly use my 4090 for display and gaming.

     

    So far so good ~ but sometimes I switch the display card when playing games , ho~

  • JamesJames Posts: 1,042

    @crosswind
    what kind of PSU are you using to feed those monsters?

  • crosswindcrosswind Posts: 6,969
    James said:

    @crosswind
    what kind of PSU are you using to feed those monsters?

    A SUPER FLOWER 2000W PSU.
  • PadonePadone Posts: 3,688
    edited September 9

    When rendering with iray, it seems to use much less resources if I render as photoreal in the viewport, compared to the same rendering in a render window the same size and settings. I suspect in the viewport iray use the drivers to swap textures from ram to vram, the same as opengl does, while in a render window it can't. This technique can avoid the scene optimizer all together, if the viewport size is enough for your purpose.

    Post edited by Padone on
Sign In or Register to comment.