Blender Git Loki

Git Commits -> Revision 6498b96

Revision 6498b96 by Tamito Kajiyama (master)
January 28, 2014, 14:33 (GMT)
Reorganized the Freestyle Python API in a hierarchical package structure.

Both C- and Python-coded API components were rearranged into logical groups.
New Python modules are packaged as follows:

freestyle - Top-level package
freestyle.types - Classes for core data structues (e.g., view map)
freestyle.chainingiterators - Pre-defined chaining iterators
freestyle.functions - Pre-defined 0D and 1D functions
freestyle.predicates - Pre-defined 0D and 1D predicates
freestyle.shaders - Pre-defined stroke shaders
freestyle.utils - Utility functions

The Python modules are installed in scripts/freestyle/modules. Pre-defined
styles are installed in scripts/freestyle/styles.

To-do: update styles according to the new Freestyle API package structure.

Commit Details:

Full Hash: 6498b96ce7081db039354228213d72e8c70bd3aa
Parent Commit: df47136
Lines Changed: +5783, -5638

47 Added Paths:

/release/scripts/freestyle/modules/freestyle/chainingiterators.py (+716, -0) (View)
/release/scripts/freestyle/modules/freestyle/functions.py (+197, -0) (View)
/release/scripts/freestyle/modules/freestyle/predicates.py (+516, -0) (View)
/release/scripts/freestyle/modules/freestyle/shaders.py (+1249, -0) (View)
/release/scripts/freestyle/modules/freestyle/types.py (+81, -0) (View)
/release/scripts/freestyle/modules/freestyle/utils.py (+24, -0) (View)
/release/scripts/freestyle/modules/freestyle/__init__.py (+21, -0) (View)
/release/scripts/freestyle/modules/parameter_editor.py (+1390, -0) (View)
/release/scripts/freestyle/styles/anisotropic_diffusion.py (+44, -0) (View)
/release/scripts/freestyle/styles/apriori_and_causal_density.py (+39, -0) (View)
/release/scripts/freestyle/styles/apriori_density.py (+37, -0) (View)
/release/scripts/freestyle/styles/backbone_stretcher.py (+35, -0) (View)
/release/scripts/freestyle/styles/blueprint_circles.py (+42, -0) (View)
/release/scripts/freestyle/styles/blueprint_ellipses.py (+42, -0) (View)
/release/scripts/freestyle/styles/blueprint_squares.py (+43, -0) (View)
/release/scripts/freestyle/styles/cartoon.py (+38, -0) (View)
/release/scripts/freestyle/styles/contour.py (+36, -0) (View)
/release/scripts/freestyle/styles/curvature2d.py (+37, -0) (View)
/release/scripts/freestyle/styles/external_contour.py (+36, -0) (View)
/release/scripts/freestyle/styles/external_contour_sketchy.py (+43, -0) (View)
/release/scripts/freestyle/styles/external_contour_smooth.py (+39, -0) (View)
/release/scripts/freestyle/styles/haloing.py (+46, -0) (View)
/release/scripts/freestyle/styles/ignore_small_occlusions.py (+36, -0) (View)
/release/scripts/freestyle/styles/invisible_lines.py (+37, -0) (View)
/release/scripts/freestyle/styles/japanese_bigbrush.py (+56, -0) (View)
/release/scripts/freestyle/styles/long_anisotropically_dense.py (+68, -0) (View)
/release/scripts/freestyle/styles/multiple_parameterization.py (+47, -0) (View)
/release/scripts/freestyle/styles/nature.py (+39, -0) (View)
/release/scripts/freestyle/styles/near_lines.py (+38, -0) (View)
/release/scripts/freestyle/styles/occluded_by_specific_object.py (+40, -0) (View)
/release/scripts/freestyle/styles/polygonalize.py (+36, -0) (View)
/release/scripts/freestyle/styles/qi0.py (+36, -0) (View)
/release/scripts/freestyle/styles/qi0_not_external_contour.py (+41, -0) (View)
/release/scripts/freestyle/styles/qi1.py (+37, -0) (View)
/release/scripts/freestyle/styles/qi2.py (+37, -0) (View)
/release/scripts/freestyle/styles/sequentialsplit_sketchy.py (+44, -0) (View)
/release/scripts/freestyle/styles/sketchy_multiple_parameterization.py (+43, -0) (View)
/release/scripts/freestyle/styles/sketchy_topology_broken.py (+47, -0) (View)
/release/scripts/freestyle/styles/sketchy_topology_preserved.py (+42, -0) (View)
/release/scripts/freestyle/styles/split_at_highest_2d_curvatures.py (+41, -0) (View)
/release/scripts/freestyle/styles/split_at_tvertices.py (+40, -0) (View)
/release/scripts/freestyle/styles/stroke_texture.py (+38, -0) (View)
/release/scripts/freestyle/styles/suggestive.py (+38, -0) (View)
/release/scripts/freestyle/styles/thickness_fof_depth_discontinuity.py (+37, -0) (View)
/release/scripts/freestyle/styles/tipremover.py (+36, -0) (View)
/release/scripts/freestyle/styles/tvertex_remover.py (+37, -0) (View)
/release/scripts/freestyle/styles/uniformpruning_zsort.py (+39, -0) (View)

