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

Working with metric units make the brush shake. #573

Closed
Sjockey opened this issue Aug 1, 2018 · 6 comments
Closed

Working with metric units make the brush shake. #573

Sjockey opened this issue Aug 1, 2018 · 6 comments

Comments

@Sjockey
Copy link

Sjockey commented Aug 1, 2018

Hello ,

I started a new retopology on a simple sphere. My blender units are set up to metric centimeters and while I use Polystrips, Strokes, Relax or tweak tools my brush circle is shaking (scale up/down).
I do not have the issue if my unit settings are set on none(Blender default units).

Here is a video and my blender file showing the problem.
https://www.dropbox.com/s/kgfjwh66cisl6gr/BrushShakingIssueMetric.mp4?dl=0
https://www.dropbox.com/s/rucfeu4nxnp7m24/BrushShakeIssueMetric.blend?dl=0

Thanks

@vxlcoder
Copy link
Contributor

vxlcoder commented Aug 1, 2018

Thanks for the report, @Sjockey!
This is very interesting. Looking into it now.

vxlcoder added a commit that referenced this issue Aug 1, 2018
if the object was created using a unit setting other than Blender Units,
the object does not scale well.  now, scaling takes into account the
unit's scale_length as well.
@vxlcoder
Copy link
Contributor

vxlcoder commented Aug 1, 2018

With commit 453a9e5, RF now takes into account the scale length of the selected scene units, which should correct this issue. If you know how to use git, you can clone the release/2.0.0 branch and test it out. Otherwise, work in Blender Units only for now, because we will probably release a minor update soon that will contain this fix. Thanks for your report!

@Sjockey
Copy link
Author

Sjockey commented Aug 3, 2018

Thanks you for fixing !
I work in the video game industry and It's really important for me to have Retopoflow2 working with metric units. Usually I don't use blender units.

@vxlcoder
Copy link
Contributor

tested; closing!

@vxlcoder
Copy link
Contributor

vxlcoder commented Dec 3, 2018

Ack! This issue also shows up if near clip distance is too small (actually might not have been units). Reopening...

@vxlcoder vxlcoder reopened this Dec 3, 2018
vxlcoder added a commit that referenced this issue Dec 3, 2018
could not find a fix for issue #573 (jumping brush size when clip start
is too small).

so instead, added a warning alert at start when clip start is too small
@vxlcoder
Copy link
Contributor

vxlcoder commented Dec 3, 2018

I couldn't find a good solution to this. I believe it's a matter of floating point precision :(, which means that there might not ever be a good solution.

Instead, I've added a warning prompt at the start of RF. It will only show if the clip start is too small (<0.1), and it simply states that the brush size may jitter when moving the mouse.

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

3 participants