martinzwigl
09-25-2001, 05:21 AM
hi folks
i got lighting-normals per poly in my terrain. now i want to do normals per point. building the average from the four planes around my point.
is it a good i idea to calc the normals per plane in the first frame? in the second frame i wanted to calc the normals per point and save it in an array and from the third rendercycle on i just wanted to read from the array. since i got apx. 40 fps i don't think the user would "see" the first two frames.
is there other "fast" possibilities. i don't think there is a way around of first calculating normals to the poly and then building the average.
cheers,
martin
i got lighting-normals per poly in my terrain. now i want to do normals per point. building the average from the four planes around my point.
is it a good i idea to calc the normals per plane in the first frame? in the second frame i wanted to calc the normals per point and save it in an array and from the third rendercycle on i just wanted to read from the array. since i got apx. 40 fps i don't think the user would "see" the first two frames.
is there other "fast" possibilities. i don't think there is a way around of first calculating normals to the poly and then building the average.
cheers,
martin