Antiprism Up Next
Home
Programs
Examples
Album
Download
Development
Forum
About

off_color_radial - radial colouring based on symmetry

Usage    |    Examples    |    Notes

Usage



Usage: off_color_radial [options] [input_file]

Color in radial pattern based on symmetry.

Options
  -h,--help this help message (run 'off_util -H help' for general help)
  --version version information
  -l <lim>  minimum distance change to terminate planarization, as negative
              exponent (default: 12 giving 1e-12)
  -o <file> write output to file (default: write to standard output)

Scene Options
  -d <opt>  coloring. radial=1, axes=2 (default: 1)
              (multiple -d as needed)
  -a <ax,p> axis order. primary=1, secondary=2, tertiary=3, all=4 (default: 1)
              p is percent length of the axis. (default: 100 percent)
              (multiple -a as needed)
  -f <list> specify a list of elements, list starts with element letter,
            followed by an index number list, given as index ranges separated
            by commas. range can be one number or two numbers separated by a
            hyphen (default range numbers: 0 and largest index).
            Index number list will be preceded by f, e, v for faces, edges and
            vertices. Elements resolve to connected faces to be staring point
            for radial coloring. special selector: s for number of face sides
              (multiple -f as needed, -f overrides -a)
  -s <sym>  symmetry subgroup (Schoenflies notation)

Coloring Options (run 'off_util -H color' for help on color formats)
keyword: none - sets no color
  -E <col>  color the edges according to: (default: unchanged)
              a color value - apply to all edges
              f - color with average adjacent face color
  -V <col>  color the vertices according to: (default: unchanged)
              a color value - apply to all vertices
              e - color with average adjacent edge color
              f - color with average adjacent face color
  -T <t,e>  transparency. from 0 (invisible) to 255 (opaque). element is any
            or all of, v - vertices, e - edges, f - faces, a - all (default: f)
  -m <maps> a comma separated list of color maps used to transform color
            indexes (default: rng), a part consisting of letters from
            v, e, f, selects the element types to apply the map list to
            (default 'vef'). use map name of 'index' to output index numbers
              calculated maps: rng, rainbow, gray, grayw, spread, rnd, deal
              e.g rng will become rngN where N is the number of ridges found
  -c s,t,n  control map stepping for calculated maps. positive or 0.
              s - shift, t - step, n - map size (default: 0,1,(calculated))
  -r        use the face map in reverse order
  -n <maps> color maps for axes (A=1: calculated, A=2: axes)
  -A <opt>  color axes by nfold=1, order=2 (default: 1)

Examples

Color faces of a geodesic sphere symmetrically in radial bands Also generate symmetry axes with -d axes
off_color -e white -v white geo_7_4_d | off_color_radial -A 2 | antiview -v 0.01


Same model with colors reversed
off_color -e white -v white geo_7_4_d | off_color_radial -A 2 -r | antiview -v 0.01


Same model grayscale
off_color -e white -v white geo_7_4_d | off_color_radial -A 2 -m gray | antiview -v 0.01


Color a figure from conway notation from faces 0 and 3
conway a^5C | off_color_radial -f f0,3 | antiview -x ve


Notes

off_color_radial was written by Roger Kaufman.

Colors by bands of color eminating from radial points on the model. It can color from symmetry axes or chosen faces. It can also display symmetry axes as part of the model.


     Next: off_trans - transformations (rotations etc) of OFF files
     Up: Programs and Documentation


Home   |   Programs   |   Examples   |   Album   |   Download   |   Development   |   Forum   |   About

Contact: adrian@antiprism.com      -      Modified 14.6.2024