pfuDrawSmokes

New Message Reply Date view Thread view Subject view Author view

Marco Crocetta (giraffe.asd.sgi.com!sgi.sgi.com!relay.iunet.it!hpdtmt2!onyx)
Thu, 27 Jul 95 9:28:24 METDST


Hi,

I'm having some trouble in drawing smokes with pfuDrawSmokes.

What happens is that smokes don't behave as billboards.
In fact, smokes don't rotate to face the eyepoint.
I think that the argument I supply to pfuDrawSmokes function
is not the right.

Here is my source code fragment, in the Channel PostDraw function:

        pfPushMatrix();
        pfuGetXformerCoord(Shared->xformer, &coord);
        pfTranslate( coord.xyz[0], coord.xyz[1], coord.xyz[2] );

        pfSetVec3(vec, ?, ?, ?); /* I don't know what to put in here */

        pfuDrawSmokes(vec);
        pfPopMatrix();

What does pfuDrawSmokes need as argument ?

Thanks for any help.

---------------------------
 Antonio Diotallevi
 DATAMAT SpA, Rome
 e-mail: onyx++at++datamat.it
---------------------------


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:42 PDT

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