Outils pour utilisateurs

Outils du site


back2root:archives:denthor:part-08

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révisionLes deux révisions suivantes
back2root:archives:denthor:part-08 [2021/09/02 11:27] – [Rotating a point with matrixes] fraterback2root:archives:denthor:part-08 [2021/09/02 11:28] – [Drawing a 3D point to screen] frater
Ligne 215: Ligne 215:
 Think about it. The larger the number you divide by, the closer to zero, or the horizon, is the result! This means, the bigger the Z, the further away is the object! Here it is in equation form : Think about it. The larger the number you divide by, the closer to zero, or the horizon, is the result! This means, the bigger the Z, the further away is the object! Here it is in equation form :
  
-code pascal>+<code pascal>
        nx := 256*x div (z-Zoff)+Xoff        nx := 256*x div (z-Zoff)+Xoff
        ny := 256*y div (z-Zoff)+Yoff        ny := 256*y div (z-Zoff)+Yoff
back2root/archives/denthor/part-08.txt · Dernière modification : 2021/09/18 20:39 de frater