What's new

N64 Glide Plugin. part 3

Status
Not open for further replies.

Falcon4ever

Plugin coder / Betatester
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

Well...
if you had downloaded the Glide3x SDK and unzip it to your HD and looked in the map:
HD:\3Dfx\Sdk\Glide3x\Doc

You would found a manual called Gl3pgm.doc
(I explain really clear how to use glide functions)

That's the manual you will need to create things for Glide Apps.
It seems that the site you are reffering to copied most stuff of it.

:) :cool:
 

mesman00

What's that...?
16 years old?? wow, it's gotta be hard to contribute all his time to this project at that age. i'm 17, and i find it hard to program for 5 hrs a week. It seems like Dave is spending at least 5 hrs a day. Also, that's alot of knowledge for a 16 year old to have, im sure he's quite intelligent. anyways, keep it up.
 

Dave2001

Moderator
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. :p

Oh, and also sometimes Gugaman and Gonetz help me too with things. Although I am the main coder, they help me a lot with side things, example: Gonetz sent me the code to be able to run waverace, Gugaman helped me get texrects working properly

It's really hard to contact Gonetz b/c he lives in Siberia, and I am in the US, so we email almost every night. Gugaman is from Brazil, so he's a little easier to talk to, but doesn't have as much time to work on it.
 
Last edited:

Dave2001

Moderator
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)
 
Last edited:

The Khan Artist

Warrior for God
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. :p

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. :p

BTW, how much math have you done? Second-year Algebra? I'm doing first.
 

Dave2001

Moderator
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. :p

BTW, how much math have you done? Second-year Algebra? I'm doing first.

Hehe, that's fine with me. There's no point in keeping it to myself; I'm not making anything off of it.
 
OP
Cyberman

Cyberman

Moderator
Moderator
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)

Really that doesn't make sense.. if it doesn't make sense that it's not right.
What are you calculating here actually?
using the 255 instead of 1 gets you -0.00554126354515 for density. :)

Name what is W and what did you assume is 1?

Cyb
 

Dave2001

Moderator
Hehe, I've finally got an avatar for myself after almost three months :)

I've got another neat picture of link, but I asked some people and they said they didn't like it as much.

Screenshot taken with Glide64 too. ;) This is why I waited. No other plugin looks good enough on my computer to take a screenshot of Zelda 64 with.
 
Last edited:

Doomulation

?????????????????????????
Hehe... it appears to me that Dave and me are pretty much same, though, we live in other places, I'm older, Dave knows how to use Glide (maybe DX? at least some part of it), and he knows c++, but I know a little of DX (DirectMusic and DirectInput) and knows about VB, and it trying to learn c++. I don't know much about graphics, though :(

I'd help if I could, but honestly I don't understand a squat! Teach me! :innocent:
 

lightknight

New member
MrTangix, i will take

VisualStudio.net
I currently have :

4 yellow CDs labeled "VisualStudio.net Academic"
1 silver CD labeled "VisualStudio.net Academic - Student Tools"
1 silver CD labeled "VisualStudio.net Professional - Microsoft Windows Component Update" off of you and i will pay for the shipping and handling! they could realy help me out on my projects!

Just reply if you want to make a deal with me.!!
 
Status
Not open for further replies.

Top