[fpc-pascal] Calculating Pixels to represent 3D coordinates
wv99999 at gmail.com
Tue Sep 17 23:03:58 CEST 2019
What you are trying to do is write a very simple CAD program. Have a
look at this link
which gives the basic formulae and also Pascal routines to do it.
On 18/09/19 2:10 AM, James Richters wrote:
> I'm curious if Freepascal has any package available that would calculate X,Y screen pixels based on 3D X,Y,Z data at some given rotations. I'm using Agg-Pas with PTC-Graph in a console application on Windows. I'm not sure what the technical term is for figuring out what pixels are used to represent 3D coordinates on a 2D screen, but I'm hoping maybe there is something that just does the calculations that I can use in conjunction with Agg-Pas and PTC-Graph instead of moving to a complete graphics package.
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal