I'm in open GL mode, our mod will kick you otherwise (because we had fog to allow mappers to make bigger spaces and hide the rendering artifacts you get if there's no fog blurring distant objects in HL) ;).
I just used opengl functions directly to render similar fog and it works just fine. I still get no TriAPI fog under steam, and I can't figure out why.
Same build of my mod in regular halflife worked fine -- that is, I took what was using TriAPI fog and rendering it, copied it to steam folders and it produces no TriAPI fog, and yes i'm in OpenGL mode in both cases.
I suppose if it works for you Tony, then something else we're doing broke the fog under steamHL, but we can just use the OpenGL stuff I suppose, it's pretty much the same thing.
At 02:39 PM 9/22/2003 -0700, you wrote:
to follow up on Tony's email, fog will only work under OpenGL.
Tony "omega" Sergi wrote: > 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
_______________________________________________ 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

