[jitter] Re: Random points on a sphere
Andrew Benson
andrewb at cycling74.com
Tue Feb 26 12:39:13 MST 2008
- Previous message: [jitter] Re: Re: Random points on a sphere
- Next message: [jitter] jitter audio
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, If you don't mind using a vertex shader to do the work, you can use this slightly modified version of the spherical harmonics patch I posted previously to get it working. This also has the problem of distributing more points near the poles, but you might try to work around this by using other types of noise generation (jit.bfg?) or doing some math to manipulate the distribution of theta/phi coordinates. You might also play around with using audio waves to generate a matrix of point locations with jit.poke~. The vertex shader uses a 3D poltocar equation, so you might be able to extract the necessary math from there and make use of jit.op or jit.expr to apply it. Hope that helps. Andrew B. -------------- next part -------------- A non-text attachment was scrubbed... Name: sphericalHarmonic.zip Type: application/zip Size: 3551 bytes Desc: not available Url : http://www.cycling74.com/pipermail/jitter/attachments/20080226/0913b71b/sphericalHarmonic.zip
- Previous message: [jitter] Re: Re: Random points on a sphere
- Next message: [jitter] jitter audio
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
