Skip to content

Instantly share code, notes, and snippets.

@quephird
Created August 10, 2016 22:12
Show Gist options
  • Save quephird/ee2372c28c854771a12bff6b7c7d1019 to your computer and use it in GitHub Desktop.
Save quephird/ee2372c28c854771a12bff6b7c7d1019 to your computer and use it in GitHub Desktop.
#version 3.7;
global_settings {
assumed_gamma 1.0
}
#include "colors.inc"
#include "functions.inc"
#include "shapes.inc"
#include "shapes2.inc"
#include "stones.inc"
#include "textures.inc"
// Main camera
camera {
perspective angle 75
location <0.0, 4.0, -8.0>
right x*image_width/image_height
look_at <0.0, 2.0, 0.0>
}
// Main light
light_source {
<0, 10, -10>
color White
spotlight
radius 25
falloff 50
tightness 10
point_at <0, 0, 0>
}
#macro Letter (letter)
text {
ttf "Arial", letter, 1.0, 0.0 // font file
finish {
phong 1.0
diffuse 0.7
}
pigment {color White}
scale <5, 5, 0.5>
}
#end
object {
Letter("H")
rotate <10, 60, 0>
translate <-2, 1.1, 0>
}
object {
Letter("I")
rotate <0, -40, 0>
rotate <0, 0, 40>
translate <1.5, 1.1, -2>
}
object {
Letter("T")
rotate <0, 0, -70>
rotate <0, -10, 0>
translate <-1.8, 2.5, -1>
}
object {
Letter("S")
rotate <90, 0, 0>
rotate <0, 30, 0>
translate <-0.5, 1.5, -2>
}
// Rear wall
plane {
<0, 1, 0>, 1
pigment {color White}
rotate <0, 0, 0>
translate <0, 0, 0>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment