Announcement

Collapse
No announcement yet.

Load Irradiance Map

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

  • Load Irradiance Map

    It'd be nice if one could upload an existing IRmap file without hit the render button...I know if not critical and difficult to do it but it'd be nice!!!
    show me the money!!

  • #2
    this doesnt make sence; upload irmap file? where?
    Dmitry Vinnik
    Silhouette Images Inc.
    ShowReel:
    https://www.youtube.com/watch?v=qxSJlvSwAhA
    https://www.linkedin.com/in/dmitry-v...-identity-name

    Comment


    • #3
      what he likely means is this: Say you have a saved irradiance map you want to add to. The only way to truly load it into memory is to choose from file, then render a frame from it, then you can choose 'add to current map' and add irradiance map info to it if you like. I also always thought it was a rather dodgy workflow.
      ____________________________________

      "Sometimes life leaves a hundred dollar bill on your dresser, and you don't realize until later that it's because it fu**ed you."

      Comment


      • #4
        There is a MaxScript command to do this:

        renderers.current.loadIrradianceMap <fileName>

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

        Comment


        • #5
          good to know thanks.
          ____________________________________

          "Sometimes life leaves a hundred dollar bill on your dresser, and you don't realize until later that it's because it fu**ed you."

          Comment


          • #6
            O.k, I wish I knew more maxscript~

            How then would I take this script and have it load an irr map from file (in to memory?) so I could 'incrementally add" to it as a netrender (so that I can make the final render dependent upon it) ?

            Thanks,

            Eric.

            Comment


            • #7
              Originally posted by EricKlein
              O.k, I wish I knew more maxscript~

              How then would I take this script and have it load an irr map from file (in to memory?) so I could 'incrementally add" to it as a netrender (so that I can make the final render dependent upon it) ?

              Thanks,

              Eric.
              Code:
              f = getOpenFileName caption&#58;"Open Irradiance Map&#58;" \
              
              types&#58;"imap&#40;*.vrmap&#41;|*.vrmap|All|*.*|"
              
              renderers.current.loadIrradianceMap f
              Eric Boer
              Dev

              Comment


              • #8
                to make it usable in a net render you actually have to write the above as a .ms script file with your correct paths, and attach the script at the time of sending in the render dialog 'Scripts' rollout (below where you set filename.)


                edit: Erics version is to select the file with a browse dialog, to use in the net render you would include in the .ms file vlado's version
                Dave Buchhofer. // Vsaiwrk

                Comment


                • #9
                  hmm, yeah, sorry missed that heu wanted to netrender
                  Eric Boer
                  Dev

                  Comment


                  • #10
                    Thanks~ this will definately help in a pinch, but it would be great to have an "incremental add to saved map" drop down choice in the future, don't you think?

                    Eric.

                    Comment

                    Working...
                    X