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

interpolation error #4

Open
xxm52 opened this issue Mar 11, 2021 · 2 comments
Open

interpolation error #4

xxm52 opened this issue Mar 11, 2021 · 2 comments

Comments

@xxm52
Copy link

xxm52 commented Mar 11, 2021

Hi, your idea is great! Howerve, I found that gl_Positions are used for interpolation before normalized by gl_Position.w, which is a non-linear behavior. I suppose they should be normalized by w and then interpolated to get bezier points.
Thanks for your sharing!

@theo-dep
Copy link

Hi,

I think @xxm52 is right. When I calculate depth normalization in B (before bezier curve interpolation), my result is much better.

Thanks for your help also :)

@Bibi56
Copy link

Bibi56 commented Jul 30, 2021

@theo-dep, fill free to fork and make a PR ;-).

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

3 participants