colorize3d
Arguments:
- _color_function,_passed_images_for_color_function
Description:
Colorize primitives of selected 3D objects, according to a specified function.
color_function returns a G,GA,RGB or RGBA vector that can depend on variables x,y and z, which are defined as the barycenter coordinates for each primitive.
passed_images_for_color_function can be specified as a selection (e.g. [0,2]) of images that will be inserted at the end of the image list while modifying 3D objects, so that the color_function can have access to their content.
Default values:
color_function=[x,y,z] and passed_images_for_color_function=.
Example of use:
torus3d 100,40,640,100 c3d n3d mul3d 256 +3d 128,128,128 sample colorful,257 colorize3d[0] "I(#-1,x,y,0)",[1]
Command: torus3d 100,40,640,100 c3d n3d mul3d 256 +3d 128,128,128 sample colorful,257 colorize3d[0] "I(#-1,x,y,0)",[1]
Command: torus3d 100,40,640,100 c3d n3d mul3d 256 +3d 128,128,128 sample colorful,257 colorize3d[0] "I(#-1,x,y,0)",[1]
G'MIC is an open-source software distributed under the
CeCILL free software licenses (LGPL-like and/or
GPL-compatible).
Copyrights (C) Since July 2008,
David Tschumperlé - GREYC UMR CNRS 6072, Image Team.