Open jamet opened 8 years ago
seem that the problem is related to the way bezier curves are drawn, the gl function that draws to the surface (glevalmesh2) don't draw the full polygon but only it's edge, even if you specify the GL_FILL type. it's because of the glPolygonMode which is set somewhere to GL_LINE, adding glPloygonMode(GL_FRONT, GL_FILL); seems to correct the problem.
will make a commit to correct that when having time.
a first fix is in this commit: https://github.com/VideoMapping/lpmtX2/commit/9dc486f9e6b4c8cf9ef2bfc0b0dd3ed2c8ca58b3
but problem still remains when using mask, adding the polygon mode in the mask code disable mask totally... so in this commit it should get something like :
bezier+mask->wireframe deform, mask ok grid+mask ok mask+edgeblend-> mask doesn't work
Hi,
Had this problem when using bezier deform, only a wireframegrid is displayed with the video/im/color render on the wireframe..., as if they were no texture between the wires.
i looked a bit, but have no idea where this could come from, it was working at some point for sure, a commit must have issed up something, but i can't figure which one...
does anyone have the same problem?