Wednesday, April 20, 2011

Right Output!

Good News!

We have just debugged a flaw and created the right mesh!

So the bug lied in the function which converts 2D projections to 3D facets:
It should follow the formula of
Ax + By + Cz + D = 0
But when solving x, y and z, for example, x, it was incorrectly calculated as
x = ( D - By - Cz ) / A, where a (-1) is missing before D.

Alright, just some posters, and let's make it better!

Front Silhouette

Top Silhouette

Output Wire Frame

Output Shaded Mesh

Meshes

More complex model


Cheers!

No comments:

Post a Comment