THE RESEARCHERS UNFOLD AND STEADY the lanky yellow limbs of a tripod, then attach a camera, a nondescript gray plastic case with a big glass eye. One of them takes out a stylus and taps tiny boxes on the camera’s glowing touchscreen. Soon it begins a slow, whirring orbit atop the tripod. More than a century ago, early explorers descended into Carlsbad Caverns with nothing but lanterns casting dim light into the mysterious, tempting depths. They must have been awed by the other-worldly formations—and felt the prickly fear of getting lost in an unknowable darkness. They could have used something like the guidance these researchers will soon provide: the most precise and complete maps ever made of Carlsbad Caverns National Park, a UNESCO World Heritage site that lures 500,000 visitors a year to see the largest readily accessible cave chamber in North America.

Here in the state’s remote southeast corner, researchers from the University of Arkansas are helping the National Park Service better understand what project manager Julie McGilvray calls its “cultural landscape.” The type of work they’re doing has gotten a lot of attention because of the technology’s ability to reveal what we can’t see: outlines of Mayan pyramids below dense jungle canopies and ruins of ancient cities below desert sands. The camera, a $125,000 Leica ScanStation P40, uses lidar (light detection and ranging) to bounce laser beams over every inch of the place, then combines that data with GPS coordinates to produce super-detailed 3-D views. By combining many scans at once, we can see, for the first time, the cavern in profile as it snakes down from the surface, expands into large chambers, and contracts into narrow tunnels. (From the side, it turns out, Carlsbad Caverns looks not unlike the fictional Starship Enterprise.)

The Park Service chose the University of Arkansas because of its expertise in such mapping.  Malcolm Williamson and his colleagues have used this same technology to document other World Heritage sites, including the Roman Colosseum, the ruins at Machu Picchu, and the tombs and temples of Petra. But Carlsbad Caverns is their biggest project yet. Formed millions of years ago when acidic water circulating underground dissolved the porous limestone, the chambers and tunnels acquired their spectacular features (called speleothems) when the water level dropped. Eventually, stalactites dripped from the ceiling and stalagmites formed on the floors. To capture it all, the researchers needed four trips and 24 days of scanning on four miles of trails. When they’re done, they’ll crunch more than 1.5 terabytes of data that could eventually power virtual-reality tours, so that smartphone spelunkers can plumb the caverns’ depths without ever leaving the sofa.

Read More: Bats contribute to the health of our environment, but a devastating disease imperils them. Biologists, park rangers, and Native communities are sending up the Bat-Signal.

Humans have been interacting with the caverns for more than 100 years, carving paths, marking trails, and mining its bat droppings for valuable fertilizer. This project will allow managers to monitor changes in the park and the relationship between people and the environment. One thing McGilvray is particularly concerned about? Dust bunnies. Lint from your clothes, stray hairs, skin cells—all the human detritus that clusters in corners. Since 1924, more than 43 million visitors have delved underground here, and the fuzz they shed adds up. So one thing McGilvray will look at is whether low barriers on the trails could keep the fuzz down while still preserving the views.

And the views! In order to capture the caverns without humans in it, the scanners start work after the park is closed. Williamson and his assistant, Vance Green, walk through the eerily empty Big Room, past a locked gate, and down the switchbacking path into a section of the caverns reserved for private (though frequent and inexpensive) ranger-led tours. They pause in the King’s Palace, a chamber with spectacularly baroque formations called draperies. It looks like outer space or the deep sea. No wonder it served as a set for such movies as The Spider, The Bat People, and The Night the World Exploded, sci-fi flops you won’t find on Netflix.

This is the last night of work for the team, so Williamson and Green are grabbing the final few scans they need. Moving along the path, stopping every 25 feet or so, they set up the camera and stand still, waiting a minute or so for it to whir around. It’s tedious work, more hurry-up-and-wait than anything else. But while they’re waiting, they’ve had time to notice interesting little features that most visitors probably speed right past. Traversing the Queen’s Chambers, they pause every once in a while to point their flashlights into a crevice where wild formations resemble worms and stars, or behind a boulder to find clusters of stalactites that fell and lodged sideways, now seeming to grow horizontally.

