Fix the zoom size and cancel the rotation to the camera of the AIS_Textlabel text displayed on the screen #1196
Unanswered
Aleksandr34nov
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, I'm implementing a program for working with shapes using OpenCascade. Could you please tell me how to make sure the text displayed (using AIS_Textlabel) doesn't rotate when the camera is facing it and always stays within the display size?
And could you also please tell me how to make sure the text displayed using AIS_Textlabel doesn't change size when the camera zooms in?
This is my code:
I want the output text "1" to lie in the size plane and not turn towards us while the camera is moving, and so that it does not change its size when the camera zoom changes.


In the first photo, the text is rotated, in the second photo, the magnification is "1" when the camera is moving away:
Beta Was this translation helpful? Give feedback.
All reactions