Announcement

Collapse
No announcement yet.

vray drops textures after "too many open files" error

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

  • vray drops textures after "too many open files" error

    i have a shot with lots of textures in tiled exr format. it drops texturemaps randomely with error message like below;

    V-Ray warning: bitmap file "image1.exr" failed to load: error in file format
    Cannot read image "image1.exr". Too many open files.
    V-Ray warning: bitmap file "image2.exr" failed to load: error in file format
    Cannot read image "image2.exr". Too many open files.
    V-Ray warning: bitmap file "image3.exr" failed to load: error in file format
    Cannot read image "image3.exr". Too many open files.
    ....

    i checked each texure file and the file itself is fine. i tried to reduce memory consumption with dynamic mode with smaller memory. or the other way with enough memory setting. all fails. so basically increasing memory allocation or decreasing it didn't help in this case so far. i mean the render doesn't fail. it finishes with dropped textures. when i do a small region render, texures don't get dropped. so i wonder if there is a good way to specify region by pixel numbers so that i can join those partial render afterwards. i can do manually of couse, but that's very inconvenient and inaccurate for later join. i want to export each region to vrscene format sequence. any idea will be highly appreciated.

  • #2
    Are you on Windows? If yes, get a newer nightly build, this solved there. If not, you will have to increase the maximum file handles for your OS; different Linux distributions have different ways to do that.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      thanks for the reply. i'm on windows 7. i gave up on nightly after a couple of requests unanswered long ago. i think i need to find how to adjust OS setting. i still want to know if i can do accurate region render with vray for maya if there is a way. editing vrscene manually can't be an option since i have to deal with lots of frames.

      Comment


      • #4
        Originally posted by xoy View Post
        thanks for the reply. i'm on windows 7. i gave up on nightly after a couple of requests unanswered long ago. i think i need to find how to adjust OS setting.
        Unfortunately you cannot fix this with any adjustment on Windows - the problem is in the OpenEXR library code. You need a newer build of V-Ray.

        i still want to know if i can do accurate region render with vray for maya if there is a way. editing vrscene manually can't be an option since i have to deal with lots of frames.
        First remove any region in the .vrscene itself (the rgn_left/rgn_width/rgn_top/rgn_height and r_left/r_width/r_top/r_height parameters of the SettingsOutput plugin), and then use -region or -crop command line options for V-Ray Standalone.

        Best regards,
        Vlado
        I only act like I know everything, Rogers.

        Comment


        • #5
          this particular problem is bound to exr's, if you use .tx it will be fine.
          Dmitry Vinnik
          Silhouette Images Inc.
          ShowReel:
          https://www.youtube.com/watch?v=qxSJlvSwAhA
          https://www.linkedin.com/in/dmitry-v...-identity-name

          Comment


          • #6
            so it is EXR issue. i don't think i can recovert all textures to tx format at this point, but it's good to know. vlado, i know that vray standalone has that flag available for actual image rendering. what i wasn't sure was how to apply that region render options for exporting vrscene. then again, it might be wasteful way to do region render after all. it could be convenient at times though.

            Comment


            • #7
              by the way, there is no official windows release that takes care of this issue yet, right? i use vray 2.20 for maya 2012 on windows 7.

              Comment


              • #8
                Originally posted by xoy View Post
                by the way, there is no official windows release that takes care of this issue yet, right? i use vray 2.20 for maya 2012 on windows 7.
                Not that I'm aware of.
                Dmitry Vinnik
                Silhouette Images Inc.
                ShowReel:
                https://www.youtube.com/watch?v=qxSJlvSwAhA
                https://www.linkedin.com/in/dmitry-v...-identity-name

                Comment

                Working...
                X