Marco Crocetta (giraffe.asd.sgi.com!sgi.sgi.com!relay.iunet.it!hpdtmt2!onyx)
Thu, 27 Jul 95 9:28:24 METDST
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
---------------------------
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:42 PDT