Uwe Woessner (woessner++at++hlrs.de)
Thu, 16 Dec 1999 09:58:22 +0100
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
(_/
This archive was generated by hypermail 2.0b2 on Thu Dec 16 1999 - 00:58:37 PST