![]() ![]() Making the percentage expression a real need to create believable characters with different levels of strays and percentage masks. Normally xgen has the stray() value where you can define a float to affect just a percentage of the hair, the problem with this value is an unique value, so you can not create different percentages, and if you call the stray() value its always going to be the same. ![]() You can always add a seed value if you need to change the distribution of the hairs being affected. This expression is the combination of a random function with a basic minor than (<) which makes the mask to choose between a random value that is smaller than the $percentage value defined on the slider, were a value of 1 meants 100% and a value of 0 means 0%. On this cases the this expression is really useful. I normally use the percentage mask for flyaway and other basic effects of the noise when I want my mask just to affect percentage of the hairs. When creating a mask, not always is necessary to create a map. On this case we will use the * expression to get a multiplier between the mask and a density mask so we can have more control over the borders of the groom. This will let you merge, add or subtract any values just as the layers operators in Photoshop or any complex composite system. One of the most important and basic expressions is the multiply/divide operation. * Rand Percentage on Maps Basic Expressions Density mask * Mask Expression On this case we will use my personal library of expressions, developed trough trial and error and with the help of amazing artist and developers. Some other useful links Intro to Xgen Expressions. You can find more information on the RenderMan SeeXpr page and of course Autodesk help page with a guide for the available commands and possible usages. And xgen uses this language as part of his core for the different behaviors, noises and patterns. The expressions for xgen are based on seexpr that was developed by the Disney. So after the request from the Patrons on the channel, I decided to make this guide on how to use some of the most basic expressions that will give you more control over the groom. But the comprehensive information about the usage of the expressions, which is one of the most important parts of the software and whats makes it so strong. engines such as Pixar's RenderMan, or creating both Paint Effects strokes and curves. ![]() Xgen is one of the most used groom tools for both professional artists and also students. You should complete this section before creating XGen hair. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |