odd behavior with jit.gl.camera and Jit.gl.node to jit.gl.material


    Apr 30 2017 | 12:47 pm
    Hi,
    I noticed this strange behaviour when trying to use the output of jit.gl.node as diffuse texture for jit.gl.material (see simplified patch below)
    As I move the camera of the main render context, the texture doesn't cover anymore the entire gridshape, as you can see in the images below
    camera at the original position

    • Apr 30 2017 | 12:54 pm
      mmm... the site has truncated my post!
      here's how the story goes on:
      this is what appears when I move the camera further
      Otherwise, patch displays the expected results when I send a texture image in the diffuse inlet: the texture wraps around the shape regardless of camera position.
    • Apr 30 2017 | 6:48 pm
      you need to override the camera movement in the sub-node context. simply add a [ jit.gl.camera NODE ] to your patch.
    • May 01 2017 | 10:07 am
      Thank you Rob!