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.
OKAY FOR REAL THOUGH
Moderator: General Moderators
Re: OKAY FOR REAL THOUGH
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)
- daedalus__
- DevNet Resident
- Posts: 1925
- Joined: Thu Feb 09, 2006 4:52 pm
Re: OKAY FOR REAL THOUGH
meh i just thought they were both neat.
Re: OKAY FOR REAL THOUGH
They are, but totally unrelated to each other
- daedalus__
- DevNet Resident
- Posts: 1925
- Joined: Thu Feb 09, 2006 4:52 pm
Re: OKAY FOR REAL THOUGH
yeah i know? 
fl studio vst in lmms YUJM
fl studio vst in lmms YUJM
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: OKAY FOR REAL THOUGH
Maybe work on your subjects next time 
I keep forgetting what this thread is, and keep clicking on it.
I keep forgetting what this thread is, and keep clicking on it.