I agree with that, The Hobbit looked pretty bad. You're right that part of it was the bad writing, but I think it's a vicious circle -- if you're convinced that CGI can make twenty minutes of elf-vs-goblin parkour look cool, you'll write that into the script.
If instead you started from the viewpoint of, well, we made a successful movie trilogy out of a famous book trilogy; here's another famous and beloved book by the same author, who even went back and revised it to make it fit with the trilogy -- why don't we just use all the tools at our disposal to put that book on the big screen? Maybe that could have resulted in one really good movie.
For me, what grates are the action sequences that feel like they were written for the video game tie in -- the river escape sequence, for instance.
But the visuals are The Hobbit's main selling point. People hate it because of the writing.