Re: GLSL noise fail? Not necessarily!
Benchmark result for ATI Radeon HD 4850:
Quote:
GL vendor: ATI Technologies Inc.
GL renderer: ATI Radeon HD 4800 Series
GL version: 3.3.10428 Compatibility Profile Context
2D simplex noise, version 2011-03-21, 2455.1 Msamples/s
3D simplex noise, version 2011-03-21, 1413.6 Msamples/s
4D simplex noise, version 2011-03-21, 870.9 Msamples/s
Re: GLSL noise fail? Not necessarily!
My over three year old laptop with integrated Intel graphics:
Code :
GL vendor: Tungsten Graphics, Inc
GL renderer: Mesa DRI Intel(R) 965GM GEM 20100330 DEVELOPMENT
GL version: 2.1 Mesa 7.10
2D simplex noise, version 2011-03-21, 23.1 Msamples/s
3D simplex noise, version 2011-03-21, 15.4 Msamples/s
4D simplex noise, version 2011-03-21, 9.0 Msamples/s
Re: GLSL noise fail? Not necessarily!
And here's the results for software rendering on an Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz:
Code :
GL vendor: Mesa Project
GL renderer: Software Rasterizer
GL version: 2.1 Mesa 7.10
2D simplex noise, version 2011-03-21, 0.3 Msamples/s
3D simplex noise, version 2011-03-21, 0.2 Msamples/s
4D simplex noise, version 2011-03-21, 0.2 Msamples/s
Re: GLSL noise fail? Not necessarily!
We've added Stefan's benchmark's (and Stefan) to the repository and included a number of suggestions and fixes from earlier in the thread.
http://github.com/ashima/webgl-noise
Re: GLSL noise fail? Not necessarily!
The code in the Github repository provided by Ian has now been updated rather a lot, and I no longer recommend using my pre-packaged zip archives posted above. They still work, but I will not be updating them on a regular basis. Please use the Github repo to get the latest versions of the shaders and the benchmarking application.
And for those of you wondering, yes, there is a write-up coming. We're working on it right now. In the meantime, feel free to ask any questions here.
Re: GLSL noise fail? Not necessarily!
Re: GLSL noise fail? Not necessarily!
The invSqrt taylor approximation uses the value 0.83666002653408, which is the square root of 0.7, shouldn't this be the inverse root of 0.7, i.e. 1.195228609 ?
Re: GLSL noise fail? Not necessarily!
Yes, of course. Good catch, thanks! It has only a minor effect
on the final result, but it does make a difference. This change
will be committed to the repository as soon as I have
determined the corresponding scaling of the final values.
EDIT: Github repository updated.
Re: GLSL noise fail? Not necessarily!
We've changed the licence to the MIT License.
:)
Re: GLSL noise fail? Not necessarily!
Results on a MacBook, not very impressive, but this week I will post the results on a GTX580 :)
GL vendor: NVIDIA Corporation
GL renderer: NVIDIA GeForce 9400M OpenGL Engine
GL version: 2.1 NVIDIA-1.6.26
Desktop size: 1280 x 800 pixels
2D simplex noise, version 2011-03-25, 134.4 Msamples/s
3D simplex noise, version 2011-03-25, 61.7 Msamples/s
4D simplex noise, version 2011-03-25, 25.9 Msamples/s