Angus Dorbie (dorbie++at++sgi.com)
Wed, 06 May 1998 09:55:25 -0700
This may be a state issue, perhaps you need to enable lighting
or some such thing for the string. Look at the setGstate method,
and check the material color mode, geometry color attributes may
be getting ignored.
> 2) I scale the strings with pfStringMat etc. This works but it is a bit
> cumbersome. Is there no pfFontSize command? I cannot find it inthe man
> pages.
>
> 3) ThreeD fonts look very nice, but in my application they are a bit
> superfluous and seem to put quite a load on my Indigo2. I just want a few
> lines of simple text : are there simpler fonts for this purpopse? (I tried
> using the FontManager and fmprstr() but that crashed the program).
>
Look at pfdLoadFont, you have a large choice of styles most
of which eliminate the 3D stuff you probably currently use
PFDFONT_EXTRUDED. You can even use textured quads.
Cheers,Angus.
-- "Only the mediocre are always at their best." -- Jean GiraudouxFor advanced 3D graphics Performer + OpenGL based examples and tutors: http://www.dorbie.com/ ======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:22 PDT