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évision
Ré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:34] frater
Ligne 1: Ligne 1:
-===== PART 8 ===== +===== PART 08 : Optimization  ===== 
  
 Hello everybody! Christmas is over, the last of the chocolates have been eaten, so it's time to get on with this, the eighth part of the ASPHYXIA Demo Trainer Series. This particular part is primarily about 3-D, but also includes a bit on optimisation. Hello everybody! Christmas is over, the last of the chocolates have been eaten, so it's time to get on with this, the eighth part of the ASPHYXIA Demo Trainer Series. This particular part is primarily about 3-D, but also includes a bit on optimisation.
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