Random Vertex Painter

Discussion in 'Track Modding' started by Mario Morais, Oct 16, 2012.

  1. Mario Morais

    Mario Morais Registered

    Joined:
    Oct 26, 2010
    Messages:
    1,465
    Likes Received:
    169
    This script can paint the “Vertex Colors” randomly.

    Version 1.1

    Install:
    This is a Macro script just drag and drop in viewport and go to “customize user interface” and look in “Category:MMtools”

    Description and method of use:

    “Selected Colors”
    It uses two colors as a reference for random values. ( Min and Max)
    Click in square color box to select the color or can paste(RMB) the color.
    Option “use Alpha” can select alpha channel. I think this is never used (is available you never know.)
    Option “Only gray” allows you to select only gray colors. (useful to paint vertex alpha)

    “Random Color Channel”
    Select the color model channels to apply (RGB or HSV)

    “Random channels”
    choose the channels will random

    “Vertex Channel”
    Select the channel to paint (Color, illumination or Alpha)

    Option “display” display vertice color in Viewport
    Option “shaded ” display vertice shaded in Viewport
    This options is the same in object properties.

    Object: The same color is applied to all vertices of each selected object
    Element: The same color is applied to all vertices of each Element of each selected object
    Face: The same color is applied to all vertices of each Face of each selected object
    Vertex: A diferent color is applied to all vertices of each selected object.

    Note: For now only works with Editable-poly.

    If you want to paint vertex by a texture you can use "Texture scutter" now have "paint vertex" button.


    Download v1.1


    [​IMG]
     
    Last edited by a moderator: Oct 23, 2012
    1 person likes this.
  2. K Szczech

    K Szczech Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,720
    Likes Received:
    45
    Good one, thanks.
    Perhaps you could allow defining radius and softness of brush - that would make it even better.


    Let's hope modders will use it to increase variety of terrains and to make terrain darker under trees - it really adds to realism and it's not too much work.
     
  3. Luc Van Camp

    Luc Van Camp Track Team Staff Member

    Joined:
    Oct 4, 2010
    Messages:
    1,030
    Likes Received:
    15
    This script isn't a brush tool. Instead, it is mainly useful to paint in subtle random variation on single trees (billboards, leafcards), or other objects like traffic cones. Subtlety is key though. A range of 245-255 would already make a big difference, enough to be noticed by the human eye, without it staring at you.

    Thanks for the script ;) .
     
  4. Mario Morais

    Mario Morais Registered

    Joined:
    Oct 26, 2010
    Messages:
    1,465
    Likes Received:
    169
    Thanks Luc.

    The RGB option is not forgotten :)
     
  5. feels3

    feels3 Member Staff Member

    Joined:
    Sep 4, 2011
    Messages:
    1,201
    Likes Received:
    142
    Thnaks Mario for script.

    I didn't try this yet. Is it works with 3ds max 2012?
     
  6. Jka

    Jka Member Staff Member

    Joined:
    Jan 31, 2011
    Messages:
    954
    Likes Received:
    213
    Nice one, Mario. Thanks! :)

    Cheers!
     
  7. Mario Morais

    Mario Morais Registered

    Joined:
    Oct 26, 2010
    Messages:
    1,465
    Likes Received:
    169
    i test in max 2010. But i think work in 2012. if you get errors post it..
     
  8. Mario Morais

    Mario Morais Registered

    Joined:
    Oct 26, 2010
    Messages:
    1,465
    Likes Received:
    169
    If you want to paint vertex by a texture you can use "Texture scutter" now have "paint vertex" button.
     
  9. Mario Morais

    Mario Morais Registered

    Joined:
    Oct 26, 2010
    Messages:
    1,465
    Likes Received:
    169
    new version v1.1

    Can chose RGB or HSV.
     
    Steve76 likes this.

Share This Page