Live data from Hacker News

WebGL Terrain Flyover Demo

zephyrosanemos.com

61–70 of 121 posts

Re: WebGL Terrain Flyover Demo

#61
Every time I click on a WebGL demo I think to myself... here comes my CPU fan and my lap is about to get hot! Seriously though, this demo makes me realize how much programming knowledge I lack. It it totally fascinating. Where would be a good place to start learning this type of programming?

Re: WebGL Terrain Flyover Demo

#62
post #6

Looks nice but runs at awfully slow 4-5 fps on my Ubuntu 64bit system. Is Radeon HD 4200 to weak for WebGL or is there something you need to configure?

Sounds about right. I get up to 11 fps on Ubuntu 64bit on an AMD E-350/Radeon HD 6310 system fullscreen on 1366x768 with the catalyst drivers and hidden GUI and a quick search for benchmarks seems to indicate that it is about twice as fast as the HD 4200 ( http://www.notebookcheck.com/ATI-Radeon-HD-4200.20492.0.html ). You may get a few fps by switching to the proprietary drivers if you do not yet use them, but I wouldn't expect wonders.

[Edit:] And I see up to 13 fps if I fly away from the sun, the author seems to be right when he writes "Calculating sun visibility the geometric way (by casting rays through the terrain and the clouds) can be expensive if not done carefully."

Re: WebGL Terrain Flyover Demo

#63

Every time I click on a WebGL demo I think to myself... here comes my CPU fan and my lap is about to get hot! Seriously though, this demo makes me realize how much programming knowledge I lack. It it totally fascinating. Where would be a good place to start learning this type of programming?

Have you tried not having a CPU fan?

Re: WebGL Terrain Flyover Demo

#66

Every time I click on a WebGL demo I think to myself... here comes my CPU fan and my lap is about to get hot! Seriously though, this demo makes me realize how much programming knowledge I lack. It it totally fascinating. Where would be a good place to start learning this type of programming?

Thank you! I know what you mean about the fan :)

For learning, you can try game development sites, graphics programming books, online Geomipmapping tutorials (for terrain stuff), forum discussions when facing problems... However, the most important thing is general programming experience, I guess.

I remember though that Learning WebGL (http://learningwebgl.com/blog/) was very useful when I began learning things specifically for the web!

Re: WebGL Terrain Flyover Demo

#69
post #55
post #6

Looks nice but runs at awfully slow 4-5 fps on my Ubuntu 64bit system. Is Radeon HD 4200 to weak for WebGL or is there something you need to configure?

Runs well on my machine (32-bit Ubuntu, NVidia drivers, Firefox). You shouldn't need to configure anything for it to be fast in general (if it's blacklisted, it won't run at all), but non-NVidia drivers on Linux can be slower in some cases. Do other WebGL demos run ok for you?

Actually I have to set Chrome to ignore blacklisted gpu:s to get it to run at all. WebGL performance is horrible but other 3d games run decently.

Re: WebGL Terrain Flyover Demo

#70

Chrome Beta for Android gets 3fps. Firefox Beta for Android crashes. Just FYI. edit: 60.1 FPS at 2560x1440 on my desktop (KDE/KWin/Chrome Dev)

Thank you! Quite frankly, I'm surprised the demo even runs (I don't have a smartphone currently). On what device did you test it?

I got circa 17fps on a Nexus 7 tablet running Chrome, in flight mode.

Would love to try with touch control enabled. Great work.

Post reply on HN