delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/24/06:16:58

From: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro : 3D Problems
Date: Thu, 23 Apr 1998 19:47:44 +0100
Organization: None
Message-ID: <zVZbPCAQz4P1Ewzl@talula.demon.co.uk>
References: <6hmd3q$m67 AT bgtnsc02 DOT worldnet DOT att DOT net>
NNTP-Posting-Host: talula.demon.co.uk
MIME-Version: 1.0
Lines: 13
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Steve Patton writes:
>get_camera_matrix_f( &matrix, 0, 0, -10, 0, 0, 0,
>                                 0, 1, 0, 32, 1);

You are passing a zero front vector for your camera. Allegro doesn't
usually care what length this vector is, so there is no need to
normalise it, but zero is obviously a bad thing because it makes it
impossible to tell which direction the camera should be facing...


--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
"Pigs use it for a tambourine" - Frank Zappa

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019