[Sidefx-houdini-list] Drawing text in the viewport

Mark Alexander malexander at sidefx.com
Tue Sep 13 10:46:05 EDT 2011

On 09/13/2011 10:42 AM, Michael Scarpa wrote:
>>> ISSUE #1: RE_Render::putMultiLineString()
>>> -----------------------------------------

putMultiLineString() is only good for drawing text in a 2D context, as 
it calls textMove2DS() for subsequent lines. If you use it in the 3D 
viewport, the lines will appear at (x,y,0), and be culled because 
they're behind the near clip plane. So you'll have to use multiple 
putString()'s in that context.

>>> ISSUE #2: Flying point numbers
>>> ------------------------------

This is a general issue with bitmapped fonts in the viewport. I don't 
see a fix coming for it, as they are being replaced in the next major 
version of Houdini.


More information about the Sidefx-houdini-list mailing list