Closed akshajb closed 5 years ago
Even the default example doesn't match the EXACT colour that's being rendered.
That has nothing to do with the tracking, I guess. It's canvas related if anything else.
Thank you for the quick response, stuck in a pinch situation here.
draw.drawTriangles( face.vertices, libTriangles, false, 1.0, color, opacity); draw.fillTriangles( face.vertices, libTriangles, false, color, opacity);
this "color" and the color that renders, are slightly off. Even the oranges in the default example are off " 0x00a0ff".
I am using Eye Dropper chrome extension to check the values
And the opacity is set to 1? If not, the color is transparent.
Yes. The opacity is hardcoded right now to 1.
Well then it's most likely the antialised drawing I guess. Try to draw a large rect, eg. 100x100 and take the color from the center... I think you will have to live with canvas not rendering perfect colors
Oh so the colors won't be perfect? also what is the clear parameter used for ?
clearing the canvas I guess.
clearing the canvas before every draw? the changing it from false to true does not really affect anything visually, so was curious
I have no idea, the code is 2 years old and I'm currently working on the release of BRFv5.
Thank you for your help.
Hey. So I am using the color-libs example, and changing the colour from orange to something else on the lips. But the colour that I give and the colour being rendered have minuscule difference. Any idea how to fix that?