Mon, 02/10/2003 - 15:45
This is in continuation with my eariler question about displaying 2D text.
My OCC application has both 2D and 3D window.I want to display some text in the 3D window.Currentley, it is displayed only in 2D window and not in 3D. Is there a way to display a 2D text in the 3D window? I am using the ISession2D_Text class used in one of the samples.
Mon, 02/10/2003 - 18:14
yes you can, but you will have to build your own 3d text class, AIS_Text3D for example. That is what we did here. It is quite simple, just look at other AIS class to see how to do it, and use method like Prs3d_Text::Draw to draw the presentation.