Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
π« Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
Control Projected Textures via the API?
-
Is there anything in the API to control projected textures? Not even detect them?
-
Google seems to be deaf to our requests. There is no built-in method for recognising if a face has a projected texture or not.
It can be done through writing a texture to a Texturewriter of especially created temporary face with no distortion and then writing a texture of a face being examined. If the number of textures in TW increases it means the face has a photomatched texture.
I have seen a texturewritter2 in the SU SDK, but it is not reflected in Ruby.
I haven't tried to control a position of a projected texture, but I am afraid it can be pretty hard. Mostly because we have no sample code that would show how to do basic modification.
Tomasz
Advertisement