there is 2 solutions
the easy one
we used the y abisses at 45 ° the most simple
for point in (1,0,0) we must paint a point with coordinates (1,0)
for point in (0,0,1) we must paint a point with coordinates (0,1)
for point in (0,1,0) paint a point with coordinates (0.5,0.5)
finally the solution is paint (x+y*0.5,z+y*0.5)
the other little difficult
i used the old system for draw a circle
like this
pi:=3.1415926
for i:=0 to 360 do
begin
x:=cos(i*pi/180)*rayon+centerX;
y:=sin(i*pi/180)*rayon+centerY;
// and paint a point at with coordinates (x,y)
end;
so if you want to have the y abisse at 30°for example
AngX:=cos(30*pi/180)
Angy:=sin(30*pi/180)
and paint a point at coordinates (x+y*AngX,z+y*AngY)
and to finish with this 2 solutions dont forget if you want the 0,0 point in the center of the screen
for example if you have a screen with width 800*600
the drawline line become (x+y*AngX+400,z+y*AngY+300)
that all ...
hum ... is it that can help you ???