Page 1 of 1

OKAY FOR REAL THOUGH

Posted: Tue Dec 08, 2009 8:17 pm
by daedalus__
look at this

http://www.glenrhodes.com/wolf/myRay.html

and then this

http://www.dreamincode.net/code/snippet685.htm

go ahead try it i did

remember to set the header.

totally useless but neat. wonder what would happen if you use ajax to pull in the bits of the image that change each frame.

Re: OKAY FOR REAL THOUGH

Posted: Wed Dec 09, 2009 4:54 pm
by josh
That game uses flash. I dont think generating 3d images in PHP would work. I did a map application, it had a lot of code that looked like that (that onion2k helped me with). It ran very slowly though, during load testing we had to make the design decision to "pre render" all our maps and lock the user in distinct zoom levels. You wouldn't be able to serve the images in real time, let alone for 5,000 simultaneous users. The human eye needs about 6-12 FPS to perceive motion, multiply that by a few thousand users and your server would be hurtin. Thats why most online games implement client/server (the client, the desktop PC, renders the "view" and the server just tracks coordinates of player positions and such)

Re: OKAY FOR REAL THOUGH

Posted: Wed Dec 09, 2009 5:29 pm
by daedalus__
meh i just thought they were both neat.

Re: OKAY FOR REAL THOUGH

Posted: Wed Dec 09, 2009 9:34 pm
by josh
They are, but totally unrelated to each other

Re: OKAY FOR REAL THOUGH

Posted: Thu Dec 10, 2009 2:45 pm
by daedalus__
yeah i know? :P

fl studio vst in lmms YUJM

Re: OKAY FOR REAL THOUGH

Posted: Thu Dec 10, 2009 2:48 pm
by John Cartwright
Maybe work on your subjects next time :banghead:

I keep forgetting what this thread is, and keep clicking on it.