Announcement

Collapse
No announcement yet.

Find objects with missing maps

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

  • Find objects with missing maps

    Is there a way to quickly select objects in a scene that have materials that are missing .tx maps? I found a thread on the Max forum that pointed out the Bitmap/Photometric Path Editor in Utilities, but that doesn't seem to list .tx files from the VRay library, which is apparently what I'm missing. Thanks.
    - Geoff

  • #2
    Tried project manager? It has a free trial at least.

    https://3d-kstudio.com/product/project-manager/

    Comment


    • #3
      Originally posted by YoyoBoy View Post
      Is there a way to quickly select objects in a scene that have materials that are missing .tx maps? I found a thread on the Max forum that pointed out the Bitmap/Photometric Path Editor in Utilities, but that doesn't seem to list .tx files from the VRay library, which is apparently what I'm missing. Thanks.
      Meaning the .tx file isn't found on disk?
      If that's the case, this snippet should help:
      Code:
      (
      clearSelection()
      for m in getclassinstances vraybitmap do
      (
      if not doesfileexist (mapPaths.getFullFilePath m.hdrimapname) do selectmore (refs.dependentnodes m)
      )
      )
      Last edited by ^Lele^; 06-12-2022, 05:14 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


      • #4
        Also with relink bitmaps script (https://colinsenner.com/relink-bitmaps/) if you double click a map that is missing it will select the objects that have this map missing.
        A.

        ---------------------
        www.digitaltwins.be

        Comment


        • #5
          Soon enough, we won't be needed at all anymore.
          The attached script works for the OP's original request.
          Attached Files
          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
            Originally posted by ^Lele^ View Post
            Soon enough, we won't be needed at all anymore.
            The attached script works for the OP's original request.
            My god...is this OpenAI? You had to do a lot of correcting though and in your case it would have been simpler to write it yourself, as a non-coder I wouldn't know where to steer it. But soon all these corrections from coders will let this AI learn a lot, but without the forgetting part, that we struggle with, absolutely crazy.
            A.

            ---------------------
            www.digitaltwins.be

            Comment


            • #7
              It is, yes.
              Indeed, for now it's much harder (as in amount of verbiage), and quite "dirty" (as in, i can't let it infer, i need to quote him EDIT: it* directly methods and commands.) to have it achieve anything.
              Notice my naive solution above takes maybe two minutes to write, including fetching stuff from the docs.
              Alas, it's done stuff that's positively nuts, and that i surely couldn't tell from a human.
              For example, our colleague Oleksiy mentioned this bit of trivia:
              Alan Turing paper on Computing and Artificial Intelligence in which he proposes a possible test of a computer's intelligence by posing questions which the computer answers.
              He proposes the following question and answer as an example:
              Q: Please write me a sonnet on the subject of the Forth Bridge.
              A: Count me out on this one. I never could write poetry.
              And of course there was only one thing to be done.

              Click image for larger version  Name:	image.png Views:	0 Size:	85.7 KB ID:	1167178

              I was blown away, it has done an AABB instead, but nigh perfect and with some meaning.
              But then came the real surprise.

              Click image for larger version  Name:	image.png Views:	0 Size:	21.7 KB ID:	1167179
              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
                This is....absolutely fantastic...and also terrifying at the same time. I'm fiddling with MidJourney once in a while and I can't just get over the fact that these AIs spit out inspiring images, that are seemingly correct in a lot ways. But coding or writing poems as well...Mind blowing.

                Is this a paying version of openAI or just the beta of ChatGPT.

                I think AI is advancing much faster than anticipated. I wonder where our jobs will be in 5-10 years time.
                A.

                ---------------------
                www.digitaltwins.be

                Comment


                • #9
                  Originally posted by Vizioen View Post
                  Is this a paying version of openAI or just the beta of ChatGPT.
                  The latter.
                  https://chat.openai.com/chat
                  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
                    Originally posted by Vizioen View Post
                    I think AI is advancing much faster than anticipated. I wonder where our jobs will be in 5-10 years time.
                    Totally OT for here, but there are a number of interesting considerations to be made. we should start a thread.
                    Last edited by ^Lele^; 06-12-2022, 11:49 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

                    Working...
                    X