Pol圜olorSet -copy -colorSet "color1" -newColorSet "color2" will generate a new unique name based on the source name. Leaving the destination color blank and the command Note if the second color set exist it will be overwriten by Copy values of color set "color1" to "color2" To delete the current color set (if any) To delete a currently existing color set "color3". Pol圜olorSet -rename -newColorSet "color3" Rename the current color set (if any) to "color3". Pol圜olorSet -rename -colorSet "color3" -newColorSet "color4" To rename a currently existing color set from "color3" to "color4". Pol圜olorSet -create -colorSet "perInst" -perInstance true Pol圜olorSet -create -colorSet "perInst" -perInstance true -unshared To create a per-instance color set family with one set member To set the current color set to be "color2". To indicate that the newly created per-instance set should be created withįlag can appear in Create mode of commandįlag can be used more than once in a command. This flag can be used in conjunction with the create and perInstance flags In query mode, it returns a list of the instances that share the This flag is used to modify the sharing of per-instance color sets withinĪ given color set family so that all selected instances share the specified This flag corresponds to the color channels to used, for example To the name specified with the colorSet flag to the name specified using the This flag when used will result in the renaming of the color set corresponding In query mode, this flag can accept a value. not containing instance identifiers) will The perInstance flag canīe used in query mode with the currentColorSet or allColorSets flag to indicate Of the shape unless the unshared flag is used. When you create a per-instanceĬolor set, the set will be applied as shared between all selected instances Whether or not the color set is per-instance. This flag can be used in conjunction with the create flag to indicate The colorSet flag, needs to be renamed to. Specifies the name that the color set corresponding to the name specified with To the name specified with the colorSet flag. This flag when used will result in the deletion of the color set corresponding This returns the member of the set family that corresponds This is a query-only flag for use when the current color set is a per-instanceĬolor set family. When queried, this returns the current color set. This does require that a colorSet with the specified name exist. Work on, to be the color set corresponding to the name specified with theĬolorSet flag. This flag when used will set the current color set that the object needs to IfĪ color set with that name already exists, then no new color set will This flag when used will result in the creation of an empty color setĬorresponding to the name specified with the colorSet flag. To the name specified with the newcolorSet flag To name specified with the colorSet flag to the colorSet corresponding This flag when used will result in the copying of the color set corresponding This flag has to be specified for this command to do anything meaningful Specifies the name of the color set that this command needs to work on. This flag specifies if the color set will truncate any value that is This flag when used in a query will return a list of all Keywordspoly, colorSet, currentColorSet, renameColorSet, deleteColorSet, cop圜olorSet, createColorSetįlags allColorSets, clamped, colorSet, copy, create, currentColorSet, currentPerInstanceSet, delete, newColorSet, perInstance, rename, representation, shareInstances, unshared Long name (short name) In query mode, return type is based on queried flag. query the representation value or clamped value of the current color set query the name(s) along with representation value(s) modify sharing between instances of per-instance color sets set the current color set to a pre-existing color set. Pol圜olorSet is undoable, queryable, and editable.Ĭommand to do the following to color sets: I found that maya bonus tools used to include a node cvColorShader that allowed vertex color to be read but that seems to have been deprecated and is no longer available in maya 2019 or 2020.Go to: Synopsis. So far I've tried tapping the objects shapeNodeĬĬ (and G and B)Īlso looked at making a custom attribute paintable as per: īut that does not allow me to get the data out and into a shading node that effects the viewport. Real time is the big one here, I can paint maps in maya/other software and then export them as textures and use them to drive the amount of displacement, but I'm looking for instance feedback. Looking to drive amount of displacement using custom painted attribute/vertexPaint color data to review the changes in real time. Setup: Displacement map is applied to object, maya can show preview of displacement in viewport.
0 Comments
Leave a Reply. |