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

Roto circle not perfect #1524

Closed
ghost opened this issue Dec 3, 2016 · 3 comments
Closed

Roto circle not perfect #1524

ghost opened this issue Dec 3, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Dec 3, 2016

Using Natron 2.1.7 Release on Ubuntu 16.10

Pressing SHIFT while dragging a roto ellipse should result in a perfect circle. I just noticed it does not, it is close, but not perfectly round between the four control points.

selection_025

@devernay
Copy link
Collaborator

devernay commented Dec 7, 2016

The bezier control points should be:

P_0 = (0,1), P_1 = (c,1), P_2 = (1,c), P_3 = (1,0)

with c = 0.551915024494

See http://spencermortensen.com/articles/bezier-circle/

Alex, can you plz check and put that reference in the code?

@devernay
Copy link
Collaborator

devernay commented Dec 7, 2016

btw, if you want real circles with proper antialiasing, the Radial plugin from Natron >= 2.1.8 is the way to go (set softness=0)

@devernay
Copy link
Collaborator

devernay commented Dec 7, 2016

image

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

No branches or pull requests

1 participant