[fpc-pascal] Calculating Pixels to represent 3D coordinates
Wolf
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
<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 at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20190918/49976814/attachment.html>
More information about the fpc-pascal
mailing list