I'm trying to display the gw text above everything else in viewport. As of right now it displays and everything right but it is hidden by the objects.
Does it have to be converted to screen space or something?
unRegisterRedrawViewsCallback showObjectNames
fn showObjectNames=
(
gw.setTransform(Matrix3 1)
for o in objects where not o.isHidden do
(
gw.text o.pos (o.name as string) color:yellow
)
gw.enlargeUpdateRect #whole
gw.updateScreen()
)
registerRedrawViewsCallback showObjectNames
showObjectNames()
By JokerMartini · 2011-11-18
Anubis · 2011-11-19