That's not really an annoying page though. I think she was thinking more along the lines of images popping up, stuff following the mouse. Changing the background repeatedly, annoying music and sounds. That sort of stuff. This is a JScript class after all!
You might get more responses if you post the questions, rather than getting people to download something, unzip it, fill it in, zip it, post it. :)
Gender: Male
Age: 21
Marical Status: Single
Tune-in times: 4pm-7pm
Prefered radio station: Radio 1
Why tune in: Because of the...
When i was young i had to give a blood sample, and i threw up in a skin about 2 mins afterwards.
Now i give blood regularly though and have been fine ever since (except the last time where a trainee missed and caused brusing).
It's nice in the UK, because you get 'Awards' every so many...
That could be for a number of reasons, since i don't do any error checking at the moment.
Did you put the exe in the same folder as the earth.bmp file?
Do you have DX9 installed?
What's your graphics card?
And that supports what i said, you've got a fast graphics card and it takes only 15/16 milliseconds to render a frame (which is as fast as the program will let you go).
Imagine a 3D world that you want to see through the screen. The screen can be thought of a window, with you sitting behind it.
With ray tracing you imagine a focus point where your eyes are (only one focus point, unless you want stereo-vision).
At it's most basic, you fire rays from this...
I'm just doing it to see how far i get really, although it'd be cool if i could get it good enough to make a game out of.
It's only in the very early stages at the moment, but i've built it with bigger things in mind. That's one of the nice things about ray tracing, you can start simple and...
Unless you know ASM then there'd be no point decompiling anything. If you don't know what ASM is then you don't know ASM. :)
Plus, that sounds like stealing someone's mod implementation, which is certainly not something i'd help you with.
If on the other hand you mean the valve procided...
As i wrote the code i know exactly when it uses the GPU and when it uses the CPU. :)
It looks like its very system dependent, since the results can be read both ways (you can pick pairs of computers that show the CPU having a big impact, and others where its the GPU.
I wouldn't be suprised...
Not too sure about that. Although it uses the CPU to do the collision detection (between rays and the sphere), as well as a few other things, the actual rendering of the image is just the graphics card.
I've been doing a few more tests, and it looks like its the GPU that's slowing things...