timarender opened this issue on Jul 13, 2012 · 4 posts
bagginsbill posted Fri, 13 July 2012 at 11:28 AM
Even easier with matmatic. It's a one-liner.
for name in os.listdir("some folder here"): if name.endswith(".jpg"): outputs += ["=Material[%s]" % name, Surface(ImageMap(name), .8)]
Of course I'm just showing off and that's not really a finished script as there would be some manipulation of the path name. But the part of making the material for each image file is correct:
Surface(ImageMap(imageFileName), .8)
Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)