Shadows on OBJ Jitter Models


    Jul 17 2018 | 12:04 pm
    Hi guys,
    I quite new to Max and am trying to become familiar using jitter. Currently I'm using OBJ files through jitter and I'm wanting to cast shadows of a 3D model by a light source. Any ideas?

    • Jul 17 2018 | 2:07 pm
      Hi Connor, here's a starter:
    • Jul 17 2018 | 11:18 pm
      Fantastic! I'll implement this now! Let you know how it goes.
    • Jul 18 2018 | 1:57 am
      Choice, Patch works great. However I get a crash. Im using jit.gl.render instead of jit.world. So whenever I enable a light with "@shadows 1" it crashes the patch. My Max log consists of stack underflow.
      Any ideas?
    • Jul 18 2018 | 5:46 pm
      please post your patch
    • Jul 19 2018 | 12:15 am
      Take a look, let me know what you think. I think this is partly because I'm using a matrix output to affect the triangle polygons. This could be the issue?
    • Jul 19 2018 | 3:31 pm
      don't use jit.gl.render for drawing, instead use jit.gl.mesh (i know our material is outdated in this regard)
    • Jul 20 2018 | 1:46 am
      Wooo! Cheers Rob you have fixed my problem!
    • Oct 14 2021 | 10:50 am
      is there a way to maintain the shadow rendition on a surface materialized with manual heightmap_modes? A jit.gl.mesh seems to only support shadows on its surface when operating @auto_normals 1, using manual heightmaps and normalmaps on an attached jit.gl.material makes the shadows disappear. Any flag I can tick perhaps? Appreciated!
    • Oct 14 2021 | 2:39 pm
      not currently but there is an open feature request for this functionality and I hope to look into it soonish
    • Oct 17 2021 | 7:52 pm
      Thank you Rob, looking forward to it