Texture Scatter Triplanar X1

Features ›› Nodes ›› Procedural Nodes ›› Environment Nodes ››
Parent Previous Next

Texture Scatter Triplanar X1 by Jens Kafitz









Texture Scatter Triplanar X1 is a complex seamless texture bombing node, working in 3D Space.




Tips




DO NOT KEEP LIVE UNLESS CACHED OR HIDDEN


Texture Scatter 2D Nodes are meant to be converted to paintable layers.

Due to their impact on viewport performance it is absolutely not recommended to keep them live unless cached or hidden.




It is recommended to complete your basic settings with a lower layer count, then up the count as a last step.




This is due to the much more random distribution of textures when not creating tileable textures.




Videos


A full demo & tutorial for an older version of one of the 2D Versions of this node (still fully applicable) is available here:




Updates with MARI Extension Pack 4 are covered here


Node Overview



Node Ports


Allows you to overwrite the Triplanar Alignment of the Node with a manifold 3D node


Allows you to overwrite the Edge Falloff Attributes of the Texture Maps in the Scatter with a Node Connection


TIP


Try mapping the edges with values over 1 to get a more pronounced contrast in the falloff



Allows you to overwrite the Edge Softness Attributes of the Texture Maps in the Scatter with a Node Connection


Allows you to overwrite the Edge  Roudness Attributes of the Texture Maps in the Scatter with a Node Connection





MAPPING EDGE SETTINGS DOES NOT SEEM TO WORK ?


Please note, that any value fed in through the Edge Ports on the Node is still multiplied

against the corresponding Edge Slider in the Texture Groups of the Node.


If the Slider is set to 0 any Node connected to the corresponding Edge Port won't have an effect.





Node Properties


Base Color


If on, the background will be filled with the Base Color


The Base Color to use for filling the background if Use Base Color is checked


Texture Map


The Texture Map to be used for each slot. Transparency is supported.



Inverts the Texture Map used in the respective Texture Slot.


Determines the way the alpha of the texture slot should be evaluate:


The Transparency in your loaded texture map is used


The Luminance of your loaded texture map is used as Alpha.

Black is transparent.


The inverted Luminance of your loaded texture map is used as Alpha.

White is transparent.



Allows you to set per texture how much of the random Hue & Saturation Shift should be mixed in.

This is helpful to keep one of your maps closer to their original color without loosing variation on the other maps.


Allows you to set per texture how much of the random Value Shift should be mixed in.


Will contract the edges of your loaded textures. This attribute can also be mapped via the Nodegraph.

Please note that in this case this slider will act as a multiplier.


Will feather the edges of your loaded textures from the start of the Edge Falloff to the centre of your texture.

This attribute can also be mapped via the Nodegraph. Please note that in this case this slider will act as a multiplier.


Switches the Falloff from Square (0.0) to Radial (1.0).

This attribute can also be mapped via the Nodegraph. Please note that in this case this slider will act as a multiplier.




Triplanar Settings


The Triplanar Settings control the projection of the texture scattering in 3d space.

The settings are similar to a regular Triplanar Node found in Mari.


Will increase the size of the projection.

This is a very similar effect to changing the UV Repeat in the UV Settings.


Will change the rotation of the Triplanar 'Projection Cube' in space.

This should not be confused with changing UV Rotation which will rotate the projected image on

each side of the projection.


Projection Rotate is useful if your asset is not perfectly aligned in the main world space axis X Y and Z

and you see projection stretching as a result of it.


Sample of rotating a projection in 3d space. While this example is using

an Axis Projection Node the concept is the same for the Texture Scatter Triplanar Node



The Edge Falloff Start determines the minimum angle where the projection

starts to be fully opaque


The Edge Falloff End determines the maximum angle where the projection

starts to be fully transparent


The Edge Falloff Curve determines the general Falloff of each projection axis to its sides.

This is similar to adjusting the Edge Falloff Start and Edge Falloff End Sliders however

it allows you to create non-linear edge blending



UV Settings


Modifying UV Settings does not negatively impact performance since it is run on the finished 'scattered' result.


Will repeat the result of the scattering x-amount of times.


Will scale the result of the scattering along U.


Will scale the result of the scattering along V.


Will rotate the result of the scattering for all axis of the Triplanar Projection


Will rotate the UVs just along the X-Axis of the Triplanar Projection.


Will rotate the UVs just along the Y-Axis of the Triplanar Projection.


