[info-performer] Drawing genuine sprites

Date view Thread view Subject view Author view

From: Bram Stolk (bram++at++sara.nl)
Date: 07/02/2004 04:58:07


Hi there,

I am extending libpfiv with support for Inventor's text nodes.
Now, inventor can do 2 types of text:

SoText3: Object-space 3D text (scales like any 3d obj)
SoText2: Screen-space 2D text (fixed size, regardless of Z-depth)
(Note: the font itself is screenspace, but the text pos is still
properly treated as a 3D pos).

Now, SoText3 maps gently onto pfText,pfString
But how to handle SoText2?

pfSprite sounds promising, however, it is not a sprite, it's more
like a billboard, so of no use for SoTex2 nodes.

More info on SoText2 is here:
http://doc.coin3d.org/Coin/classSoText2.html

Any hints?

  Bram

-- 
"For the costs of subsidized agriculture in the EU, we can have all 56 million
 European cows fly around the world. First Class." - J. Norberg


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Jul 02 2004 - 05:00:11 PDT