Is it possible you could somehow not be in opengl mode? (I've not
checked to see if fog works for me or not via tri-api, I shall do that
and let you know my results when I finish what I'm working on at the
moment)


-omega
http://www.frontline2.com


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pat Magnan
Sent: September 22, 2003 5:08 PM
To: [EMAIL PROTECTED]
Subject: [hlcoders] TriAPI fog missing under steam?

I had to get things setup to debug under steam, to step through my code
(I
do a bunch of checks to see if I should render fog or not (i.e. are we
in
the spectator inset window in a map overview, etc), but all the checks
work
like they did before, but for whatever reason:

gEngfuncs.pTriAPI->Fog ( g_iFogColor, g_iStartDist, g_iEndDist, bFog );

Doesn't produce fog (bFog is true when debugging the code in question).
Anyone else seeing this issue?

It's possible it's timing too.. first pass through the above code my
checks
could be good, but later not so I'm going to get it to spew the values
out
now and see if  it's just on my end.


Pat 'sluggo' Magnan
Tour of Duty mod
http://www.tourofdutymod.com



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders




_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to