HELP ! Light Points Fractal


    Jan 26 2022 | 9:39 am
    Hi there.
    I am a beginner and need some help.....
    I want to combine the Example from OpenGL3 Package "tb.pl.disco.duck" with *fractal.explorer" from the Examples in "jitter - gen".
    I am having problems to apply the "light points" as a texture to the shapes....
    I have attached the Patch for better understanding....so far I think I am right to change the videoplane to layer...... Thanks in advance and all the best from Switzerland.
    Tim

    • Jan 26 2022 | 9:50 am
    • Jan 26 2022 | 10:35 am
      Hey Max, in which way exactly are you trying to combine the two patches? The fractal explorer patch creates a fragment shader to render a texture with some fractals visualization. You cannot directly apply lights to this shape without going into some complex modification of the jit.gl.pix shader in the patch, since this is just a shape created with math operators and not actually rendered from OpenGL vertices. So it doesn't have vertex positions, doesn't have normals, doesn't have a way to get any vertex information, apart from deriving it from the shader code. The disco lights patch uses a completely different approach, by having the color of a 3D model being influenced by "lights" positions and colors contained into a texture. This patch renders the shape using vertices and the OpenGL pipeline, not just as a 2D texture like the fractal patch. So the patches are not easy to mix up without some advanced knowledge of shader coding.
    • Jan 26 2022 | 11:10 am
      Ciao Federico.
      thanks for taking time to look at my question. I am happy for support from a professional. Just 2 weeks ago I purchased your Bump.map.generator and I am having awesome fun with it. Thanks. It's worth each penny.
      BTW
      yes, unfortunately I do not have advanced knowledge..thats why I cannot answer the question in which way I want to combine the 2 patches...just little over 2 month working with max. I understand now the problem. Unfortunately I do not have the knowledge for editing the shader code.
      But...I want to achieve that the light points move over the shapes of the fractal....
      will it be complicated to edit the shader ?
      Grazie. Tim
    • Jan 26 2022 | 5:50 pm
      you simply need to use the jit.gl.pix output as the texture for some geometry that is bound to the point.light shader (ie patch the jit.gl.pix to a jit.gl.mesh):
    • Jan 26 2022 | 5:58 pm
      alternatively, capture the point.light bound geometry to the jit.gl.node and send that output through the jit.gl.pix for fractal processing (my guess is this is more what you're thinking):
    • Jan 26 2022 | 8:39 pm
      Rob. the 2nd version was xactly what I wanted to achieve. So easy. I am speechless. I made quick 8 bar loop and recorded a short demo video with my patch. Believe my....I had fun playing with it.
      Regards from Switzerland
    • Jan 26 2022 | 8:56 pm
      Hey Max, very glad Rob chimed in and helped! Sometimes I lack on imagination : ) The demo looks fresh!
    • Jan 27 2022 | 10:18 am
      one more question please:
      is it possible to use 3d objects like .dae or .obj. instead of the simple gridshape models in the fractal ?
      I added a object in the center and like to replace the gridshape "torus" with the object.
      hope I made myself clear....
    • Jan 27 2022 | 12:31 pm
      ok. I managed it. thx. topic closed.
    • Apr 20 2022 | 8:17 am
      Hi Max,
      Super impressed with your patch. Wondering if I may use it as a starting point to create some visuals for a modular synth piece I'm working on. Of course I would give you and Rob a shout out!
    • Apr 21 2022 | 7:38 pm
      Hi Marika.
      thanks. I feel honored 🤩. Of course. Feel free to use it in whatever way you like. just one wish: I am interested to see / hear how u used it 😀
      let me know if you have any questions.
      have fun. Tim
    • Apr 22 2022 | 9:00 am
      Thanks Tim and thanks for making yourself available if I have questions - In my head, it looks really cool, hopefully I can pull it off. I'll post a link when I'm done