I have seen this discussed many many times but just came across this answer from what seems to be Roman Catholic perspective. To my surprise, I for one quite like the way they put it.
youtu.be/tBuTg155y1They also touched on the aspect of shame where a model reveals her body to a number of people for a specific artistic purpose and not to anyone else's gaze where there is no such understanding.
These are quotes from John Paul's letter to artists referenced in the video:
"The distinction between the moral and artistic aspects is fundamental, but no less important is the connection between them. Each conditions the other in a profound way. In producing a work, artists express themselves to the point where their work becomes a unique disclosure of their own being, of what they are and of how they are what they are."
"Through his works, the artist speaks to others and communicates with them."
"The theme of beauty is decisive for a discourse on art. It was already present when I stressed God's delighted gaze upon creation. In perceiving that all he had created was good, God saw that it was beautiful as well. The link between good and beautiful stirs fruitful reflection. In a certain sense, beauty is the visible form of the good, just as the good is the metaphysical condition of beauty. This was well understood by the Greeks who, by fusing the two concepts, coined a term which embraces both: kalokagathía, or beauty-goodness. On this point Plato writes: "The power of the Good has taken refuge in the nature of the Beautiful".
"This world in which we live, needs beauty in order not to sink into despair. Beauty, like truth, brings joy to the human heart and is that precious fruit which resists the erosion of time, which unites generations and enables them to be one in admiration!"
"Beauty is a key to the mystery and a call to transcendence. It is an invitation to savour life and to dream of the future. That is why the beauty of created things can never fully satisfy. It stirs that hidden nostalgia for God... Artists of the world, may your many different paths all lead to that infinite Ocean of beauty where wonder becomes awe, exhilaration, unspeakable joy."
www.vatican.va/holy_father/joh…