Hello, AFAIK, I don't think the function is in DD::Image. The one in Denoise renders the text over a semi-opaque red bar in OpenGL manually. Specifically, it sets the projection matrix of the ViewerContext to be orthographic, draws a red bar of viewer width, and uses DD::Image's gl_text() function to draw the text.
Hope that helps, Dan. On Wed, Oct 31, 2012 at 12:47 PM, cluedo <nuke-dev-re...@thefoundry.co.uk>wrote: > ** > Hello, > > I think I must be missing something in the documentation somewhere but > I've had a good look through and can't find anything suitable. I'm looking > to display an information/warning message in the Nuke viewer - such as the > one that Denoise displays asking you to 'position the analysis region over > a flat area of the frame... '. I've looked at: > > void Op::error (const char *fmt,...) > void Op::warning (const char *fmt,...) > void Op::critical (const char *fmt,...) > void Op::debug (const char *fmt,...) > And also the pop-up messages that are available. > > But none of them do what I need. Error and Critical put an error message > up and abort the processing, while warning and debug don't display in the > viewer. I want a message in the viewer but for processing to still continue > - more like an information message or just a warning. > > I'm sure there must be something that I'm missing but I can't find it! Can > anyone help? > > Thanks very much - any help is greatly appreciated [image: Smile] > > _______________________________________________ > Nuke-dev mailing list > Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev > > -- Dan Ring, Ph.D. Research Engineer The Foundry 6th Floor, The Communications Building, 48 Leicester Square, London, WC2H 7LT, UK Tel: +44 (0)20 7968 6828 - Fax: +44 (0)20 7930 8906 Web: www.thefoundry.co.uk Email: dan.r...@thefoundry.co.uk The Foundry Visionmongers Ltd. Registered in England and Wales No: 4642027
_______________________________________________ Nuke-dev mailing list Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev