gw.text in front

Hello

Can somebody tell me how to draw text in front of objects ??

Thanks

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
titane357's picture

Anybody ???

Anybody ???

titane357's picture

thanks, but I can't manage

thanks, but I can't manage to write the text on top of geometry : if I write a text in sphere pivot and I am in shaded view, text is hiden by the geometry. I would like to keep the text visible.

mertens3d's picture

I wasn't familiar with

I wasn't familiar with gw.text....now i am. :)

I found this, maybe it'll be helpful.

http://forums.cgsociety.org/archive/index.php/t-285095.html

titane357's picture

sorry to be so

sorry to be so unclear....
In fact I want to write text with gw.text, but I want the text to be always seen, geometry can't hide the text.

mertens3d's picture

I'm not quite sure what you

I'm not quite sure what you asking.

Do you want to place a text spline some Y distance away from a given node?

(without trying this myself)
If so, then you should be able to find the bounding box of the selected node. From that get the coordinates for your new text. Adjust the values (offset as desired), then draw the text spline.

Is that what you mean?

nodeGetBoundingBox
or
nodeLocalBoundingBox

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.