Archicad C++ API
About Archicad add-on development using the C++ API.

Align 3D texture in c++ API

cedemax
Participant

Hi,

 

Our plugin creates a mesh terrain and maps a material with an orthophoto texture to it using the size and angle parameters of the texture. This works, but as soon as the terrain is moved for any reason, the alignment breaks. Currently the alignment is done by scrolling the image itself (see attached scrolled image for an example), which is a poor solution, as we would not want to re-scroll the image whenever the terrain is moved. Using "Align 3D Image" in the UI seems to be the right solution, and it also seems to lock the texture in place, preventing further movement in case the terrain is moved, which is great!

 

However I can't find any mention of the Align 3D texture feature in the API.

How can we perform this alignment in the API?

 

Br. Max


Screenshot.jpgColor.jpg
0 REPLIES 0