ROY RUDDLE (saprar++at++thor.cf.ac.uk)
Fri, 5 May 1995 14:55:03 +0100 (BST)
Any suggestions anyone? Code is (C++):
pfChannel *left = pfNewChan(pfGetPipe(0));
float v_fov = 22.5f;
float t = pfTan( v_fov );
pfMakePerspFrust(left, -1.0f, 0.0f, -t, t);
pfFrustNearFar(left, 1.0f, 1000.0f);
float ffh, ffv;
pfGetFrustFOV( left, &ffh, &ffv );
cout << "frust FOV " << ffh << " " << ffv << endl;
------------------------------------------------------------------------
Roy Ruddle, Principal Researcher | School of Psychology
Tel: 01222 874523 (direct) | University of Wales College of Cardiff
01222 874007 (messages) | PO Box 901
Fax: 01222 874858 | Cardiff CF1 3YG
Email: Ruddle++at++CARDIFF.AC.UK | UK
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:28 PDT