appleseed Users Forum

asTexture node input from memory instead of disk?

Hi, I’m trying to use the API to create a complex material I made in Blenderseed. I’m using asTexture nodes, whose only input parameter is a filepath. I was wondering if it is possible to use in-memory textures instead of having to write them temporarily out to disk. For normal (non-node) textures, there exists MemoryTexture2dFactory. Does something similar exists for 2D texture nodes, or is it possible to specify an existing texture instance as the input of an asTexture node, instead of the filepath?

kind regards,
Stefaan

Hi Stefaan,

appleseed has a memory_texture_2d entity which can be used. A useful list of entities and their parameter is here:
https://github.com/appleseedhq/appleseed/wiki/Built-in-Entities

For technical implementation guides best ask in our Discord the developers who work on the core.