-
Notifications
You must be signed in to change notification settings - Fork 43
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
I want to know how to deal with label confusion when there are many nodes. #128
Comments
Hello @wxxwjef , thanks, |
Hello @saskaale The following actions can reproduce the bug. // code start |
@canerakdas |
@wxxwjef thank you for the code example! Yes, this is definitely a issue in our codebase. @canerakdas weird. Yeah, the texture seems not to be caching the Glyphs per characted and instead of it is rendering it again and again. The caching code: |
@canerakdas Hello Caner, I just looked at it and it seems to be bigger issue overally. However we tried to consider the default text generator as a deprecated so we are would be using the SDF one which is supposed to have better performance. It would also not have any issue with too many nodes with long text because it works character-wise intead of whole label and also internally supports lazy character caching.
thanks, |
Hey @wxxwjef , @saskaale , I'm not sure how to fix default font size , but as default is basically deprecated and @wxxwjef , just change this part in the code
basically the size of label is dynamic and on 2000 nodes, size becomes minimal, so changing the font type and size does the work. |
@hjhimanshu01 |
@saskaale do you mean poor in terms of the performance (rendering speed) ? |
@saskaale |
And Many nodes display a different label than the actual label.
The text was updated successfully, but these errors were encountered: