Allow Blender to load resources via web?

Hello,

It has always been a bit of a pet peeve of mine that blender doesn’t properly support UNC paths. These are file paths in the form of \server\share\dir\dir\file. Yes, I realize that “all” we have to do is map the share to a drive letter, but that isn’t always convenient on a large network.

Anyway, taking a quick look at the source it appears that we just error-check our way out of them (must have a colon there!) and it probably wouldn’t be a lot of work to get them working.

When I was thinking about this I got down a bit of a tangent. It seems a shame to do any work in order to just support this one new type of file descriptor. Wouldn’t it be nice to instead extend file reading to support other possibilities?

The most obvious thing is to allow for URI scheme identifiers, like “file”, “dav”, “ftp”, “http”, “https”, “nfs”, “tftp”, “urn”, “smb”, etc. For example, if a path starts with “http:” we would pass off the reading to a routine that would download the file via the http protocol. Obviously this would require that we support the concept of locally caching remote files but that wouldn’t be difficult.

This type of thing could let you have a local blend file that could use images from my remote web server and would open up cool new ways of collaborating.

I realize that I could have spent much more time thinking about this before posting, but I wanted to see if anyone else thinks this could have merit.

Harley

Sorry for the bump, but I was surprised that nobody actually read this post. The count still says “1” and that was me!

I certainly don’t mind that nobody replies, but I was hoping to get a few reads. Oh well, it must have just been a very boring subject line. Or everyone knew it was a dumb idea by just reading the subject line.

The counter thing is broken.

Not sure if my comment is related but I was day dreaming about directly loading google map/Earth data directly into Blender and trying to visualise it. Might attempt it for my next project.

@fobsta: Too funny! we probably have common interests. Lately I’ve been spending spare time making building models for the Google 3D Buildings layer (yes, in Blender not in Sketchup), and this past weekend I was planning out how to create a ground model around my school by using NASA SRTM 30-metre data for elevation. Might make a nice WIP post.