Announcement

Collapse
No announcement yet.

IM reset via Maxscript ?

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

  • IM reset via Maxscript ?

    Hi !
    actually working on GI reuse automation (and more than that, animation wizard),
    i'm trying to know what can be manipulated via maxscript concerning IrradMap reuse/reset..

    Can these buttons be handled via maxscript ? :
    - Save IM
    - Reset IM
    - number of IM samples ?

    For instance, i'm just playing with im modes to simulate these functions, but it's not very handy...

    thanks by advance
    Jérôme Prévost.
    SolidRocks, the V-Ray Wizard.
    http://solidrocks.subburb.com

  • #2
    try 'showmethods renderers.current' in the listener.. i'm pretty sure you can, but dont remember what the command is
    Dave Buchhofer. // Vsaiwrk

    Comment


    • #3
      renderers.current.clearIrradianceMap()
      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


      • #4
        -- Save IM
        -- sets the imap mode to Multiframe Incremental
        renderers.current.adv_irradmap_mode = 1
        renderers.current.adv_irradmap_autoSave = true
        renderers.current.adv_irradmap_autoSaveFileName = ("C:/" + (getfilenamefile maxFileName) + ".vrmap")

        -- Reset IMAP - As stated above
        renderers.current.clearIrradianceMap()

        -- IM Samples - 20 interpolated samples
        renderers.current.gi_irradmap_interpSamples = 20

        -- Sets the hsph to 50
        renderers.current.gi_irradmap_subdivs = 50
        Last edited by MoonDoggie; 15-10-2008, 11:24 AM.
        Colin Senner

        Comment


        • #5
          Wow !
          Thank you guys for your prompt answers..
          Sorry i didn't received my suscripbe mail.. hmm i've to update my cp

          i' think i've all the necessary, now. thanks a lot !
          Jérôme Prévost.
          SolidRocks, the V-Ray Wizard.
          http://solidrocks.subburb.com

          Comment

          Working...
          X