Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #9207
| From | Horizon68 <horizon@horizon.com> |
|---|---|
| Newsgroups | comp.programming |
| Subject | More explanation about my Graph3D unit |
| Date | 2018-09-09 12:54 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <pn3tpc$6m0$4@dont-email.me> (permalink) |
Hello.... More explanation about my Graph3D unit that i have included inside the zipfile: About the Graph3D unit, it looks like the Graph unit of turbo pascal but it's for 3D graphism, and to understand the variables Rho,Theta,Phi,DE of the InitProj() method of Graph3D unit, please read what's below: When you run the demo program that is called cube3d.pas , here is the keys of the keyboard that permits you to run it: Right arrow: to increase the angle Theta(that is the variable Theta) to move in the plane XY anti-clockwise. Left arrow: to decrease the angle Theta(that is the variable Theta) to move in the plane XY clockwise. Top arrow: to increase the Phi(that is variable Phi) angle to move up and look at the cube from above. Bottom arrow: to decrease the Phi(that is variable Phi) angle to move down and look at the cube from below. Key A: to decrease R(that is variable Rho) to get closer to the cube, we can even penetrate it and pass behind, in the latter case the image obtained will be the opposite. Key E: to increase R(that is variable Rho) to move away from the cube. Key +: to increase the distance D(that is variable DE) between the screen and the eye, this causes an enlargement of the image. Key -: to decrease the distance D(that is variable DE) between the screen and the eye, this causes the image to shrink and possibly be an inverse magnification if D becomes negative, ie if the screen passes behind the observer. Key C: to move from perspective projection to parallel projection and vice versa. During this toggle the parameters which were current are stored in auxiliary variables (RhoResp, DEResp for the perspective and RhoPara, DEPara for the parallel projection) in order to be able to return to it correctly afterwards. Key F: To end the runnning program. You can download my Winmenus verion 1.1 from: https://sites.google.com/site/scalable68/winmenus-using-wingraph Thank you, Amine Moulay Ramdane.
Back to comp.programming | Previous | Next | Find similar | Unroll thread
More explanation about my Graph3D unit Horizon68 <horizon@horizon.com> - 2018-09-09 12:54 -0700
csiph-web