References in this story to classical mythology are all from the myth of Prometheus. He was one of the Titans who survived when Zeus overthrew them. He created mankind, but Zeus demanded to see his creations. The lad, Phaenon, was more beautiful than the rest, so Prometheus kept him back from Zeus. When Zeus discovered the deception, he was angry. In his wrath, he took Phaenon, transformed him into a star, and set him in the heavens. He is the planet Jupiter.
Prometheus continued to favor mankind. He gave them fire against Zeus' express wishes. For this crime he was sentenced to be chained to a high mountain where daily a huge vulture, sent by Zeus, devoured his liver. Every night his liver regrew, and every day it was eaten again.
He was eventually rescued from his fate by Hercules, who shot the vulture with an arrow and set Prometheus free.
The framework for the Roc's three transformations comes from the three metamorphoses of the spirit in Nietzsche's Also Sprach Zarathustra. Zarathustra tells of a spirit which became a camel, then a lion, then a child. The camel is a slave to a master he does not understand. The lion violently rebels against the master, and the child becomes capable of genuine freedom of choice. At least, that's how I read it.
The Roc itself, of course, comes from Tales of the Arabian Nights. I also borrowed Sinbad the Sailor, transforming him into Sailbad the Sinner for my own purposes. Even that comes from a book I read in my teens. Jess Moody, told of having sailboat by that name in his book, A Drink at Joel's Place.