pouët.net

worlds first: '3d-engine' in php
[nfo]
screenshot added by rasmus/loonies on 2002-08-27 15:28:51
platform :
type :
release date : august 2002
  • rulez 11
  • is ok 14
  • sucks 8
popularity : 1%
 1%
  • rulez 0.09
alltime top: #9880
added on the 2002-08-27 15:28:51 by rasmus/loonies rasmus/loonies

popularity helper

increase the popularity of this prod by spreading this URL:

or via: facebook twitter google+ pinterest tumblr

comments

dorsch
rulez added on the 2002-08-27 15:31:27 by delta delta
i dont find this prod
please put only direct links
because i dont want to surf your entire website to find a thing
read the nfo, zone
added on the 2002-08-27 15:46:24 by _-_-__ _-_-__
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 ?
where do I get (and what is) gd-lib?
added on the 2002-08-27 16:04:38 by fractalgp fractalgp
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.
sucks added on the 2002-08-27 16:09:01 by FooLman FooLman
zone: you don't get a .exe from this, you get a .php page that is displayed through a webbrowser. to avoid overload on the webserver i decided not to put it online - but instead share the needed files.

fractal: i just found that gd-lib was installed at the uni i attend - so i tested the code there. i suppose that gd-lib is something for linux which php/apache has somekind of interface for.
ehm, I have to press F5 (refresh) every time I want a frame ;)
added on the 2002-08-27 16:16:15 by fox fox
put something like this in a .html
Code: <META HTTP-EQUIV="Refresh" CONTENT="0"> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <img src="image.php">
hehe - geil
!
rulez added on the 2002-08-27 16:30:03 by gekko gekko
lame.
http://phpopengl.sourceforge.net/this rulez.
sucks added on the 2002-08-27 17:01:56 by jb jb
At least he put "3d-engine" in quotation marks. :)
added on the 2002-08-27 17:02:40 by tomaes tomaes
hehe, yesterday i began to do smth similiar, and today i see this on pouet :)
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>


added on the 2002-08-27 18:15:06 by Payda^pcn Payda^pcn
payda, how would your approach give "proper" timing? I am using the servers internal clock to get the time .
proper = you wouldn't miss a frame :) with your timing showing a frame depends on how fast the data is sent to the browser
added on the 2002-08-28 00:50:40 by Payda^pcn Payda^pcn
okay, my timing is the way people normally do stuff in the demoscene :-D
BE GOD
BE RASMUS
ALL HAIL RASMUS
rulez added on the 2002-08-28 16:58:23 by stil stil
Technically, the needed files to run (kind of equals) the source. It shouldn't be here, rasmus.

added on the 2002-08-28 17:10:40 by Shifter Shifter
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?
rulez added on the 2002-09-01 04:24:05 by Gargaj Gargaj
Creative idea, but you could do much more than just a wireframe cube with the same.
rulez added on the 2002-09-01 11:26:17 by drstranger drstranger
how ubernerd, sux, really, lame, macaw is, yassyass
sucks added on the 2002-09-19 08:51:28 by dubmood dubmood
i like the idea, but link is broken i guess.
rulez added on the 2006-04-23 02:59:52 by ragnor ragnor
Cool :)
rulez added on the 2009-05-01 21:52:17 by Queen_Luna Queen_Luna
rasmus + box = mandatory win ..
rulez added on the 2009-05-06 10:09:17 by dwarf dwarf
<3
rulez added on the 2009-05-06 10:19:49 by Preacher Preacher
Lame
sucks added on the 2009-05-06 12:05:15 by 24 24
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..
sucks added on the 2009-05-06 12:22:38 by psonice psonice
I wonder if anything cool, that looks remotely like a demo, can be done in PHP and the likes.
added on the 2009-05-06 12:40:08 by p01 p01
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.
added on the 2009-05-06 12:57:29 by psonice psonice
funky perspective, but hey, first 3D in a PHP demo!
added on the 2009-05-06 13:29:54 by stijn stijn
useless bullshit
sucks added on the 2009-05-06 15:20:08 by elkmoose elkmoose
AMAZING!
sucks added on the 2009-05-06 15:21:28 by kusma kusma
so so
added on the 2009-05-06 15:56:19 by toxie toxie
glöp
sucks added on the 2009-05-06 16:47:43 by Sir Sir
lol
Just use SilverLight and generate a movie-stream in realtime, and use the movie component to play it :)
added on the 2009-05-06 16:56:59 by sagacity sagacity
sagacity, this was made years before silverlight was even thought of :)

psonice, you can do whatever you'd like to do. i actually think there is an extension for PHP that allows you to render opengl to image. So go, go!
... and to make server side image streams look nicer, you could always crossfade between each frame at the client :)
or or or... you could do something usefull with your time
added on the 2009-05-07 09:49:28 by elkmoose elkmoose
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 :/
added on the 2009-05-07 09:49:39 by psonice psonice
heh, i wrote this back when i was at university. i guess this is what you could call an "overspringshandling" in danish (stuff you do to avoid preparing for examns).
a procastination job.
added on the 2009-05-07 20:48:31 by p01 p01
Nice idea :)
rulez added on the 2012-01-12 14:17:21 by rez rez
rulez added on the 2016-02-20 03:47:15 by cxw cxw

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 !

[previous edits]

add a comment