[fpc-pascal] Calculating Pixels to represent 3D coordinates

Ryan Joseph genericptr at gmail.com
Tue Sep 17 22:05:48 CEST 2019

What exactly are you trying to do? Usually if you’re doing 3D this all happens on the GPU and you get back a color/depth buffer. Maybe you need to know where a 2D coordinate is in 3D space?

> On Sep 17, 2019, at 10:10 AM, James Richters <james at productionautomation.net> 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.

	Ryan Joseph

More information about the fpc-pascal mailing list