Distributing noise in 3 dimensions using jit.gl.mesh

    Mar 06 2013 | 3:38 pm
    Hello everybody,
    I'm trying to generate a 3-dimensional point cloud starting from jit.noise, but I can't get to "scale" the otuput of jit.noise (which goes from 0 to 1) to the vertex array requested by the jit.gl.mesh (which is signed normalized -1. - 1.) In the example below, I was trying to use swiz inside jit.gen, but I don't know if that's the correct approach.

    • Mar 06 2013 | 5:46 pm
      I just found the [scale] operator in jit.gen...
    • Mar 06 2013 | 7:20 pm
      Yep. For remapping the range of values, scale is the best operator.
    • Mar 07 2013 | 11:38 am
      Here's a first attempt to give the cloud a less "cube-y" shape and a more interesting "evolving blob" likeness...
      I believe something better can be done, if anyone wants to share their ideas, please welcome.