As sometimes happens, a new model will appear in bright blue. I think this is the case if the polys haven’t yet been assigned color (through fill object button or by polypainting).
In a script where I try to detect that the blue is present, I use the PixolPick command (mode 2, 3, 4) to get the R, G, B value. However, it seems if default blue is found (0, 0, 255), PixolPick returns 255 for R, G and B, even though the model on canvas is obviously bright blue.
All I really want to do here is detect the presence of the default blue (0, 0, 255) and in that one case, automatically fill the model with white (255, 255, 255).
Has anyone else run into this? Is there a PixolPick solution? Is there some other guaranteed way to detect the presence of default blue requiring a fill object button?
An extension of the same idea… If I’m trying to detect whether a model has no UV mapping assigned, I might load a texture map, then press Col>Txr… and, using PixolPick (mode 2, 3, 4), test for black (0, 0, 0), indicating that UV mapping is not assigned… and then offer option to automatically assign GUV mapping. I’d also be interested in any other strategy for detecting the absence of UV mapping, as well.
Anyone?
thanx, Sven