MeshLab filter name: ‘Per Face Color Function’Ĭolor function using muparser lib to generate new RGBA color for every face MeshLab filter name: ‘Random Component Color’Ĭolorize each connected component randomly. Please note this is not a transparency effect, but just influences the weigthing between different images compute_color_by_conntected_component_per_face ¶ In this way it is possible to mask-out parts of the images that should not be projected on the mesh. Use image alpha weight: If true, alpha channel of the image is used as additional weight. Default values listed here are computed on a 1x1x1 cube (pymeshlab/tests/sample/cube.obj), but their value will be computed on the input mesh if they are left as default. Please note: some filter parameters depend on the mesh(es) used as input of the filter. Most of the filters do not return nothing, therefore the dictionary will be empty. The _filter() returns a dictionary that may contain some values returned by the applied filter. The string is expected to have at least an extension on its final characters see the documentation of the specific filter for further info File Name: a classic str that represents the path of a file that is going to be saved or loaded by the filter.This parameter is of type int, which indicates the id of the mesh in the MeshSet Mesh: represents a parameter that links to one of the meshes contained in the MeshSet on which the filter is applied.4x4 Matrix: represents a 4x4 Matrix of floats, and the parameter can be of type numpy.ndarray] (a 4x4 numpy array of floats).3D Point (or 3D Vector): represents a 3D point or vector, and the parameter can be of type numpy.ndarray] (a numpy array containing three floats).Color: represents a color, and the parameter can be of type pmeshlab.Color see the documentation of the pmeshlab.Color for further info. These values type can be int or str see the documentation of the specific filter for further info Enum: represents a parameter that can accept just one of a limited set of possible values.pmeshlab.AbsoluteValue: the parameter will be treated as absolute value see the documentation of the pmeshlab.AbsoluteValue for further info.pmeshlab.Percentage (recommended): the parameter will be treated as relative percentage value see the documentation of the pmeshlab.Percentage for further info.This parameter can be of two different types: Percentage: represents a parameter that is relative to some other measure, specified in the documentation of the filter.Bounded Float: a classic float that is expected to be bounded between a min and a max value an out-of-bounds value will raise an exception.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |