2025-06-13 04:38 AM - edited 2025-06-13 05:08 AM
Hi,everyone:
In ArchiCad:
In my Render System:
It is obvious that the size of the texture is inconsistent(Ignore color).
I'm pretty sure the exported texture file is fine, so I think it's a UV issue.
//texture
API_TexCoordPars pars = { 0 };
pars.elemIdx = elemIdx;
pars.bodyIdx = bodyIdx;
pars.pgonIndex = j;
//
pars.surfacePoint.x = backCo.x;
pars.surfacePoint.y = backCo.y;
pars.surfacePoint.z = backCo.z;
err = ACAPI_ModelAccess_GetTextureCoord(&pars, &resultUV);
if (err == NoError)
uv.push_back({ resultUV.u, resultUV.v });
Solved! Go to Solution.
2025-06-16 09:07 AM
if (err == NoError)
uv.push_back({ resultUV.u / xSize, resultUV.v / ySize });
It seems that the following actions need to be taken.But the xSize/ySize I get can not produce the correct effect.
2025-06-16 09:07 AM
if (err == NoError)
uv.push_back({ resultUV.u / xSize, resultUV.v / ySize });
It seems that the following actions need to be taken.But the xSize/ySize I get can not produce the correct effect.
2025-06-25 10:08 AM