morphing model


    Mar 20 2011 | 7:40 pm
    Hi, I'm trying to figure out why, using the xfade for morphing between two models (same numbers of faces, etc.) I display the models, all is working but they have NO SHADOW/LIGHTING ENABLE even if I try to enable them, the picture really sucks... I'm wondering why...

    • Mar 23 2011 | 7:48 pm
      Looks like your jit.gl.models aren't passing normals. You can render the geometry using jit.gl.mesh with @auto_normals 1 to have them generated for you.
    • Jun 19 2011 | 8:48 pm
      I'm not sure I get it, maybe is my fault but seems the mesh is not rendering anything... anyway it wasn't so important this project so it's ok :) thanks for the answer! i'll play with this patch again when i'll have free time and if i discover something i'll post it!