File: 10%20-%20waveform%20attribute.txt

package info (click to toggle)
povray 1%3A3.7.0.10-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 147,232 kB
  • sloc: cpp: 845,011; ansic: 122,118; sh: 34,204; pascal: 6,420; asm: 3,355; ada: 1,681; makefile: 1,389; cs: 879; awk: 590; perl: 245; xml: 95
file content (9 lines) | stat: -rw-r--r-- 468 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
// you can specify a waveform if patterns are used with blend maps.
// Especially useful for normals
// Note most patterns have default waveform ramp_wave
  ramp_wave         // linear raising from 0 to 1 and returning abrupt return
  //triangle_wave   // linear upwards and downwards
  //sine_wave       // sine waveform
  //scallop_wave    // absolute value of sine wave
  //cubic_wave      // cubic curve from 0.0 to 1.0
  //poly_wave 0.5   // exponential function