For this project I had to create a patterned shader using OSL. The goal was to learn how to use a layering technique to create a complex pattern.
INSPIRATION
For my inspiration, I decided to try and recreate Frank Lloyd Wright's Geneva window. I have always been drawn to Frank Lloyd Wright's work, so I thought this would be a fun cross over for my project
THE CODE
This was a long process of coding, layering shape over shape, and then eventually building a frame to sit on top of those shapes. I worked with macros that I could call later down in the script to make the creation of those shapes easier. I also made sure to make each shape's color customizable in post by passing them up to the user. Once this shader is entered into Maya, the user can then change the color of each individual shape; allowing for endless color combinations. It was a painstakingly long process, but I think the end result was worth all the hard work!