delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/10/20:31:49

From: "23yrold3yrold" <cbarry AT pangea DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: 3D-boy is back!
Date: Sun, 10 Sep 2000 19:20:22 -0500
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 64.4.88.43
Message-ID: <39bc2545_4@spamkiller.newsfeeds.com>
X-Trace: 10 Sep 2000 19:20:21 -0500, 64.4.88.43
X-Comments: This message was posted through Newsfeeds.com
X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support, spam or any illegal or copyrighted postings.
X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!!
X-Report: Please report illegal or inappropriate use to <abuse AT newsfeeds DOT com> You may also use our online abuse reporting from: http://www.newsfeeds.com/abuseform.htm
X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS)
Organization: Newsfeeds.com http://www.newsfeeds.com 73,000+ UNCENSORED Newsgroups.
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello! OK, I finally managed, after much effort, to get my polygon doin' its
thing onscreen.Now, a few more questions:

1. Exactly how do you use get_camera_matrix?

void get_camera_matrix(MATRIX *m, fixed x, y, z, xfront, yfront, zfront,
fixed xup, yup, zup, fov, aspect);

The first four and last two I understand, but the front's and up's don't
make any sense to me whatsoever. Are the 'in front' variables an angle or a
location in space? What is an 'up' direction vector? The Allegro docs are
very vague about this.... Also, does it matter in what order you apply this
matrix to an object? I assume one should do it last.

2. What is a good way of creating a 3D model outside of Allegro for use with
Allegro? I've heard 3d Studio Max is capable of this, but unless someone
here can lend me a few grand I'm hoping for another way.

I know not a whole lot of 3D chat goes on here, but I really could use an
Allegro-specific answer. I've been all over the net and get_camera_matrix's
uses seems pretty unique to Allegro. Thank you for your time.


Chris


- Raw text -


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