Motion blur?

maxplugins
2007-02-09
2013-05-28
  • maxplugins

    maxplugins - 2007-02-09

    Hi Christopher,

    could you post an example of how to get motion blur working? I just tried to work it out, but didn't have any luck...

    Thanks,

    Dave
    www.maxplugins.de

     
    • Christopher Kulla

      Sure, this is the syntax you will probably want to use (from my one of my test scenes):

      camera {
          type   pinhole
          steps 3
          {
              eye    1.32480752468 -0.944945454597 1.18682229519
              target 0.600796043873 -0.448178946972 0.70825111866
              up     0 0 1
          }
          {
              eye    1.32480752468 -0.944945454597 1.18682229519
              target 0.600796043873 -0.448178946972 0.70825111866
              up     0.1 0 1
          }
          {
              eye    1.32480752468 -0.944945454597 1.18682229519
              target 0.600796043873 -0.448178946972 0.70825111866
              up     0.2 0 1
          }
          fov    49.1343426412
          aspect 1.33333333333
      }

      You may use this with the other camera lens types as well. Eye, target and up vector are free to vary at each step. You can also now specify camera transformation matrices directly using:

      steps <n>
      transform <camera matrix>
      transform <camera matrix>
      ....

      You can also specify camera transforms for the non-motion blurred case (when "steps n" is omitted). The syntax for the <camera matrix> part is the same as for objects. You can give the raw data is column/row major form, or via a series of translate/scale/rotate commands. Let me know if you need more details/examples on that part.

       

Log in to post a comment.