Basic perspective/normal q
I'm still struggling with this basic 3d stuff!
I have a 3d rotation matrix, a set of planes, and a couple of normals
associated with these planes. To draw a plane I rotate the associated normal
and test if its z is positive (right-handed AFAIK). If so, the plane is
visible and should be drawn.
Drawing it requires a perspective transform, but that might render it
*invisible* when it should be visible -- and the other way around! Imagine
looking into an open box -- logically, both left and right inside walls
should be visible. But the normal transform tags one side visible and the
other one invisible. This calculation has its own logic (the opposite walls
have opposite normals), so I know must be the perspective transform that
messes up the (valid!) normals transformation.
Somehow the next step escapes me. Surely the perspective transform leaves
the origial z worthless, and the remaining x and y can't be used for
visibility tests?
[Jongware]
.
Relevant Pages
- Root Finder and Example
... These n planes intersect each other with various lines (they can all be ... they have angles between all of their normals (also easily ... sinis expanded as a power series, and x/2 is canceled from both ... (sci.math.symbolic) - All Roots to Any Polynomial, with example
... that (Q-B) and are not parallel). ... These n planes intersect each other with various lines (they can all ... they have angles between all of their normals (also easily ... sinis expanded as a power series, and x/2 is canceled from both ... (sci.math) - All Roots to any Power Series
... These n planes intersect each other with various lines (they can all be ... they have angles between all of their normals (also easily ... Supposing the solution t=w exists. ... intersection of the planes at C. Supposing, then, that C is a solution. ... (sci.math) - All Roots to any Power Series
... These n planes intersect each other with various lines (they can all be ... they have angles between all of their normals (also easily ... Supposing the solution t=w exists. ... intersection of the planes at C. Supposing, then, that C is a solution. ... (sci.physics) - All Roots to any Power Series
... These n planes intersect each other with various lines (they can all be ... they have angles between all of their normals (also easily ... Supposing the solution t=w exists. ... intersection of the planes at C. Supposing, then, that C is a solution. ... (sci.astro) |
|