pfFont and PFDFONT_TEXTURED problem

New Message Reply Date view Thread view Subject view Author view

Uwe Woessner (woessner++at++hlrs.de)
Wed, 06 Oct 1999 08:00:28 +0200


Hello, I had the wrong Subject on my last mail, so probably nobody
looked at it...
The example code is attached to the original Mail from Monday (subject
was Re: pfGeoSet question).

We have a problem with textured strings.
If you load a pfFont with PFDFONT_TEXTURED,
it depends on the Order in the Scenegraph, whether the string is visible
or not.

I attached a little example to this mail, it should show a Text __in
front__
of a rotating cube but what you will see is, that the text is hidden by
the Cube.
You will need the font file Helvetica.bw to test it.

You will see the correct Image, if you swap the two lines

pfAddChild(scene, textDCS);
pfAddChild(scene, rotateDCS);

or switch to PFDFONT_FILLED,
then everything is fine.

Can anybody tell me, if I am wrong, this is a bug, or it is a missing
feature?

Regards,
 Uwe

-- 
               \\\|///  *Rechenzentrum Universitaet Stuttgart*
   _I_         ( o o )            *Visualisierung*                 _I_
  (_++at++_)----oo0O--(_)--O0oo----------------------------------------(_++at++_)
   | |      Uwe Woessner      woessner++at++rus.uni-stuttgart.de        | |
   | |         .ooo0       http://www.hlrs.de/people/woessner/     | |
   |_|         (   )  Oooo.      Phone: +49-711-685-5790           |_|
  (_++at++_)---------\ (---(   )---------------------------------------(_++at++_)
    I            \_)   ) /                                          I
                      (_/

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Oct 05 1999 - 23:21:22 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.