Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #3368
| From | "Charles Richmond" <numerist@aquaporin4.com> |
|---|---|
| Newsgroups | comp.programming |
| Subject | Re: Using Equations To Represent Graphics |
| Date | 2013-05-21 19:01 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <knh1lf$oo$1@dont-email.me> (permalink) |
| References | <dd651185-6c10-4032-884a-0105618facc0@v14g2000yqm.googlegroups.com> |
"Brian" <briansipler@yahoo.com> wrote in message news:dd651185-6c10-4032-884a-0105618facc0@v14g2000yqm.googlegroups.com... > Hi, I have one last question about programming: > > I read somewhere that programmers sometimes use mathematical equations > to represent graphics, and that the programmers write code that > transforms the equations into the graphics that they want. I didn't > know this was possible. Is it possible to do this? > Perhaps you are thinking about something like transformation matrices. As I understand it, each point considered three-dimensionally can be represented by a 3x3 matrix of values. So for a group of points, you have a group of matrices... one matrix for each point. Using the matrix of the point, the point can be projected on the plane of the computer screen. When some points are joined by lines... the produce a wire-frame picture. Transformation matrices can be "applied" (i.e., the matrix for each point is multiplied by a transformation matrix) to produce a rotation or other modification of the two-dimensional picture by altering the point's matrix... as the matrix specifies the point's location in three dimensions. The "projection" on the computer screen is like viewing the grouping of points from one side or another. Here are some websites that describe some of this: http://en.wikipedia.org/wiki/Transformation_matrix http://www.senocular.com/flash/tutorials/transformmatrix/ If you are interested, I suggest that you find a good book on the subject. -- numerist at aquaporin4 dot com
Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Using Equations To Represent Graphics Brian <briansipler@yahoo.com> - 2013-05-21 09:19 -0700
Re: Using Equations To Represent Graphics James <jjpuzzles@wowway.com> - 2013-05-21 11:28 -0700
Re: Using Equations To Represent Graphics Brian <briansipler@yahoo.com> - 2013-05-21 12:22 -0700
Re: Using Equations To Represent Graphics James <jjpuzzles@wowway.com> - 2013-05-21 13:10 -0700
Re: Using Equations To Represent Graphics JJ <duh@nah.meh> - 2013-05-22 02:44 +0700
Re: Using Equations To Represent Graphics "Chris M. Thomasson" <no@spam.invalid> - 2013-05-21 13:48 -0700
Re: Using Equations To Represent Graphics "Charles Richmond" <numerist@aquaporin4.com> - 2013-05-21 19:01 -0500
Re: Using Equations To Represent Graphics Brian <briansipler@yahoo.com> - 2013-05-21 17:25 -0700
Re: Using Equations To Represent Graphics bob <bob@coolfone.comze.com> - 2013-05-22 09:20 -0700
csiph-web