From West Glacier to Gardiner
The 'obvious' route that most software will probably recommend is simply US-93 to Missoula, I-90 to Livingston, and US-89 to Gardiner. However, the route is well short of 400 miles which means that you'll have a little time to take a slightly more scenic route and get away from the truck traffic on the Interstate. What I'd suggest is US-2 to Evergreen, MT 206/MT-35 to Bigfork, MT-83 to Clearwater, MT-200/MT-141 to Avon, US-12 through Helena, to US-89 south to Gardiner. Helena would be roughly halfway, but with the RV you should look at Cromwell Dixon Campground.
AZBuck