mirror of
https://git.coom.tech/drummyfish/small3dlib.git
synced 2024-11-23 20:59:58 +01:00
6 lines
474 B
Text
6 lines
474 B
Text
- ADD THIS!!! Rendering could be made faster by reusing the mapped vertex
|
|
coordinates between iterations when processing triangles: this supposes that
|
|
a triangle that's being rendered quite likely shares 1 or 2 vertices with the
|
|
previously rendered triangle, so there is no need to expensively transform and
|
|
screen-map all its vertices! ALSO: create a function that optimizes the model
|
|
for rendering, i.e. rearranges the triangle order to favor this optimization!
|