Announcement

Collapse
No announcement yet.

lightcache, irradiance map, and rendering

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

  • lightcache, irradiance map, and rendering

    how about an option where we
    can calculate lightcache and irradiance map
    in certain resolution(for example 640x480), then straight rendering in
    another resolution(for example 1500x1150)? so we can leave it
    without waiting for the irrmap and lightcache to finish calculating,
    saving it, loading it, and then use it for render in bigger resolution?
    Dominique Laksmana

  • #2
    you can do this.

    just render the GI at your smaller resolution, save the files.
    then for the larger rendering, select "from file" and select your previously saved map.

    Maybe sharpen up your AA because the saved map being at a smaller res will look a bit more blurry.

    Comment


    • #3
      sorry, i've just read your post again.

      You mean to set the calculating going at 640x480, then AUTOMATICALLY start the next render going before this data has been calculated.

      You could probably do this through backburner - submit one job to the queue which calculates and saves the IRmap and LCache but doesn't render the final image.

      Then submit another render to the queue WHICH HAS A DEPENDENCY on the previous job completing. Once the first job has finished (and thus rendered the lighting) the second job automatically starts, which has the settings "from file" and points towards the previously saved IRmaps and LCaches.

      This should work.

      Comment


      • #4
        or they could build in a resolution "multiplier"

        Comment


        • #5
          i think my explanation before was a bit unclear.
          so here it is.
          whenever we want to render things like let's say in resolution of
          4000pix width x 2000pix height.... to calculate the irrmap and lightcache in this resolution would be like hours, well, at least in my computer. so... actually, usually what i do is i calculate the irradiancemap and the lightcache at 1/4 times the total area for example if my final render
          would be 4000 x 2000, i would calculate the irrmap and the lightcache without rendering the final image at 2000 x 1000 pix. after that, i save both the result of calculation irrmap file and lightcache file.
          after i save it, i go to irrmap, and lightcache., change the "single" to "from file" then browse the file i saved previously. then, i untick the box "don't final render" under global, then i change the resolution to 4000x2000. then i start to render. then i can sleep. in the morning, my image is ready.

          what i wish for is: It would be very nice, if... we don't have to wait for the irrmap and the lightcache to finish calculating, saving and loading, changing the resolution and render the final image. so in another way,....
          separate the resolution between the [irrmap and lightcache calculations] and [rendering final image], set everything from the start, and we can sleep.

          anyway, it's just a wish... heheh
          Dominique Laksmana

          Comment


          • #6
            read my second post in this thread - does this provide a solution?

            Comment


            • #7
              I think this is what he's trying to avoid - i.e. the extra step of saving the file.

              What you need to do is just set your imap values to correspond to the reduced resolution. If I remember correct, for every doubling of your image resolution, drop your min/max rates by 1. I don't think you need to adjust the LC numbers unless it's set to world scale.
              www.dpict3d.com - "That's a very nice rendering, Dave. I think you've improved a great deal." - HAL9000... At least I have one fan.

              Comment


              • #8
                dlparisi is right: From the help file:
                A value of 0 means the resolution will be the same as the resolution of the final rendered image, which will make the irradiance map similar to the direct computation method. A value of -1 means the resolution will be half that of the final image and so on.
                So, instead of first rendering a 2000x1000 imap for a 4000x2000image, you simply decrease you min/max settings by 1
                Regards,
                Erik N

                "Second to the right and straight on 'till morning!"

                Comment


                • #9
                  Thanks guys!!!! that was a great help!!!! hehehe
                  Dominique Laksmana

                  Comment

                  Working...
                  X