This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# To install, drop this file into your _plugins directory and add the "html-pipeline" gem to your Gemfile. | |
# | |
# To use, apply like any other liquid filter. e.g. {{ content | replace_mentions | xml_escape }} | |
# | |
require "html/pipeline" | |
module Jekyll | |
module MentionFilter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
Simple sphere raytracer which uses a Phong + diffuse lighting model | |
for sphere shading. Implements the basic recursive raytracing | |
algorithm with simple reflection. Also implements a checkerboard | |
floor. No refraction, though... ;) | |
Produces a TGA image in a file called "fourout". Rename to | |
"fourout.tga" to view. | |
BTW, this thing pushes the memory limits of the ASC machine. The |