diff options
Diffstat (limited to 'release/scripts/freestyle/styles/haloing.py')
-rw-r--r-- | release/scripts/freestyle/styles/haloing.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/freestyle/styles/haloing.py b/release/scripts/freestyle/styles/haloing.py index 34e4f65cf91..5f8a419b999 100644 --- a/release/scripts/freestyle/styles/haloing.py +++ b/release/scripts/freestyle/styles/haloing.py @@ -31,28 +31,28 @@ from freestyle.predicates import ( QuantitativeInvisibilityUP1D, TrueUP1D, pyIsOccludedByUP1D, - ) +) from freestyle.shaders import ( IncreasingColorShader, IncreasingThicknessShader, SamplingShader, TipRemoverShader, pyTVertexRemoverShader, - ) +) from freestyle.types import Id, Operators # id corresponds to the id of the target object # (accessed by SHIFT+click) -id = Id(3,0) +id = Id(3, 0) upred = AndUP1D(QuantitativeInvisibilityUP1D(0), pyIsOccludedByUP1D(id)) Operators.select(upred) Operators.bidirectional_chain(ChainSilhouetteIterator(), NotUP1D(upred)) shaders_list = [ IncreasingThicknessShader(3, 5), - IncreasingColorShader(1,0,0, 1,0,1,0,1), + IncreasingColorShader(1, 0, 0, 1, 0, 1, 0, 1), SamplingShader(1.0), pyTVertexRemoverShader(), TipRemoverShader(3.0), - ] +] Operators.create(TrueUP1D(), shaders_list) |