Announcement

Collapse
No announcement yet.

Displacement override?

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

  • Displacement override?

    Hi Vlado,

    in our works we have a lots of displacement. I set a good (usually 2d) displacement for each mesh. Some 1024, some 512 (for little object) some 4000 for ground etc...

    But for testing we can only enable/disable all displacement. For example, if i want to see a low preview with low displacement I must change each modifier and remenber the good production value. It's very boring work.

    My idea it's something like in this image. Override Displacement with two most important parameter for 2d and 3d displacement. In this way I can very quickly change the displacement value for my test, without loosing the production value, stored in the VRayDisplmodifier.


    Last edited by cecofuli; 06-04-2010, 05:58 AM.
    www.francescolegrenzi.com

    VRay - THE COMPLETE GUIDE - The book
    Corona - THE COMPLETE GUIDE - The book


    --- FACEBOOK ---

  • #2
    Have you tried Master Bercon's Preview script? It has a displacement override as well as many other overrides for creating fast preview settings without having to change your file.

    EDIT: Just checked again, the displacement override is only edge length, not pixels, so it may not work for you if you use 2D more.

    b
    Brett Simms

    www.heavyartillery.com
    e: brett@heavyartillery.com

    Comment


    • #3
      Ohh, yes, thge good old Master Bercon's Preview script . Damn, only edge length
      www.francescolegrenzi.com

      VRay - THE COMPLETE GUIDE - The book
      Corona - THE COMPLETE GUIDE - The book


      --- FACEBOOK ---

      Comment


      • #4
        It's not difficult to write a script which does it..... this is a bit of a bodge... you'll need to edit it a bit,

        first off it holds the max file, it gets all the vray disp mods, looks to see what their values are changes them if they are above a certain value.... changes them if they are.... does a render, then restores the hold file to restore the settings...

        Should allow u to develope something hopefully?

        Looking forward to getting your book in English, no more physical copies available are there?

        Code:
        holdmaxfile()
        
        for o in getclassinstances VrayDisplacementMod do
        (
        if o.resolution > 512 then o.resolution = 512
        if o.edgelength > 4 then o.edgelength = 4
        
        )
        
        Render()
        
        FetchMaxfile quiet:true
        Maxscript made easy....
        davewortley.wordpress.com
        Follow me here:
        facebook.com/MaxMadeEasy

        If you don't MaxScript, then have a look at my blog and learn how easy and powerful it can be.

        Comment


        • #5
          Hi Dave_Wortley,

          thanks. I will try.
          About the book (only digital version) see our site. You found the link in my sign.

          Bye
          www.francescolegrenzi.com

          VRay - THE COMPLETE GUIDE - The book
          Corona - THE COMPLETE GUIDE - The book


          --- FACEBOOK ---

          Comment

          Working...
          X