‎2017-07-31
03:54 PM
- last edited on
‎2022-12-06
02:02 PM
by
Daniel Kassai
ModelerAPI::Material material;
polygon.GetMaterial(&material);
if (material.HasTexture()) {
ModelerAPI::Texture texture;
material.GetTexture(&texture);
}
Thanks‎2022-12-08 09:00 AM - edited ‎2022-12-08 11:09 AM
Maybe a late answer helps others:
The Carpet object builds a model with a blank white material, and displays a picture independent from the material (picture GDL command).