z-buffer and pfuSmoke

New Message Reply Date view Thread view Subject view Author view

David RAPIDEL (diginext++at++imaginet.fr)
Fri, 15 Jan 1999 11:55:55 +0100


Hi pfAll,

I came across a z-buffer problem :
I have setup (at the far of my FOV) a set of polygon to map clouds
background. I also use pfuSmoke utilities to simulate explosions. The
problem is that the smoke of the explosion is behind the clouds.

The code looks like :

pfSetVec3(vec, 100.0f, 100.0f, 100.0f);
pfuSmokeOrigin (pState->explosion, vec, 20.0f);

and my far is about 6000;

The z-buffer value of the smoke don't seems to be taken in account.

Thank you for any help,

David

--

David RAPIDEL *---*---*---*---*---*---*---*---*---*---* DIGINEXT Le Tertia II - Pole d'activite des Milles 13851 Aix En Provence - France Tel : +33 0442975633 - Fax +33 0442975649 *---*---*---*---*---*---*---*---*---*---*


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Fri Jan 15 1999 - 03:58:47 PST

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