Even without the special access, visitors who make the pilgrimage to the Guadalupe Mountains marvel at the vastness of the famed Big Room and ooh at the draperies and other formations—soda straws, cave pools, lily pads—each carefully lit. The park recently upgraded that lighting system, and it brings new awe to one particularly dramatic section of draperies, their graceful, paper-thin folds glowing like alabaster, thanks to one perfectly placed spotlight. The Park Service hopes the new scans will help them plan future light effects.

Read More: Live your best RV life at these five parks.

But the laser beams have also brought fresh surprises to historic parts of the park. Decades ago, the park had a belowground restaurant, a midcentury concrete space chamber of a lunchroom. But the grease and crumbs proved unhealthy for the caverns, so now a far smaller snack bar sells only sandwiches and bottled water. Along the cave wall, three semicircular concrete counters topped with metal signs sit disused. A thick layer of government-issue brown paint masks whatever the signs once read, but the lasers bounce right through the paint. The scanners were shocked when this revealed one kiosk’s original purpose. Clear as day, the scan shows a concrete counter, and above it a sign blaring, SEND A POSTCARD!

Yep. You could send a piece of mail postmarked from the center of the earth.

Just as they did when that sign was painted, a half century or more ago, future visitors will walk along these paths, take a ranger-guided tour, and scramble through narrow tunnels. Or maybe they’ll strap on virtual-reality headsets to take a stationary trip 1,000 feet under the earth and ages back in time.

CARLSBAD CRAVINGS

Carlsbad's booming oil-and-gas industry keeps the town humming. That can make it hard to find a reasonably priced hotel room. Locals suggest heading to Carlsbad Caverns National Park (575-785-2232) on a weekend, when the oilfields are slow, hotel rooms open up, and rates drop. Luckily, a visitor’s best options can often be the most charming accommodations in town.

Getting There

Carlsbad is 280 miles (about a 4-hour drive) from Albuquerque and about 200 miles (3 hours) from Las Cruces. Or fly Boutique Air nonstop from Albuquerque or Dallas/Fort Worth (855-268-8478). Enterprise Rent-a-Car will meet you at the airport if you book in advance (575-234-1177).

Lodging

Check in to: The Trinity Hotel, a restored turn-of-the-century bank building (201 S. Canal St., 575-234-9891); Fiddler's Inn, quaint rooms in a historic home downtown (705 N. Canyon St., 575-725-8665); Stevens Inn, a Best Western with a pool, restaurant, and full bar (1829 S. Canal St., 575-887-2851). La Quinta Inn & Suites, Modern conveniences and free breakfast (4020 National Parks Hwy., 575-236-1010).

Refreshments

You can’t bring food or drinks (aside from water) into the caverns and the park cafeteria is bare-bones. Blue House Bakery and Café, Carlsbad’s only real sit-down coffeehouse, also serves fresh pastries and hot breakfasts in a homey bungalow (609 N. Canyon St., 575-628-0555). Yellow Brix serves lunch and dinner inside a historic house and outside on a huge patio (201 N. Canal St., 575-941-2749). Lucky Bull Grill, in the Old City Hall, is  a hot spot for lunch and dinner, with New Mexico beers and live music at night (220 W. Fox St., 575-725-5444). Red Chimney Bar-B-Que is a local favorite with a cozy dining room and “picnic packs” of barbecue to go (817 N. Canal St., 575-885-8744). The Trinity Hotel serves all meals and has an espresso bar and happy-hour tastings of local wines (201 S. Canal St., 575-234-9891). Milton's Brewing pours its own beers, plus wine from Tularosa Vineyards and Artesia’s Cottonwood Winery (108 E. Mermod St., 575-689-1026). Guadalupe Mountain Brewing serves craft brews plus wines from Ruidoso’s Noisy Water Winery (3404 National Parks Hwy., 575-887-8747).