This is an isometric projection I use: var H1 = (Y - X) * 0.86602 + ScreenOrgin_H; var V1 = (X + Y) * 0.5 - Z + ScreenOrgin_V;
Thomas Young 330-256-7064 Sent from my iPhone > On Sep 17, 2019, at 4:53 PM, Gustavo Enrique Jimenez <gejime...@gmail.com> > wrote: > > A simple transformation is: > > P3D=(X,Y,Z) > P2D=(x,y) > > x=X+Y*0.707 > y=Y*0.707+Z > > I did not tried it, but I think that this is the transformation that > you are looking for. > > > Gustavo > > El mar., 17 sept. 2019 a las 17:37, James Richters > (<ja...@productionautomation.net>) escribió: >> >>> 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? >> >> What I'm trying to do is much simpler than rendering a 3D object.. All I'm >> trying to do is display a 3D line drawing or wireframe on the screen. I >> don't need it to dynamically rotate or anything, and it doesn't need to show >> any surfaces, textures, lighting, reflections, or shadows, just give a >> representation of the XYZ points and lines connecting 2 pair of XYZ >> coordinates on the screen. The purpose of this is to show a 3D >> representation of a CNC tool path including the Z movements. >> >> 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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal