03-28-2014, 03:08 PM
i was thinking about that.
it sounds interesting!
let me know if i can follow your idea (coz atm iam not able to read the erlang code):
- you calculate the vertex normals by the adjacent edge-normals?
- the result of that should be the same than the standard vertex-normal-per-face
calculation (the smooth vertex normals) with just the difference,
that non-planar n-gons don´t change the vertex normals (coz the sourrounding edges
correct the vertex normal)?
is that right?
if so it is a really good idea, that will improve the shading while modelling!
is that your intention? can i follow you?
perhaps you can tell me more for what it is also good?
ok, you asked if anybody else is suffering from the (so called smooth-vertex) calculation.
so, i have to say if the new calculation don´t change the shading in anyway to the
old vertex-calculation(just drop the non-planar n-gons out of the calculation) it´s good!!!
if the new calculation changing the shading just a little bit in any other way,
it should get a extra-button to call it if needed (CALCULATE VERTEX NORMALS by EDGES) coz
the standard shading is (in practical use) the vertex normal calculation a artist needs.
to create a output that fits perfect to game engines and some render-apps while modelling.
Here you can read some lines from the XNORMAL-Documentation... to prevent artifacts in the
normal-map it has a AVERAGE-NORMAL function. coz some exporters do crazy stuff:
"Using the “smooth normals method” option will calculate each vertex normal using the
normals of the adjacent triangle faces,
which is much better for the normalmap computation and will reduce possible seams.
xNormal can automatically average normals so you won't need to export the normals neither in the high
polygon model neither in the low polygon model.
However, you can export your custom-defined per-vertex normals and use them in xNormal selecting the
option “Use exported normals”, but I don't recommend it unles you are are VERY experienced artist. Also,
exporting vertex normals with your model more disk/memory space will be required.
...and here some lines from the old BLENDER 2.4 doc:
"Technically, in a 3D space, only faces have normals
(the normal of a surface at any point is the vector perpendicular to the plane which is tangential to the surface at that point).
However, it is sometime useful to have normals for vertices, and even edges – the later being interpolated from their two vertex ones.
There are two cases for vertex normals:
If the vertex pertains to one or more faces, its normal is the interpolated value
of all the normals of these faces.
If the vertex does not pertain to any face, its normal is aligned with the line
from the object’s center passing through this vertex."
it sounds interesting!
let me know if i can follow your idea (coz atm iam not able to read the erlang code):
- you calculate the vertex normals by the adjacent edge-normals?
- the result of that should be the same than the standard vertex-normal-per-face
calculation (the smooth vertex normals) with just the difference,
that non-planar n-gons don´t change the vertex normals (coz the sourrounding edges
correct the vertex normal)?
is that right?
if so it is a really good idea, that will improve the shading while modelling!
is that your intention? can i follow you?
perhaps you can tell me more for what it is also good?
ok, you asked if anybody else is suffering from the (so called smooth-vertex) calculation.
so, i have to say if the new calculation don´t change the shading in anyway to the
old vertex-calculation(just drop the non-planar n-gons out of the calculation) it´s good!!!
if the new calculation changing the shading just a little bit in any other way,
it should get a extra-button to call it if needed (CALCULATE VERTEX NORMALS by EDGES) coz
the standard shading is (in practical use) the vertex normal calculation a artist needs.
to create a output that fits perfect to game engines and some render-apps while modelling.
Here you can read some lines from the XNORMAL-Documentation... to prevent artifacts in the
normal-map it has a AVERAGE-NORMAL function. coz some exporters do crazy stuff:
"Using the “smooth normals method” option will calculate each vertex normal using the
normals of the adjacent triangle faces,
which is much better for the normalmap computation and will reduce possible seams.
xNormal can automatically average normals so you won't need to export the normals neither in the high
polygon model neither in the low polygon model.
However, you can export your custom-defined per-vertex normals and use them in xNormal selecting the
option “Use exported normals”, but I don't recommend it unles you are are VERY experienced artist. Also,
exporting vertex normals with your model more disk/memory space will be required.
...and here some lines from the old BLENDER 2.4 doc:
"Technically, in a 3D space, only faces have normals
(the normal of a surface at any point is the vector perpendicular to the plane which is tangential to the surface at that point).
However, it is sometime useful to have normals for vertices, and even edges – the later being interpolated from their two vertex ones.
There are two cases for vertex normals:
If the vertex pertains to one or more faces, its normal is the interpolated value
of all the normals of these faces.
If the vertex does not pertain to any face, its normal is aligned with the line
from the object’s center passing through this vertex."