<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>What you are trying to do is write a very simple CAD program.
Have a look at <a moz-do-not-send="true"
href="https://www2.mathematik.tu-darmstadt.de/~ehartmann/cdgen0104.pdf">this
link</a>, which gives the basic formulae and also Pascal
routines to do it.</p>
<p>Wolf<br>
</p>
<div class="moz-cite-prefix">On 18/09/19 2:10 AM, James Richters
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:161901d56d61$995ecd80$cc1c6880$@productionautomation.net">
<pre class="moz-quote-pre" wrap="">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 - <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a>
</pre>
</blockquote>
</body>
</html>