+1
Answered

Set a default tint color

kjfinch 3 months ago • updated by Vitaly Ovchinnikov 3 months ago 5

Is it possible to set a default tint color for objects? When creating objects, they are coloured white by default, but importing a 3d model is dark grey by default. If there was a system-wide setting for a default tint color, that would be really useful.

GOOD, I'M SATISFIED
Satisfaction mark by kjfinch 3 months ago
Under review

Can I see a sample model please? For external models Boxshot uses their own materials and properties, so if the color is loaded grey, it is most likely that grey in the model. If we change that, this may affect other models with proper colors.

Here's the orignal STP file: https://www.dropbox.com/s/788yoj8dbq7m0fh/sandtimer%20190423.stp?dl=0

And here's the OBJ file that I converted the STP file to using AB Viewer: https://www.dropbox.com/s/xrki7ze5j3btlqz/sandtimer%20190423.obj?dl=0

When I import the OBJ file, all of the surfaces are #999999.

Thanks. It looks like if the MTL file is missed, Boxshot uses grey color as default, instead of white. Will look into that.

Meanwhile you can use this in the script editor to change all the colors at once:

var n = node("External Model_0"); // put your node name here
var mtls = n.materials;
for (var i in mtls) {
    var mtl = mtls[i];
    mtl.diffuseTint = color(1, 1, 1, 1);
}

Answered

We set the default materials to "standard white plastic" for imported OBJ files without materials in version 5. Give it a try there and let me know if you need anything else.