worlds first: '3d-engine' in php
[nfo]
|
||||||||
---|---|---|---|---|---|---|---|---|
|
||||||||
|
popularity : 68% |
|||||||
alltime top: #13288 |
|
|||||||
|
||||||||
added on the 2002-08-27 15:28:51 by rasmus/loonies |
popularity helper
comments
dorsch
rulez added on the 2002-08-27 15:31:27 by delta
i dont find this prod
please put only direct links
because i dont want to surf your entire website to find a thing
please put only direct links
because i dont want to surf your entire website to find a thing
read the nfo, zone
NFO says :
""to run this you need to have access to a php-server (...) you'll need to install it yourself ""
Arg! and to see EXE demos i need to compile myself ASM or C++ source code ? sorry, no thanx ....
perhaps a good soul can put this on his 'online' server ?
""to run this you need to have access to a php-server (...) you'll need to install it yourself ""
Arg! and to see EXE demos i need to compile myself ASM or C++ source code ? sorry, no thanx ....
perhaps a good soul can put this on his 'online' server ?
where do I get (and what is) gd-lib?
as well as all myroom.tga-s, and cube.bas-es, and noname01.pas-es.
if it is a demo, there should be something to watch...
wireframe cubes suck anyways.
if it is a demo, there should be something to watch...
wireframe cubes suck anyways.
ehm, I have to press F5 (refresh) every time I want a frame ;)
hehe - geil
!
!
lame.
http://phpopengl.sourceforge.net/this rulez.
http://phpopengl.sourceforge.net/this rulez.
At least he put "3d-engine" in quotation marks. :)
hehe, yesterday i began to do smth similiar, and today i see this on pouet :)
selfrefresh with proper timing --index.html
selfrefresh with proper timing --index.html
Code:
<head>
<META HTTP-EQUIV="Refresh" CONTENT="1; URL=http://localhost/index.php?time=<?PHP
if (!isset($_GET['time'])) $_GET['time']=0;
echo ((int)$_GET['time'] + 1);
?>">
</head>
<body bgcolor=#000000>
<center>
<br /><br /><br /><br /><br />
<img src="image.php">
</center>
proper = you wouldn't miss a frame :) with your timing showing a frame depends on how fast the data is sent to the browser
BE GOD
BE RASMUS
ALL HAIL RASMUS
BE RASMUS
ALL HAIL RASMUS
Technically, the needed files to run (kind of equals) the source. It shouldn't be here, rasmus.
I think i'll judge this prod by the screenshot (not feeling to hack right now, and i'm a nice guy anyway... >:)
Well, rotating cubes easy. doing it in PHP tho is an interesting idea. Javascript anyone?
Well, rotating cubes easy. doing it in PHP tho is an interesting idea. Javascript anyone?
Creative idea, but you could do much more than just a wireframe cube with the same.
how ubernerd, sux, really, lame, macaw is, yassyass
i like the idea, but link is broken i guess.
Cool :)
rasmus + box = mandatory win ..
<3
Lame
Yeah, a bit lame. Rotating a cube is simple, and with the GD lib doing it in php is even more simple really.
The concept of server-side demos is interesting me, but not this kind of implementation..
The concept of server-side demos is interesting me, but not this kind of implementation..
I wonder if anything cool, that looks remotely like a demo, can be done in PHP and the likes.
poi: yeah, definitely, but there's a catch or two. With GD you have the tools needed to do software rendering to some extent, plus it supports alpha blending and a bit more already (I guess this demo just plots the vertices and asks GD to draw the lines). But...
Sound has to run on the client, so you either get none, or you have to figure out synchronising everything. With all the different browser implementations. Urgh.
There's no really good way of getting the demo from the server to the browser (everything so far uses constant browser refreshes to fetch the next frame i think - I looked into pushing out an anim-gif from GD ages back but it was either impossible or too much work..)
The next problem is that you have to run the demo on a server. You either have to put it on your own and let people connect, or you hand out the source and tell the viewers to set up their own web server + php just to watch it.. If it's on your own server, you have one instance of the demo running for each viewer, which means sloooow when many people connect, plus it heavily limits the complexity of the code unless you have some huge server farm or limit it to just a few viewers at a time.
What could work: loop the demo, and have just one instance running on the server. Then allow viewers to connect to that. Or perhaps a combined js/php demo, where the server has a few processes each doing one effect, and the js demo connects to them when it wants them and does the rest of the demo itself.
Sound has to run on the client, so you either get none, or you have to figure out synchronising everything. With all the different browser implementations. Urgh.
There's no really good way of getting the demo from the server to the browser (everything so far uses constant browser refreshes to fetch the next frame i think - I looked into pushing out an anim-gif from GD ages back but it was either impossible or too much work..)
The next problem is that you have to run the demo on a server. You either have to put it on your own and let people connect, or you hand out the source and tell the viewers to set up their own web server + php just to watch it.. If it's on your own server, you have one instance of the demo running for each viewer, which means sloooow when many people connect, plus it heavily limits the complexity of the code unless you have some huge server farm or limit it to just a few viewers at a time.
What could work: loop the demo, and have just one instance running on the server. Then allow viewers to connect to that. Or perhaps a combined js/php demo, where the server has a few processes each doing one effect, and the js demo connects to them when it wants them and does the rest of the demo itself.
funky perspective, but hey, first 3D in a PHP demo!
glop
useless bullshit
AMAZING!
so so
glöp
lol
Just use SilverLight and generate a movie-stream in realtime, and use the movie component to play it :)
or or or... you could do something usefull with your time
macaw: cool, seems there's some more useful stuff now then. When I last considered it, it was pretty much just plain GD.
Dunno what exactly the point would be though.. if you're going to do an opengl demo, why bother doing it in php + streaming the output images to a client instead of just rendering to screen? Well, guess we never needed a point before :)
It's really just down to work/reward for me.. to do anything interesting with php would be a fair bit of work, and the rewards would be pretty small compared to a normal demo. I'd do something simple like this if I did anything at all I guess.
Meanwhile, I haven't got time to do much at all.. my half-finished intro tools are sitting around gathering dust :/
Dunno what exactly the point would be though.. if you're going to do an opengl demo, why bother doing it in php + streaming the output images to a client instead of just rendering to screen? Well, guess we never needed a point before :)
It's really just down to work/reward for me.. to do anything interesting with php would be a fair bit of work, and the rewards would be pretty small compared to a normal demo. I'd do something simple like this if I did anything at all I guess.
Meanwhile, I haven't got time to do much at all.. my half-finished intro tools are sitting around gathering dust :/
a procastination job.
Nice idea :)
submit changes
if this prod is a fake, some info is false or the download link is broken,
do not post about it in the comments, it will get lost.
instead, click here !