Giter Site home page Giter Site logo

Comments (3)

ijm avatar ijm commented on September 13, 2024

Do you have GLFW installed ? ( http://www.glfw.org/ )

from webgl-noise.

stepheneb avatar stepheneb commented on September 13, 2024

No.

I do now:

$ brew install glfw

and got these results:

GL vendor:     NVIDIA Corporation
GL renderer:   NVIDIA GeForce GT 330M OpenGL Engine
GL version:    2.1 NVIDIA-1.6.26
Desktop size:  1680 x 1050 pixels
Noise version: 2011-04-03

Constant shading, 3169.8 Msamples/s
2D simplex noise, 445.9 Msamples/s
3D simplex noise, 191.5 Msamples/s
4D simplex noise, 100.9 Msamples/s
2D classic noise, 442.4 Msamples/s
3D classic noise, 140.9 Msamples/s
4D classic noise, 59.2 Msamples/s

The simplex noise benchmarks sped up aprox 10% after I disconnected the second display but strangely the Constant shading slowed by about 25%.

Constant shading, 2220.0 Msamples/s
2D simplex noise, 487.8 Msamples/s
3D simplex noise, 211.3 Msamples/s
4D simplex noise, 111.8 Msamples/s
2D classic noise, 483.7 Msamples/s
3D classic noise, 155.9 Msamples/s
4D classic noise, 65.5 Msamples/s

from webgl-noise.

stegu avatar stegu commented on September 13, 2024

error: GL/glfw.h: No such file or directory

You need to install the package "glfw" for MacOSX.
See glfw.sourceforge.net for instructions.

/usr/X11/include/GL/glext.h:3985: error: expected ‘)’ before ‘red’
/usr/X11/include/GL/glext.h:3986: error: expected ‘)’ before ‘mode’

These two are strange. Tell me if these persist after installing GLFW.
I run a Mac myself, and I have no problems building the benchmark.

from webgl-noise.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.