File: strings.pov

package info (click to toggle)
povray 1%3A3.7.0.8-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 146,780 kB
  • sloc: cpp: 845,005; ansic: 122,118; sh: 34,206; pascal: 6,420; asm: 3,355; ada: 1,681; makefile: 1,387; cs: 879; awk: 590; perl: 245; xml: 95
file content (28 lines) | stat: -rw-r--r-- 1,054 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
// To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send a
// letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.

// Persistence of Vision Raytracer Scene Description File
// File: strings.pov
// Author: Chris Huff
// Description: A demo of the string macros in strings.inc.
// This file will not render an image, check the debug messages
// for the results.
//
// -f
//
//*******************************************

#version 3.6;
global_settings {assumed_gamma 1.0}

#include "strings.inc"

#debug concat("\n",CRGBFTStr(color rgbft <0.2, 0.3, 0.4, 0.5, 0.6>, 5, 5),"\n")
#debug concat(CRGBStr(color rgb <0.2, 0.3, 0.4>, 5, 5),"\n")

#debug concat(Triangle_Str(<0, 0, 0>, <1, 0, 0>, <0.5, 1, 0>),"\n")
#debug concat(Smooth_Triangle_Str(<0, 0, 0>, <-0.2,-0.1,-1>, <1, 0, 0>, <0.2,-0.1,-1>, <0.5, 1, 0>, <0, 0.2,-1>),"\n\n")

//*******************************************