Is it possible with ARKit/SceneKit to texture a DAE/SCN model programatically, on-the-fly?
Use case is: I will have 1 model that I would like to "skin" with potentially thousands of similar-yet-different textures. And I can either:
Is this dynamic texturing capablity possible? If so, how? If not, then why (curious!)?
Yes, changing the texture image(s) for a 3D object at runtime is a basic capability of nearly all high-level 3D engines, including SceneKit.
In short, find the material you want to change, and set its diffuse
.contents
to the texture image you want to use.
For a more thorough understanding, read up on materials in the SceneKit documentation, or go back to the WWDC videos from 2013 and 2014 that introduce the basics of SceneKit.