Announcement

Collapse
No announcement yet.

preload into cache via command line

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • preload into cache via command line

    Hello,
    I noticed that any command for preloading in to cache doesnt working while is udes via command line together with --image_layer command

    I have this
    --image_layer="effectsResult:" --layer_preload_into_cache="effectsResult:"
    or
    --image_layer="effectsResult:" --toggle_automatic_preload=1
    or
    --image_layer="effectsResult:" --preload_all_layers​

    non of these works. I'm doing something wrong?
    Thanks
    Last edited by frodopytlicek; 17-03-2023, 04:43 AM.

  • #2
    It seems that the flags related to caching are broken. I'll make a note to fix them.
    Can you tell me what you need to do, so we can make sure it enables the workflow you need?
    F.e. you need to load a sequence, switch to a specific image channel and make sure it's cached? In other words - make a specific AOV sequence ready for playback?
    Or is it something else?
    Alex Yolov
    Product Manager
    V-Ray for Maya, Chaos Player
    www.chaos.com

    Comment


    • #3
      Yes exactly. Open sequence, switch to different channel and cash it. It works without the switching, but I need it because I'm switching to denoiser result instead of default rgb channel.

      Comment


      • #4
        See if something like this helps:

        Code:
        "C:\Program Files\Chaos Group\Chaos Player\chaosplayer_qt5.exe" --attach "C:\path\to\sequence\sequence_.####.exr" --cache_stop_preload --cache_clear --image_layer=":effectsResult" --preload_all_layers


        It seems to work on my end.
        I'm basically loading a sequence, immediately stopping and clearing any cache, then switching the layer to effectsResult and forcing the cache again. The new cache will be forced for the visible image layer.
        Alex Yolov
        Product Manager
        V-Ray for Maya, Chaos Player
        www.chaos.com

        Comment


        • #5
          Its working. Thanks

          Comment


          • #6
            Excellent, thanks for sharing!
            Alex Yolov
            Product Manager
            V-Ray for Maya, Chaos Player
            www.chaos.com

            Comment

            Working...
            X