Announcement

Collapse
No announcement yet.

.jpg to .exr / .tx converter with 8 bit

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

  • .jpg to .exr / .tx converter with 8 bit

    I want to try multi-res exr convertion for memory conservation, but I'm not keen on creating a load of massive 16bit files if I don't need to (or at least my IT manager won't be).

    Has anyone come across a GUI based converter that can output 8bit files? The Vray one can only do 16 or 32bit

    I'm also not handy enough with coding to handle the maketx solutions I've found so far.

  • #2
    Have a look at this, it works really well.

    https://www.pixamoon.com/shop/458756...ng-.../9333016

    Comment


    • #3
      Originally posted by busseynova View Post
      I want to try multi-res exr convertion for memory conservation, but I'm not keen on creating a load of massive 16bit files if I don't need to (or at least my IT manager won't be).

      Has anyone come across a GUI based converter that can output 8bit files? The Vray one can only do 16 or 32bit

      I'm also not handy enough with coding to handle the maketx solutions I've found so far.
      makeTX.exe does just that (which is why we moved away from tiled EXRs, which didn't support 8bpc).
      You can convert with the provided scripts (in the max UI, or the one i prepared, if that one comes without warranty.)
      Lele
      Trouble Stirrer in RnD @ Chaos
      ----------------------
      emanuele.lecchi@chaos.com

      Disclaimer:
      The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

      Comment


      • #4
        Originally posted by ^Lele^ View Post


        You can convert with the provided scripts
        I'm on 3.6, are these bundled with that, or only next?

        I've bought the Pixamoon script already, but it would be good to know for reference.
        Last edited by busseynova; 10-09-2019, 02:50 AM.

        Comment


        • #5
          For 3.x, you'll need to download makeTX from our website (you're also suggested to use this build, not any other found in the web, for best results.), put it into the tools folder of your v-ray installation (f.e.:"C:\Program Files\Chaos Group\V-Ray\3ds Max 2019\tools\"), and use my script as offline converter.

          Next will use makeTX natively from the RMC scripts.
          Both V-Ray versions support the .TX format just fine, in any case, regardless of how they were made.
          Lele
          Trouble Stirrer in RnD @ Chaos
          ----------------------
          emanuele.lecchi@chaos.com

          Disclaimer:
          The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

          Comment


          • #6
            Oops, I already bought the Pixamoon script. No bother, it looks handy in other ways.

            To edit textures, are people editing a tiff, then converting that to .tx? It seems you can't open a .tx in photoshop.

            Comment


            • #7
              Originally posted by busseynova View Post
              Oops, I already bought the Pixamoon script. No bother, it looks handy in other ways.
              far from me telling you you did wrong supporting a fellow scripter!

              To edit textures, are people editing a tiff, then converting that to .tx? It seems you can't open a .tx in photoshop.
              In general, as you well spotted, the conversion to .TX is a post-process to the editing.
              So in theory edit -> publish the (editable?) source in whichever format you prefer -> convert to .TX for rendering.

              Lele
              Trouble Stirrer in RnD @ Chaos
              ----------------------
              emanuele.lecchi@chaos.com

              Disclaimer:
              The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

              Comment


              • #8
                Yeah, the pixamoon guy is great, I think I have all his main scripts now!

                One more thing, I want to test the difference in memory usage between Tiff and tx, what part of the log should I be looking at for memory dedicated to textures (vray 3.6)?

                Comment


                • #9
                  There isn't a memory report for those in 3.x, i'm afraid.
                  What you can do is render the scene before and after .TX conversion, and check the 3dsMax.exe process' allocated RAM in the task manager.
                  Notice that once textures are tiled, they will obey the tiled texture cache size (by default, at 4GB), so make sure to set that to the size of your system RAM (say, 32000), or 0 (i.e. use all available RAM) to avoid capping your effective RAM usage (and incur in some performance penalty as they are swapped in and out of RAM).
                  Last edited by ^Lele^; 12-09-2019, 04:33 AM.
                  Lele
                  Trouble Stirrer in RnD @ Chaos
                  ----------------------
                  emanuele.lecchi@chaos.com

                  Disclaimer:
                  The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                  Comment


                  • #10
                    All good stuff, thanks. I wondered if that was the case.

                    Also I lied: two more questions. Where are the converted maps stored when running the EXR convert in-scene, out of interest?

                    And do you have a script version of the 'convert bitmaps to VrayHDRI'? I want to be able to convert bitmaps on a load of asset files without opening them individually.

                    Thanks Lele!

                    Comment


                    • #11
                      Originally posted by busseynova View Post
                      Where are the converted maps stored when running the EXR convert in-scene, out of interest?
                      Side by side with the originals.
                      And do you have a script version of the 'convert bitmaps to VrayHDRI'? I want to be able to convert bitmaps on a load of asset files without opening them individually.
                      Yeah, the one i linked above does that. Make sure you do not remove the converted files' append string, or the script won't work.
                      Lele
                      Trouble Stirrer in RnD @ Chaos
                      ----------------------
                      emanuele.lecchi@chaos.com

                      Disclaimer:
                      The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                      Comment


                      • #12
                        Help an idiot out, what am I doing wrong here?

                        Comment


                        • #13
                          You need "" to make the string work.
                          In fact, you'd need the @"your\path\with\these\slashes" format, or need to swap the slashes direction around ( / ), or to double them up so they are escape characters ( \\ ).

                          But why are you editing the script, may i ask?
                          Does it error out and not find makeTX by itself?

                          EDIT:Oh, i see. Why not put the makeTX file in the v-ray bin folder? User Rights?
                          Lele
                          Trouble Stirrer in RnD @ Chaos
                          ----------------------
                          emanuele.lecchi@chaos.com

                          Disclaimer:
                          The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                          Comment


                          • #14
                            You mean ....3ds Max 2019\Plugins\vrayplugins?

                            Comment


                            • #15
                              "C:\Program Files\Chaos Group\V-Ray\3ds Max 2019\bin"
                              Lele
                              Trouble Stirrer in RnD @ Chaos
                              ----------------------
                              emanuele.lecchi@chaos.com

                              Disclaimer:
                              The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                              Comment

                              Working...
                              X