48 Deleted Paths:

/release/scripts/freestyle/style_modules/anisotropic_diffusion.py (+0, -44)
/release/scripts/freestyle/style_modules/apriori_and_causal_density.py (+0, -39)
/release/scripts/freestyle/style_modules/apriori_density.py (+0, -37)
/release/scripts/freestyle/style_modules/backbone_stretcher.py (+0, -35)
/release/scripts/freestyle/style_modules/blueprint_circles.py (+0, -42)
/release/scripts/freestyle/style_modules/blueprint_ellipses.py (+0, -42)
/release/scripts/freestyle/style_modules/blueprint_squares.py (+0, -43)
/release/scripts/freestyle/style_modules/cartoon.py (+0, -38)
/release/scripts/freestyle/style_modules/ChainingIterators.py (+0, -713)
/release/scripts/freestyle/style_modules/contour.py (+0, -36)
/release/scripts/freestyle/style_modules/curvature2d.py (+0, -37)
/release/scripts/freestyle/style_modules/external_contour.py (+0, -36)
/release/scripts/freestyle/style_modules/external_contour_sketchy.py (+0, -43)
/release/scripts/freestyle/style_modules/external_contour_smooth.py (+0, -39)
/release/scripts/freestyle/style_modules/Functions0D.py (+0, -105)
/release/scripts/freestyle/style_modules/Functions1D.py (+0, -58)
/release/scripts/freestyle/style_modules/haloing.py (+0, -46)
/release/scripts/freestyle/style_modules/ignore_small_occlusions.py (+0, -36)
/release/scripts/freestyle/style_modules/invisible_lines.py (+0, -37)
/release/scripts/freestyle/style_modules/japanese_bigbrush.py (+0, -56)
/release/scripts/freestyle/style_modules/logical_operators.py (+0, -47)
/release/scripts/freestyle/style_modules/long_anisotropically_dense.py (+0, -68)
/release/scripts/freestyle/style_modules/multiple_parameterization.py (+0, -47)
/release/scripts/freestyle/style_modules/nature.py (+0, -39)
/release/scripts/freestyle/style_modules/near_lines.py (+0, -38)
/release/scripts/freestyle/style_modules/occluded_by_specific_object.py (+0, -40)
/release/scripts/freestyle/style_modules/parameter_editor.py (+0, -1388)
/release/scripts/freestyle/style_modules/polygonalize.py (+0, -36)
/release/scripts/freestyle/style_modules/PredicatesB1D.py (+0, -73)
/release/scripts/freestyle/style_modules/PredicatesU0D.py (+0, -96)
/release/scripts/freestyle/style_modules/PredicatesU1D.py (+0, -342)
/release/scripts/freestyle/style_modules/qi0.py (+0, -36)
/release/scripts/freestyle/style_modules/qi0_not_external_contour.py (+0, -41)
/release/scripts/freestyle/style_modules/qi1.py (+0, -37)
/release/scripts/freestyle/style_modules/qi2.py (+0, -37)
/release/scripts/freestyle/style_modules/sequentialsplit_sketchy.py (+0, -44)
/release/scripts/freestyle/style_modules/shaders.py (+0, -1227)
/release/scripts/freestyle/style_modules/sketchy_multiple_parameterization.py (+0, -43)
/release/scripts/freestyle/style_modules/sketchy_topology_broken.py (+0, -47)
/release/scripts/freestyle/style_modules/sketchy_topology_preserved.py (+0, -42)
/release/scripts/freestyle/style_modules/split_at_highest_2d_curvatures.py (+0, -41)
/release/scripts/freestyle/style_modules/split_at_tvertices.py (+0, -40)
/release/scripts/freestyle/style_modules/stroke_texture.py (+0, -38)
/release/scripts/freestyle/style_modules/suggestive.py (+0, -38)
/release/scripts/freestyle/style_modules/thickness_fof_depth_discontinuity.py (+0, -37)
/release/scripts/freestyle/style_modules/tipremover.py (+0, -36)
/release/scripts/freestyle/style_modules/tvertex_remover.py (+0, -37)
/release/scripts/freestyle/style_modules/uniformpruning_zsort.py (+0, -39)

2 Modified Paths:

/source/blender/freestyle/intern/application/AppConfig.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/python/BPy_Freestyle.cpp (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021