File: 40%20-%20turbulence%20attribute.txt

package info (click to toggle)
povray 1%3A3.7.0.0-8
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 105,396 kB
  • ctags: 115,305
  • sloc: cpp: 438,613; ansic: 118,761; sh: 37,706; pascal: 6,420; asm: 3,355; ada: 1,681; makefile: 1,282; cs: 879; awk: 590; perl: 245; xml: 95
file content (7 lines) | stat: -rw-r--r-- 421 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
// pattern modifier
// Takes a float or vector for selective turbulence in different directions
  turbulence <0, 1, 0.5> // how much to 'stir up' the texture (0...1 or more)
  // (---additional parameters influencing style of turbulence---)
  lambda 2.0      // (1.0...5.0) (smooth...random) [2.0]
  omega 0.5       // (0.0...2.0) (crinkly...fuzzy) [0.5]
  octaves 6       // number of "folds" in turbulence (1...10) [6]