Hi, I’m curious in what circumstance, would one wants to use ofSetPolyMode(ofPolyWindingMode)
There are these modes,
I tested them and they have effect on some shapes (unclosed shapes mostly) but on more common shapes like rectangle, circle… it didn’t have any effect on the shape.
Could anyone please briefly explain when would I want to use it?
Winding is used for culling mostly. More on face culling
Could you also briefly teach me when to use ofDrawBitmapMode?
OF_BITMAPMODE_SIMPLE = 0,
These are the options of it. Thank you!
And really the last one, ofBlendMode
OF_BLENDMODE_DISABLED = 0,
OF_BLENDMODE_ALPHA = 1,
OF_BLENDMODE_ADD = 2,
OF_BLENDMODE_SUBTRACT = 3,
OF_BLENDMODE_MULTIPLY = 4,
OF_BLENDMODE_SCREEN = 5
Okay, I think I roughly understand what ofBlendMode is. it seems to affect RGBA.
But I have no idea what ofDrawBitmapMode is and when to use it.
OKay, I found the relevant thread!