CGI is done after the film is done. It's through the computer. Most of the film is not computer-generated special effects. Most of it is that creature that is in the room with you.
Their chief residence was Bagdad, where they remained until the eleventh century, an age fatal in Oriental history, from the disasters of which the Princes of the Captivity were not exempt.

