Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.algorithms > #882
| From | David Melik <dchmelik@hipplanet.com> |
|---|---|
| Newsgroups | comp.graphics.algorithms, comp.sys.ibm.pc.demos |
| Subject | Re: figured part out; new questions |
| Date | 2012-06-23 19:29 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <js5u27$em0$1@dont-email.me> (permalink) |
| References | <js189n$aso$1@dont-email.me> <js1gs8$n8h$1@dont-email.me> <js1l5t$ems$1@dont-email.me> <4fe645de$0$1581$91cee783@newsreader04.highway.telekom.at> |
Cross-posted to 2 groups.
On 06/23/2012 03:40 PM, Johann Klammer wrote: > I did not read your code, but what you need to read/google/whatever > seems to be "perspective projection". The division thing essentially > causes those parts farther away to appear smaller. Parallel projection > or orthographic basically omits this step. what is left to do afterwards > is scaling the resulting image to your screen coordinates. > As I hardly use the openwatcom graphics thingy anymore, I do not know > the correct factors to use. Thanks; I found that Abe's Demo School discusses it, though it contradicts Denthor's tutorials, which seem to have a mistake. I had also tried to derive rotation matrices myself, but failed, so I got them from the VLA text files again. Open Watcom is not a graphics thing: it is a compiler. > You should look up perspective projection and coordinate transformations > in a decent maths book. You may also want to read 'The Red Book'. It is > available online and contains a primer on the various types of > transformations(Chapter 3). The coordinate systems are openGL specific, > and may require adaptation to your case. 'The Blue Book' may also be > worth a look. Can you or anyone recommend the top 3D maths or 3D graphics books, even if they are over 1000 pages? I would prefer something that uses C or C-style C++ if anything. I looked at 'The Red Book,' but it was not as clear as Abe's Demo School. I will attach my fixed code, but I am going to do a new version, because now some stuff is hard, coded in.
Back to comp.graphics.algorithms | Previous | Next — Previous in thread | Next in thread | Find similar
questions about rotating cube graphics in C++ (aiming for C) David Melik <dchmelik@hipplanet.com> - 2012-06-22 00:53 -0700
figured part out; new questions David Melik <dchmelik@hipplanet.com> - 2012-06-22 03:19 -0700
Re: figured part out; new questions David Melik <dchmelik@hipplanet.com> - 2012-06-22 04:33 -0700
Re: figured part out; new questions Johann Klammer <klammerj@NOSPAM.a1.net> - 2012-06-24 00:40 +0200
Re: figured part out; new questions David Melik <dchmelik@hipplanet.com> - 2012-06-23 19:29 -0700
Re: figured part out; new questions Nobody <nobody@nowhere.com> - 2012-06-25 22:40 +0100
Re: figured part out; new questions Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2012-06-26 00:20 +0200
Re: figured part out; new questions legalize+jeeves@mail.xmission.com (Richard) - 2012-06-29 18:59 +0000
Re: figured part out; new questions David Melik <dchmelik@hipplanet.com> - 2012-06-23 19:36 -0700
Re: figured part out; new questions JohnF <john@please.see.sig.for.email.com> - 2012-07-01 13:50 +0000
Re: figured part out; new questions David Melik <dchmelik@hipplanet.com> - 2012-07-08 22:36 -0700
csiph-web