From: "Steve Patton" Newsgroups: comp.os.msdos.djgpp Subject: Allegro : 3D Problems Date: Wed, 22 Apr 1998 21:36:56 -0600 Organization: AT&T WorldNet Services Lines: 33 Message-ID: <6hmd3q$m67@bgtnsc02.worldnet.att.net> NNTP-Posting-Host: 12.67.33.33 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I'm starting to get the hang of the 3D stuff in Allegro, but I keep coming up with problems. I've narrowed down one of the problems using get_camera_matrix (both fixed and floating)... when I compile this, and apply this it does several things, first the bit of code MATRIX_f matrix; get_camera_matrix_f( &matrix, 0, 0, -10, 0, 0, 0, 0, 1, 0, 32, 1); When I run it under RHIDE (without step, just pushing Ctrl-F9), it will run, and then not do anything (as if it were an identity matrix), sometimes it will stop responding until I do a Ctrl-Alt-End (with install_keyboard), if I step it, as soon as it does that operation, it gives me a SIG_PFE, and if I run it straight from DOS, it gives me a SIG_PFE as well. It doesn't make a difference whether I'm using floating point, or fixed (changing MATRIX_f to MATRIX, and get_camera_matrix_f to get_camera_matrix ), it gives me a SIG_PFE. In my code, if I exchange it with a get_translation_matrix_f( &matrix, 0, 0, 10); it works just fine, and translates accordingly. Are their values you can't put into the get_camera_matrix_f, are there precautions that I need to take? I've tried to copy every step that other examples that use the get_camera_matrix_f (which work just fine), and I still get this. Is there something I'm doing wrong? -- -Steve Personal : http://home.att.net/~pattonl