What you are trying to do is write a very simple CAD program. Have a look at this link <https://www2.mathematik.tu-darmstadt.de/~ehartmann/cdgen0104.pdf>, which gives the basic formulae and also Pascal routines to do it.

Wolf

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.

James
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to