Distributing noise in 3 dimensions using jit.gl.mesh

Mar 6, 2013 at 3:38pm

Distributing noise in 3 dimensions using jit.gl.mesh

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.

– Pasted Max Patch, click to expand. –
#66899
Mar 6, 2013 at 5:46pm

I just found the [scale] operator in jit.gen…

– Pasted Max Patch, click to expand. –
#240814
Mar 6, 2013 at 7:20pm

Yep. For remapping the range of values, scale is the best operator.

#240815
Mar 7, 2013 at 11:38am

Here’s a first attempt to give the cloud a less “cube-y” shape and a more interesting “evolving blob” likeness…

– Pasted Max Patch, click to expand. –

I believe something better can be done, if anyone wants to share their ideas, please welcome.

#240816

You must be logged in to reply to this topic.