Announcement

Collapse
No announcement yet.

Capture rendering image from Vray frame buffer at regular interval

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

  • Capture rendering image from Vray frame buffer at regular interval

    Hi,

    Can I get jpg file at regular interval from vfb while rendering? I am developing a cloud rendering solution and wants to send rendered image back at regular interval.

  • #2
    Yes, you can use the VRayRenderer.getImage() method for that. The interval timer needs to be your own. Note that you might get identical images if you call getImage too often.
    Nikola Goranov
    Chaos Developer

    Comment


    • #3
      means instead of using VRayRenderer.waitForImageReady, I should start timer with some interval at VRayRenderer.on('start') event and call VRayRenderer.getImage() on timer function?

      Comment


      • #4
        Yes, you need something like that.

        waitForImageReady will wait for the render to fully complete (or stop due to error etc.)
        Nikola Goranov
        Chaos Developer

        Comment


        • #5
          Can the same thing achieved using VRay standalone command line options without using App SDK ?

          Comment


          • #6
            No, vray.exe will only output the final image. It can't output intermediate results.
            Nikola Goranov
            Chaos Developer

            Comment

            Working...
            X