Subject: Re: 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.
That test is wrong. You have to test not only the normal vector, but
also the position of the plane along that normal, to know if it's
visible. A plane can very well be completely behind the camera, and
still have it'z normal.z be positive.
Hans-Bernhard Broeker (firstname.lastname@example.org)
Even if all the snow were burnt, ashes would remain.
View All Messages in comp.graphics.algorithms
Basic perspective/normal q =>
Re: Basic perspective/normal q
Copyright © 2006 WatermarkFactory.com. All Rights Reserved.