How come medieval artists were unable to produce realistic art that can be produced this day and age?

by Oriachim

Why have things changed so much? Were paintings preferred that way? Were techniques vastly different?

Reason I ask is because I saw a man paint a life like painting of a glass cup. Paintings in the medieval ages seem very two-dimensional.

Searocksandtrees