News for hackers. Stuff that matters.
Re:WebGL Terrain Flyover Demo by bjourne on Sunday March 10, 2013 @03:15PM (#5353061)
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?
Re:WebGL Terrain Flyover Demo by fhars on Sunday March 10, 2013 @05:29PM (#5353555)
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 by nestoras on Sunday March 10, 2013 @03:21PM (#5353089)
I think it's an issue with hardware acceleration on Linux :(
Re:WebGL Terrain Flyover Demo by bd on Sunday March 10, 2013 @03:40PM (#5353155)
Runs super smooth 60 fps on my Thinkpad with Nvidia Quadro 2000 on Windows 7. Very well done.
Re:WebGL Terrain Flyover Demo by hideo on Sunday March 10, 2013 @03:45PM (#5353168)
JustFYI, I'm getting an excellent 40fps-70fps. Thinkpad E420 (intel GPU) running 64bit Linux Mint 14

$ uname -a Linux XX 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Re:WebGL Terrain Flyover Demo by luos on Sunday March 10, 2013 @03:58PM (#5353213)
Did you install specific drivers for it? I'm using a Thinkpad T420 with xubuntu and i only got 12-13 fps in Chrome 24.0.1312.52.

edit: Ok, I figured it out, it's because I used an external 1920*y display, if I resize the window it gets faster.

Re:WebGL Terrain Flyover Demo by mbell on Sunday March 10, 2013 @03:48PM (#5353178)
I'm getting 40fps on a 2012 Macbook Air using Chrome so I doubt its a lack of GPU power, more likely an issue with drivers and/or the compositor.
Re:WebGL Terrain Flyover Demo by the_french on Sunday March 10, 2013 @04:03PM (#5353227)
my retina mbp is getting ~20 fps, seems strange that your air would get double.
Re:WebGL Terrain Flyover Demo by jallmann on Sunday March 10, 2013 @04:24PM (#5353305)
A retina display has to render 4x the pixels of a regular display, so the slowdown isn't too surprising. Same reason why drawing operations were actually faster on the iPhone 3GS than the 4 after the latter came out.
Re:WebGL Terrain Flyover Demo by mbell on Sunday March 10, 2013 @04:33PM (#5353341)
I played with it more and the UI windows seem to make a huge difference, with them all open it drops to around ~25-30fps or so. I probably had only a couple open to get the original 40fps number. With all the windows closed on the air it actually gets right up to 60 fps. I'm leaving everything at the default settings, enabling 'flying mode' and just leaving it flying straight.

I also tried it on my 'mac' desktop with is an i7 920 @ 4.1Ghz with a nvidia 660Ti running OSX, also using chrome and with all windows open it only does ~40-45fps but pegs at 60fps again with them closed.

Resolution probably makes a big difference also, on both machines I have the chrome window 'maximized' but the desktop has 1920 x 1200 monitors vs the air's 1440 x 900 screen. I'm not sure how webgl handles retina resolutions, it's also possible the nvidia gpu isn't kicking in for some reason, assuming your on the 15" rmbp.

Re:WebGL Terrain Flyover Demo by azakai on Sunday March 10, 2013 @05:07PM (#5353465)
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?
Re:WebGL Terrain Flyover Demo by bjourne on Sunday March 10, 2013 @05:58PM (#5353667)
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 by mpyne on Sunday March 10, 2013 @05:22PM (#5353528)
Gentoo 64-bit here, Radeon HD 4350 and managed to get 20-30 fps depending. (git versions of Mesa, libdrm, xf86-video-ati, and a recent kernel, all of which are probably required to get best HW rendering, unfortunately).
Re:WebGL Terrain Flyover Demo by jebblue on Sunday March 10, 2013 @09:52PM (#5354449)
60 FPS here, Ubuntu 64, nVidia GTX 660. Cool demo, thanks. For most people though I doubt they will have good video hardware so I think 3D in the browser is still several years of for the everyday user.
Re:WebGL Terrain Flyover Demo by teamonkey on Sunday March 10, 2013 @11:26PM (#5354738)
Surely the bottleneck is on the CPU for any system bought in the last couple of years? Keeping the GPU fed is going to be the challenge with WebGL.
Re:WebGL Terrain Flyover Demo by nickpresta on Sunday March 10, 2013 @05:00PM (#5353441)
A solid 60fps here with the GUI hidden.

http://i.imgur.com/F04X6D8.jpg

Re:WebGL Terrain Flyover Demo by Goopplesoft on Sunday March 10, 2013 @05:15PM (#5353497)
Build?
Re:WebGL Terrain Flyover Demo by nickpresta on Sunday March 10, 2013 @05:50PM (#5353643)
Retina MBP with 16GB of RAM. All system updates, Chrome Dev Channel.
Re:WebGL Terrain Flyover Demo by nthitz on Sunday March 10, 2013 @03:52PM (#5353197)
Runs pretty well on my Ubuntu 12.10 32bit laptop FWIW. Took me a while to get the drivers right but now most WebGL is snappy.
Re:WebGL Terrain Flyover Demo by uptown on Sunday March 10, 2013 @07:20PM (#5354023)
60FPS with info windows turned off on a maxed out late 2012 iMac.