Will rotate the UVs just along the Z-Axis of the Triplanar Projection.


Will offset the result of the scattering along U.


Will offset the result of the scattering along V.


Cell Density


Other than modifying the UV Settings, changing the density will create more 'unique' cells.


Determines how many cells will be filled with a texture. Overlap between cells is minimal.

Cells are generated regardless so increasing this value does have a large negative impact on your performance.


The amount of times the texture bombing runs. Increasing layer count will cause cells to overlap each other so it is

great for creating chaotic distribution such as fallen leaves.


It is recommended to complete your basic settings with a lower layer count, then up the count as a last step.


Values outside the slider range


If you have to, you can enter numbers outside the slider range to get even more layers


Clumping will remove textured cells to create clusters of features.

This Clumping slider is a global multiplier on the Clumping Sliders under groups 'Texture Map A' , 'Texture Map B' etc.

Please note that turning the Force to Tilable Mode off will result in a change in clumping behavior.

Due to the more random distribution of this mode, clumping will be a lot less pronounced.


Effects of Clumping with 'Force to Tilable' on (left) and off (right):


Determines the size of the Noise to be used to generate the cells and acts a little like a 'Seed' value.

Depending on your settings, density of textures might change a little.


With Force to Tileable turned on you will create a perfectly tileable texture when using it on a plane with full uv coverage

(such as a plane created in Maya).


Turning it off will change the internal algorithm that is used to place textures, applying an offset for each added layer.

This will create more random distribution but will no longer be tileable.


Please note, depending on your entries in the UV Settings Group it is still possible that the result may no longer tile.


Cell Scale


Scene Size is a multiplier for the Scale Values below allowing you to compensate for large or small scene sizes

by effectively changing the slider ranges.


The Scale of each texture's gridcell


The Size of each texture within a gridcell


Cell Scale Randomization


Introduces random scaling of textures.

This will not rescale the original grid cell but will just change the size of the texture within in the cell.

This can lead to gaps in your coverage.


A percentage of all generated textures that should be kept at original size, set under 'Global Scale' Group.



Cell Rotation Randomization


Minimum Rotation of each texture within its cell.


Maximum Rotation of each texture within its cell.


HSV Shift


Different from the Layer Blend Mode, this determines how the cells are blended together between each other.


The minimum and maximum hue shift variation in degrees on a color wheel.


The minimum and maximum saturation variation.


The minimum and maximum value variation.


Some Cell Blend Modes such as Add can cause combined values of cells to go over 1.0. Clamp will clip the

resulting values below 0.0 and above 1.0


A global value shift on all textures. This is very useful together with Layer Attenuation to control Value buildup for bump or

displacement maps.

Note that Value Shift Mix on each each texture slot needs to be at 1.0 for it to have full effect.


The Value to be incrementally added or subtracted to the previous value for each Layer added on top.

This is great introduce changes on a per layer level so that features that are buried deeper have a darker value than the ones

on top. Use Value Offset to globally add or remove value.

Note that Value Shift Mix on each each texture slot needs to be at 1.0 for it to have full effect.


Effect of Layer Attenuation - Lower layers remain constant in value, upper layers get lifted


A randomization value for Hue / Saturation + Value Shift.




Windows Users - avoiding Display Driver time outs


Unfortunately on Windows the Texture Scatter can let your display drivers time out during baking / flattening

when high Layer counts in the Node are set. This can happen even on the most high-end video cards

due to the hugely expensive texture bombing operations being run.


The 'crash' is the result of an automated 'timeout' setting in your windows registry after which Windows determines

your display driver is unresponsive -- even if it is in fact just busy with a complex operation.




Working around the display driver timeout:


a continuous signal so it doesn't time out.




You can turn it back to default (1024)  after you are done with the bombing procedure or leave it as is.









Notebook Users - plug in !


During my tests I noticed that a notebook that is operating on battery power can also throw the

display driver crash during flattening, regardless of the 'Max Render Size for Baking' setting.


I am assuming this is due to the Video Card not receiving enough power for the operations

required. Find a power plug or change your Power plan to 'High Performance'.




Disabling Windows Display Driver TimeOut completely:


It is possible to completely turn off the windows display driver time out.

This requires adding a parameter in your windows registry:




This name needs to be exact in order for windows to pick it up.






After reboot Windows will no longer reset the display driver no matter how long the operation lasts.



Created with the Personal Edition of HelpNDoc: Easy Qt Help documentation editor