|
Hi! well i have been searching for ways of doing the same thing for a while now.
To answer your questions based on my experimentations, it is possible to have a “sticky ( as in updating, non flickering) “ text, lines, triangles drawn on viewport using the maxscript’s Viewport Drawing Methods.
i used same approach as you, and used Viewport Redraw Callback Mechanism. basically you have to register a function that includes all your Viewport Drawing Methods, such as gw.text, gw.lines etc etc.
when everything is setup well, it does work, and work well within limited scope.
however, its very tedious, hard to maintain, and has many limitations.
I am still in search of better ways of drawing “2D” elements onto the viewport (such as flat text).
If you still having trouble, i can email you my function which is registered to callbacks. Let me know.
Author: alteredgene
|