• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

2 tone color fade

Scheduled Pinned Locked Moved V-Ray
renderpluginsextensions
7 Posts 4 Posters 1.9k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    Philw
    last edited by 28 May 2016, 13:25

    is there a way to do this type of color fade in VRay for sketchUp?
    I have 2 vray VSF Car colors I want to use, but I have not found a way to mix the 2 to get this type of fade between the 2 to get this type of result.
    (Image from Google)


    xxx_large.jpg

    1 Reply Last reply Reply Quote 0
    • P Offline
      pbacot
      last edited by 28 May 2016, 14:34

      Don't you need to create a single texture that has the colors and the blend?

      MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

      1 Reply Last reply Reply Quote 0
      • P Offline
        Philw
        last edited by 29 May 2016, 15:14

        Thought about that but it would just be colors.
        It would not have the "Flake specular" car finish I am looking for. I know in Max I can mix 2 maps and blend the transition between the 2. I have the car finish maps for VRay that some one set up and I am wondering if there is a feature like this in Vray for Sketchup where i can mix maps, so far I have not found this feature in this program.

        1 Reply Last reply Reply Quote 0
        • P Offline
          Philw
          last edited by 29 May 2016, 15:50

          Ok this is what I am looking to do and what got me on this quest to find the solution in VRay for Sketchup.

          I have other personal project I am working on that this would be helpful on.


          Photo


          My 3D model so far


          The Colors I want to mix and control

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdmitch
            last edited by 29 May 2016, 18:59

            @philw said:

            Ok this is what I am looking to do and what got me on this quest to find the solution in VRay for Sketchup.

            I have other personal project I am working on that this would be helpful on.

            Given the RGB of the two colors, you can generate a color gradient using the following code

            mod = Sketchup.active_model
            sel = mod.selection
            clr1 = Sketchup;;Color.new [162,63,42]#change rgb to match first color
            clr2 = Sketchup;;Color.new [198,184,51]#change rgb to match second color
            faces=sel.grep(Sketchup;;Face).sort{|a,b|a.bounds.center.x<=>b.bounds.center.x}
            faces.each_with_index{|f,i|
              clr3 = clr1.blend clr2,1.0-i.to_f/(faces.length-1).to_f
              f.back_material=f.material=clr3
            }
            
            

            color blend.gif

            Nothing is worthless, it can always be used as a bad example.

            http://sdmitch.blogspot.com/

            1 Reply Last reply Reply Quote 0
            • P Offline
              Philw
              last edited by 1 Jun 2016, 12:11

              I will check this out over the weekend.
              Thank you

              1 Reply Last reply Reply Quote 0
              • P Offline
                pilou
                last edited by 1 Jun 2016, 13:08

                Cool! ☀
                colorfun.jpg

                Frenchy Pilou
                Is beautiful that please without concept!
                My Little site :)

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                1 / 1
                • First post
                  3/7
                  Last post
                Buy SketchPlus
                Buy SUbD
                Buy WrapR
                Buy eBook
                Buy Modelur
                Buy Vertex Tools
                Buy SketchCuisine
                Buy FormFonts

                Advertisement