Falcon4ever
Plugin coder / Betatester
According to what he told me and what's displayed in his ICQ info, he's 16 years old...
Kashulty_DucK said:Hello All,
At the risk of sounding retarded I found this great site for GLIDE programing. Not too much on fog specificly but it might help. By the way Dave, I love the plug-in. Oh yeah here's the link:
http://www.gamers.org/dEngine/xf3D/glide/glidepgm.htm
Dave, how long have you been programming for??
whats the next n64 rom will you be working on in your plugin?
Dave2001 said:hehe, yes, I am 16 years old. I don't know where the time to program comes from, but somehow it's there and I use it.
The Khan Artist said:
Wow! I figured you were in college and taking 3D gfx programming. That's really good. Well, you've inspired me. Whenever I finish d/ling Visual Studio 6 off Morpheus, I'm gonna try making one in SDL... if you don't mind me stealing a decent portion of your code, that is.
BTW, how much math have you done? Second-year Algebra? I'm doing first.
lightknight said:how about zelda642 mom usa?!
Dave2001 said:Ok, I am very confused by this equation:
guFogGenerateExp() generates an exponential fog table according to the equation:
e^(–density*w)
(quoted from glide programming manual)
now, I'm trying to solve for density given a w value, say 1000. I believe that this equation should equal 1 at full fog.
Somebody please check my work:
1 = e^(-density*w)
1 = e^(-density*1000)
ln(1) = -density*1000
ln(1)/-1000 = density
now, when you plug that in, you get:
0/-1000 = density
density = 0
0???? 0 can't be the density to have full fog at 1000!!!
Can someone please help me figure out what might be wrong with this?
I have also heard the equation, (1-e^(-density*w))*255, where it would equal 255, but when I solve this equation I get the same thing but ln(0) instead of ln(1)