mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Programming (https://www.mersenneforum.org/forumdisplay.php?f=29)
-   -   Java applet alternative (https://www.mersenneforum.org/showthread.php?t=21689)

a1call 2016-10-27 23:26

Java applet alternative
 
Will need windowz, but works on all browsers just fine.
Seems like an ultimate web 3-D interaction and rendering applet. since it appears that java applets are dead and not going to be revived anytime soon due to security concerns.

[url]http://madebyevan.com/webgl-water/[/url]

LaurV 2016-10-28 17:02

wow! that runs wonderful in my browser! (edit: two gtx580 in the box, but barely fill any load)

chalsall 2016-10-28 17:28

[QUOTE=LaurV;445908]wow! that runs wonderful in my browser! (edit: two gtx580 in the box, but barely fill any load)[/QUOTE]

Damn impressive!

Works under both Firefox and Chrome under Linux (FC24); much faster on the latter. And this machine doesn't have a terribly fast GPU.

firejuggler 2016-10-28 17:40

Web GL is supposed to replace Unity AFAIK, being more portable and lighter.

CRGreathouse 2016-10-28 21:41

[QUOTE=a1call;445877]Will need windowz, but works on all browsers just fine.[/QUOTE]

Works for me on Ubuntu 16.04 (Chrome and Firefox). Chrome is noticeably faster for me.

Edit: chalsall beat me to it on both counts!

chalsall 2016-10-28 21:53

[QUOTE=CRGreathouse;445928]Edit: chalsall beat me to it on both counts![/QUOTE]

You pulled your punches. 9-)

Uncwilly 2016-10-28 22:40

Really smooth and cool.
[COLOR="DimGray"][SIZE="2"]Although there are some physics issues. (Dropping the ball does not displace the water correctly.)[/SIZE][/COLOR]

axn 2016-10-29 14:02

Works fine without any discrete GPU at all (i3-6098P / HD 510)

chalsall 2016-10-29 18:35

[QUOTE=Uncwilly;445936]Although there are some physics issues. (Dropping the ball does not displace the water correctly.)[/QUOTE]

Nor does moving the sphere just below the surface do any displacement.

But I don't think that's the point; this isn't a high-resolution finite element analysis simulation here. This level of GL rendering *in a browser* is the thing being highlighted here.

Uncwilly 2016-10-29 19:06

[QUOTE=chalsall;445973]But I don't think that's the point; this isn't a high-resolution finite element analysis simulation here. This level of GL rendering *in a browser* is the thing being highlighted here.[/QUOTE]At that is why I put it in a different (lighter) color, after the complement. I was going to make the text small too.
:ttu:

kladner 2016-10-29 19:27

I passed this along to partner Dan, and he got hooked for a good part of an hour. It does have its flaws, but it's just [I]too[/I] cool, anyway. :w00t:
It reminded me of a place we stayed, a few miles outside of Chichen Itza: Hotel Dolores Alba. It has two pools. Both are unusual in their own ways, but one is mind-blowing.

It is on a hilltop, which has a large limestone outcropping. They smoothed down a few of the roughest places, plugged some holes, and built a pool wall around it. To one side is a contiguous kiddie pool, with an incredibly Mexican fountain in the middle.

The fountain has a central column, with (maybe) 3 tiers, like a wedding cake. Water bubbled out at the top, and then successively dripped down until they fell in the pool. All of the surfaces were concrete, with many hundreds of mismatched tiles set into it. There may have been duplicate tiles in there, but the impression was of a cloud of unique fragments.

At night, with the underwater lights on and the fountain running, the play of light and shadow over the very irregular limestone was mesmerizing. No chemical assistance involved. It truly was trippy all on its own. :crazy:


All times are UTC. The time now is 13:17.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.