Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bezier quad deform is buggy, show only a grid when active #9

Open
jamet opened this issue Jan 3, 2016 · 2 comments
Open

bezier quad deform is buggy, show only a grid when active #9

jamet opened this issue Jan 3, 2016 · 2 comments

Comments

@jamet
Copy link
Contributor

jamet commented Jan 3, 2016

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?

@jamet
Copy link
Contributor Author

jamet commented Jan 4, 2016

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.

@jamet
Copy link
Contributor Author

jamet commented Jan 24, 2016

a first fix is in this commit: 9dc486f

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant