I want to replace in the GDL script the image of the Picture GDL object with an Archicad texture. The main reason for doing this is because when exporting my projects into Twinmotion or Enscape the pictures becomes white without any picture. I've opened the GDL but I don't know how to do it, even if is it possible to do what I need..
I think the place where to change things is in this part of the 3d code (lines 193-207 of the script):
MATERIAL "pictmat"
add -a/2 + bIsFrame * _picOffset,
bIsFrame * _picOffset,
b + 0.001
if gs_picture_custom = 0 then
picture 1, a - 2*bIsFrame * _picOffset, zzyzx - 2*bIsFrame * _picOffset, 0
else
if gs_picture_name <> "" then
picture gs_picture_name, a - 2*bIsFrame * _picOffset, zzyzx - 2*bIsFrame * _picOffset, 0
else
picture 1, a - 2*bIsFrame * _picOffset, zzyzx - 2*bIsFrame * _picOffset, 0
endif
endif
I've attached a screen capture of what happens when exporting my project.
Thanks.
Operating system used: Mac Apple Silicon 14 - Sonoma
www.formaarquitectura.com
ARCHICAD 25 SPA