Angus Dorbie (dorbie++at++sgi.com)
Tue, 27 Apr 1999 12:04:46 -0700
Neither far nor near will be affected.
Ofcourse if you apply this scale in the right place it will LOOK as if
both are affected but it will actually be the model geometry.
You could make it look like only the far is adjusted by scaling about
the near plane using translations but the frustum & clip is usually
defined in the projection matrix so don't confuse the two operations.
Cheers,Angus.
Scott Herod wrote:
>
> I've been playing with adjusting a channel's ViewMatrix
> by hand and tried applying a uniform scaling to the matrix.
> My tests suggest that the far clipping plane is changed
> by the scale but that the near clipping plane is not. Can
> I depend on changes to the viewing frustum with a scaled
> view matrix or is the behavior of the frustum undefined?
>
> Thank you,
>
> Scott Herod
> scott++at++evt.com
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
-- "Microsoft's system was like a forest that hadn't had a controlled burn in decades, just waiting for one person with a match to turn it into a disaster. Melissa was Microsoft's fault. They left their system wide open to this sort of abuse, they knew it could happen and did nothing." -- Bruce PerensFor advanced 3D graphics Performer + OpenGL based examples and tutors: http://www.dorbie.com/
This archive was generated by hypermail 2.0b2 on Tue Apr 27 1999 - 12:04:52 PDT