Skip to content

Interior Texture

from fdray import *

material = Material(Texture("PinkAlabaster"), InteriorTexture("Red_Marble"))

Scene(
    Include("textures.inc"),
    GlobalSettings(assumed_gamma=2.2),
    Camera(45, 40, view_scale=7, look_at=(0, 0, 1), distance=15),
    LightSource((0.3, 60, 80), "white"),
    Plane("z", 0, Pigment("checker", Color("cyan"), Color("white"))),
    Cylinder((0, 0, 0), (0, 0, 4), 4, "open", material),
).render(600, 400)