db&w documentation wiki

finest software | finest docs

Site Tools


tools:weave

This is an old revision of the document!


Weave (WiP)

This node is based on the 3dsMax Weave OSL shader.
Developed by Zap Andersson, Copyright 2018 Autodesk Inc, All rights reserved. Licensed under Apache 2.0 license.

Inputs

The Projection input has to be connect to a projection node for the shader to work.

The other inputs correspond to the controls exposed in the panel.

Outputs

Colour

Returns the final output colour of the threads on top of the background colour.

ID

Returns a random ID for each thread

Opacity

Returns the opacity of the threads. If Opacity Fade is set to 0%, this is essentially a mask for the threads. If it set to 100%, it includes the effects of the Round Shadow and the Weave Shadow settings.

Displacement

Returns the displacement due to the threads.

For now, there is no bump or normal output since the original shader doesn't compute it.

Parameters

All of the parameters may be animated or overriden by node inputs, with the exception of the Random Seed, due to performance reasons.

Background Colour

Since the shader renders fibres on top of a background, this allows you to define the background colour.

Scale

The spacing and scale of the fibres. The smaller the scale, the more there are.

U Colour / V Colour

The colour of the fibres along U and V.

Width

The width of the fibres as a percentage to the next fibre.

Opacity Fade

Controls if the Opacity Output will just return the opacity for the threads or the opacity of the threads modified by the Round Shadow and Weave Shadow effects.

Random Seed

This is used as the base for the noise function used to randomise some of the settings, such as Frizz and Bendyness. A different seed will retain the same general style but with different distributions.

Roundness / Weave

Roundness

This tints the fibres to add pseudo-shading to make them look round.

This works in conjunction with Round Shadow, both need to be higher than 0% for en effect to be seen.

Round Shadow defines the strength of the shading, the Roundness how much of the fibre is covered.

Roundness Displacement

Adds this much displacement due to Roundness to the Displacement output.

Round Shadow

Adds a fake, ambient occlusion style shadow to the Roundness shading.

Weave Displacement

Adds this much displacement due to the weaving to the Displacement output.

Weave Shadow

Adds a fake, ambient occlusion style shadow of the top fibres to the ones underneath it.

Frizz / Bendyness

Frizz

This changes the width of individual fibres along their length.

Frizz Displacement

Frizz Scale

This controls the the frequency of the change in width.

Bendyness

This randomizes the width of the fibres.

Bendyness Scale

Controls the frequency of the Bendyness.

tools/weave.1574678507.txt.gz · Last modified: 2019/11/25 11:41 by lightwolf