Hello,
I would like to experiment with repainting 3D objects (sphere, cubes, cylinders, etc.) at run time by varying parameters feeding into a procedural texture library. For example, a sphere could be textured to look like marble, and by moving the mouse horizontally, the patches on the marble become larger or smaller due to procedural texture parameters changing that are bound to mouse postion. The idea is to experiment with larger or smaller spheres and see if a texture looks appropriate as the scale changes, and to try different variations of a texture at these different scales. Anyhow, I am interested in knowing if there are any procedural texture generation libraries available for Processing, or can I interface a Java library called JTexGen (sourceforge.net/projects/jtexgen/ to Processing?
I am writing a sketch right now that uses small spheres of a varying sizes less than ten pixels in diameter and I want them textured (still searching for the right texture, be it pine needles, carpet, marble, Perlin noise, etc. The sketch is a Christmas sketch with colored balls (textured with abstract art images) hanging from tree limbs (made of the small green spheres). I used a method from the book "Generative Design: Visualize, Program, and Create with Processing" by Hartmut Bohnacker, Benedikt Grob, and Julia Laub called "Growth Structure From Agents" for the limbs of the Christmas tree. Once the limbs were generated with the generative method, I designed an editor to place the ornaments in gaps between the tree limbs such that they have the potential to be the largest possible size given the space to be filled.
The code is lengthy, but I can make it available upon request.
