What you would want to do is ignore the name of the "page" in the link, and use instead the directory as the id:
# Rewrite any base directory consisting of all digits to the visit link script
RewriteRule ^([0-9])/.*$ /visit_link.php?id=$1
The above would redirect any page under a numerically named directory:
As for generating the more descriptive links like /10486/Go-to-3D-model-look.html you would have to do that through php by way of a database lookup, or by making them up by hand 🙂