Autumn
oos.moxiecode.com
oos.moxiecode.com
C64 Music video: http://oos.moxiecode.com/js_webgl/c64_shader/
Attack on the Death Star with an X-Wing: http://oos.moxiecode.com/js_webgl/xwing/index.html
Endless Forest: http://oos.moxiecode.com/js_webgl/forest/index.html
Particle Waterfall: http://oos.moxiecode.com/js_webgl/waterfall/index.html
Gold Rays: http://oos.moxiecode.com/js_webgl/godrays/index.html
Spiders 2 (Hammertime): http://oos.moxiecode.com/js_webgl/spiders_2_hammertime/
Stopping by Woods on a Snowy Evening: http://oos.moxiecode.com/js_webgl/woods_xmas/
EDIT:
R-Type on the SNES! http://oos.moxiecode.com/js_webgl/snes_retro/
Seeing this makes me think of a future when we'll be doing the same and instead of looking at this in a browser, we'll actually be able to stand under a tree and watch the leaves fall.
As technologists, we have to make sure not to get too caught up in our own bubble. We have to remember what kind of a job our technology actually does for people, what kind of a role it actually plays in their lives. And I think the VR enthusiasts right now have a tendency to lose sight of that.
This rendered like crap in my browser, but I'd probably take a 2.5-5 minute break once a day to look at leaves. That'd probably be about all I could stand. What's the difference between 30 seconds and 30 minutes staring at leaves? They're leaves. They all look the same and they all act the same. They're mostly the same color. They don't do anything interesting.
There's a disturbing undercurrent in industrial societies of fetishizing the "natural", and I think that's the only reason anyone would enjoy sitting in the cold looking at a goddamn tree for a half hour -- to make a tribal statement about how ~enlightened~ they are because they can ~appreciate~ the ~beauty~ of ~nature~.
I mean, you're probably a developer, aren't you? Your time is valuable. Why waste it looking at a tree? Just keep this open in a small tile on your desktop and glance at it once every few hours if you really like leaf videos.
edit - just in case it isn't satire. I habitually watch trees quite a lot. I have been obsessing a bit recently with how light reflects off particularly waxy leaves making the colours change with the sky. It doesn't particularly matter that they are trees though, I can watch buildings in much the same way. Is more to do with an appreciation of light.
Multiply that "goddamn tree" by say, a forest, and then stare at it, looking at the different patterns created by the mixing of trees. Then come back the next day and see how things have changed. Or, just open up you editor and stare at your code. Same diff.
>I mean, you're probably a developer, aren't you? Your time is valuable. Why waste it looking at a tree?
I have a hunch that not many people die peacefully thinking "wow, the most important way I spent my valuable time was coding" when reflecting on life and happiness.
Coming from someone who does enjoy sitting in nature for hours at a time observing life, it's mostly about forgetting all the "important" bullshit that will be waiting for me when I get back home. The experience also gets 10x better when you're out in nature with someone who you care about.
That's not to say that there aren't obnoxious people always talking about how "enlightened" they are. I'd say they are in the minority, however.
A personal theory (though, I limit myself from saying it because it sounds kind of nuts) is that the world we're in currently (i.e. our "real world") is merely the advanced simulation of a past civilization. In essence, the Matrix is real and we're hooked into a machine somewhere. Though, I can't say I fully agree with dystopian humans-as-robot-fuel theory.
So, what kind of role could VR play in our lives? Creating more immersive, interactive cinema. This is an old idea from the 60's: http://www.vasulka.org/Kitchen/PDF_ExpandedCinema/ExpandedCi....
What I wish you said, however, is that we have a responsibility to remember what we need to do for people. The argument for standing under a tree rather than watching this could be: you can have a totally enveloping, tranquil experience without burning coal, without fracking, without necessitating the employment of exploited factory workers, without supporting the mass extraction of resources (and corresponding environmental destruction), and without adding another broken gizmo to the landfill in 5 years.
For those working on the technology, rather than building escapist fantasy worlds, you could work to make our actually existing, real, external world (note: fallacy), which is dysfunctional for billions of people, more functional. You could also refuse to build escapist fantasy worlds for people who themselves could be making a difference in the world rather than consuming resources and funneling money to the wealthy corporations in exchange for "virtual goods."
And you could also do this through VR. HMD's don't even necessarily need to display virtual worlds. Virtual worlds don't need to be purely hedonic.
All that said, maybe lying on a tempur-pedic mattress and staring up at an artificial autumn-scape is exactly what someone needs. Who can say.
No, but a lot of VR stuff is BS recreation of reality -- not a Tarkovsky.
The demo run just fine (perceivable 10-15fps) on my oldest chromebook - C710. And it is amazing.
Yes, you are able to see it by clicking a link on news.ycombinator.com.
In fact, all articles on Hacker News are viewable by clicking a link. That's why they're here.
No not really. Just web developers being excited that the lords and masters who control their s̶h̶a̶c̶k̶l̶e̶s̶ sandbox have dropped them a few crumbs allowing them to compete with the native software of 1996.
Here's a list of actual software that was released in 1996:
http://en.wikipedia.org/wiki/1996_in_video_gaming
Notable entries for this conversation:
* Duke Nukem 3D * Civilization II * Quake * Command & Conquer: Red Alert * Diablo * Quake
These were good games, but not necessarily what anyone would consider graphical powerhouses with a modern frame of reference.
Compare a pixar film to your average AAA video game, hour(s) of rendering time vs millisecond(s).
1. I click in Firefox and it just works
2. I click in IE and it just works
3. I click on my iPhone and it just works
… repeat as desired …
That's never been true of OpenGL (or 3D in general) before so there's always been this divide in what people consider possible for a web app (i.e. convenient, easily shared) and the conventional software model where someone needs to download and install something first – a big step up in delay and complexity, and a reasonable hesitation for the security-conscious.
The excitement comes from the fact that now none of that is necessary for many uses – if you're working on a non-AAA game, 3D object viewer, interactive diagram, etc. etc. etc. you get support for 70% of web users globally without having to take on the expense of desktop development and support or supporting so many different toolchains. This isn't a big change for the major players who are still going to do that for other reasons but it simplifies a ton of casual usage.
WebGL runs everywhere that is objectively a Good Thing™. Your criticism is aimed at the optimisation rather than the technology.
The person who created this could, theoretically, add a little slider to let you adjust the visual quality to meet your PC's performance characteristics.
Additionally WebGL can also be utilised for things which only get rendered once (e.g. single 3D frames). Like generating 3D graphs for one suitable example.
If they wanted to, they could even auto-scale the quality based on frame-rate to ensure that everybody had a good experience.
Right now, this is still maturing – e.g. for me that demo runs great even on an old iPhone 4S, 2010 MacBook Air, etc. but on a lowest-bidder Dell laptop with the cheapest possible Intel integrated graphics, it struggles. One hardware generation refresh, however, and even the cheap equipment is adequate for many uses - after all, that 2010 MBA was only $1k 4 years ago.
The upshot is that the excitement is because this is finally reaching the point where support will have matured by the time most people will ship a serious app. There are already some interesting WebGL-only applications like Polarr (https://www.polarr.co/editor) which suggest that the model is already plausible for many projects.
Yes, a sense of joy.
On my S3 I have to enable it on Chrome and most people are using the native Android browsers.
On my Windows Phone, my 3D samples turn into a wireframe models.
Instead we have more restricted web languages, but at the cost of performance.
Basically.
Second, web sites are not allowed to execute native code, but all the modern JavaScript engines compile down to native code. My intuition tells me to expect the performance of compiled JavaScript to be low, however I have seen endless benchmarks that say that's not the case and JITed JavaScript should be plenty fast.
However I feel this disconnect between those benchmarks and reality. The benchmarks say it's fast, while in fact I perceive it to be pretty slow and a resource hog.
On my fairly old MBP, all fullscreen 3D apps (also native games) kick the fan into high gear immediately and the bottom gets warm very quickly, while most "reasonable" WebGL demos don't have this effect (e.g. some of the lighter ones from here: http://alteredqualia.com/)
Interesting discussion: http://security.stackexchange.com/questions/13799/is-webgl-a...
I agree the approach raises some doubts, as it gives untrusted web content a degree of indirect control over what kind of "safe" shader code gets passed to the GPU shader compilers. But the first-order issues are addressed by the specced security model (https://www.khronos.org/webgl/security/).
Microsoft says the security is too bad to develop for, but that could be a play for DirectX (whatever it's called now) more than a real security worry.
Point is, it seems like a lot of the WebGL security is based on "don't worry, we tested everything!"
[1] http://www.phoronix.com/forums/showthread.php?106228-RadeonS...
[2] http://amd-dev.wpengine.netdna-cdn.com/wordpress/media/2012/...
https://code.google.com/p/angleproject/
It is likely the IE team didn't worry about portability of IE between Windows, Linux and OSX, thus they did some direct connection to DirectX that wasn't that feasible for the Chrome team.
Edit: Didn't crash second time around. Still Beautiful.
I'm looking forward to a plugin-free web! Now if only we could get people to upgrade from IE8 and 9.
Fun demo.
thanks for sharing