From: jahare++at++iastate.edu
Date: 08/10/2001 08:09:58
Hi Bram -
I had to handle the same situation for our current project. I ended up
writing a custom pfIconNode class that inherited from pfDCS.
Essentially you feed the camera's position in world coordinates to the
pfIconNode, and every frame the IconNode checks the scene traverser's matrix
(from which you can get the IconNode's position and rotation in WCS), then
changes its own rotations so that it always faces the camera.
So if you're comfortable writing your own classes, this is one way to go.
If you want to check out the source, send me an email and I can shoot it
down the line to you.
justin
-----------------------------------------
Justin Hare <jahare++at++vrac.iastate.edu>
Virtual Reality Applications Center
Iowa State University, Howe Hall
http://www.vrac.iastate.edu
-----------------------------------------
> Anyone here tackled billboarded text yet?
>
> It looks quite cumbersome, as pfBillboard is a pfGeode,
> and it seems that a major hassle is involved:
>
> - get strings from pftext
> - for each string traverse characters
> - for each character, get the geoset
> - add geosets to the billboard
>
> Is there an easier way?
>
> I always wondered why pfBillboard is derived from pfGeode.
> Surely a derivation from pfDCS would make more sense?
>
> Thx,
> Bram
This archive was generated by hypermail 2b29 : Fri Aug 10 2001 - 08:08:54 PDT