Posted By
George on 2019-06-28 16:42:56
| Re: 3D Engine
Hi MMS,
yes, the points coordinates x,y,z (Dims) are always in memory and don't change. Dependig on the angles and scaling, the amount of visible faces varies. If you have many very small distant faces with small area (Variable AR in code), you can define the limit (line 1161) of the area of the faces (eg. smaller then 2 ignore) and they will be ignored. Thats how i was able draw the space-shuttle with boosters from behind.
The best way to improve speed will be assembler first. But i like the way the programm works as it is, because i enjoy rotating, scaling and shifting around to find the best angle possible and really enjoy the slow build up of the picture. I don't mind thats so slow...
|