Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

POV-Ray SDL

< >

POV-Ray SDL is a programming language created in 1991 by Chris Cason.

#276on PLDB 33Years Old 3Repos
Download source code:
git clone https://github.com/POV-Ray/povray
Source Code

The Persistence of Vision Raytracer: http://www.povray.org/


Example from Linguist:
// 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 Ray Tracer Include File // File: water.inc // Desc: water for 'balcony.pov' demonstration scene // Date: July/August 2001 // Auth: Christoph Hormann // Updated: 09Aug2008 (jh) for v3.7 distribution /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/ #if (version < 3.7) #version 3.5; #end #include "functions.inc" #declare RMF=function{ f_ridged_mf(x, y, z, 0.07, 2.2, 7, 0.6, 0.9, 1)} #declare M_Watx4 = material { texture { pigment { color rgbt <0.2, 0.22, 0.21, 0.94> } finish { diffuse 0.0 ambient -0.2 reflection { 0.0, 0.95 fresnel on } conserve_energy specular 0.4 roughness 0.007 } normal{ function { RMF(x, y, z) } 0.8 scale 0.3 } } interior { ior 1.31 fade_distance 5 fade_power 1001.0 fade_color <0.02, 0.20, 0.06> } } plane { z, -1 material { M_Watx4 } hollow on } plane { z, -12.0 texture { pigment { color rgb 0 } finish { ambient 0.0 diffuse 0.0 } } hollow on } /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/

Language features

Feature Supported Example Token
Integers ✓ // [0-9]+
Floats ✓ // [0-9]*\.[0-9]+
MultiLine Comments ✓ /* A comment */ /* */
Comments ✓ // A comment
Line Comments ✓ // A comment //
Semantic Indentation X

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v154.3.0