strange problem with pfText

New Message Reply Date view Thread view Subject view Author view

Uwe Woessner (woessner++at++hlrs.de)
Thu, 16 Dec 1999 09:58:22 +0100


Hello,

I have the following Nodes in in my scene:

---pfDCS rotateDCS --- pfDCS firstDCS -- pfNode Icon
| |
| - (pfText text)
|
                    -- pfDCS secondDCS -- pfNode Icon

The Icon node is a box with a texture on it, read in by
pfdLoadFile("testIcon.iv").
The Font for the Text is loaded as PFDFONT_FILLED.

Now whenever I add the pfText node to the "firstDCS" node, the texture
of the second instance of
"Icon" disappears.
It does not matter wether I use the same node twice or load a different
Icon.
When I use textured fonts (PFDFONT_TEXTURED), then the thexture of the
second Icon changes to the
font texture.

In a multichannel application, this is a per channel problem. So on any
channel, all the "Icons" displayed before
a pfText are correct and the rest are not.

Can anyone give ma a workaround for this problem?

It looks like some state caching problem... Is there any way, how I can
tell Performer to flush the state cache
after a pfText object?

I can give you a small example code that shows the problem if you like.

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 Thu Dec 16 1999 - 00:58:37 PST

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