I was having problem with displaying 2D text in a 3D window. I managed to overcome it by creating my own class AIS_3DText.Now, I can display the 2d text in a 3D window but I am not able to set its color,font and angle. How do I do that? I tried,
Prs3d_TextAspect* textAspect = new Prs3d_TextAspect();
Handle(AIS_3DText) aGraphicText = new AIS_3DText(aText,tmpPnt); // My own class
It does not seem to work.Can anybody help me?
Thanks in advance,