Hi all, I’m a total n00b to Panda and 3D in general, and so far I’m loving it. One problem that I haven’t found a solution for though.
When I create a TextNode with a Card behind it, and place it in render, the colors don’t work:
info = TextNode(“Card”)
info.setText(“Hello”)
info.setCardAsMargin(0, 0, 0.5, 0)
info.setCardColor(1.0, 1.0, 1.0, 0.
info.setCardDecal(True)
It works fine parented to aspect2d, but not render. Although oddly, the alpha value does work, just not the RGB values. The Card is always black. Same thing if I do setTextColor.
I added the setCardDecal(True) per this post:
panda3d.org/forums/viewtopic … 789b9175c8
but still no luck.
Any help much appreciated! This is the first thing that’s stumped me, the documentation and forums have been a huge help so far.
Thanks
Dan