Changes between Initial Version and Version 1 of Ticket #2039, comment 3


Ignore:
Timestamp:
Jul 16, 2013, 9:34:03 AM (11 years ago)
Author:
historic_bruno

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2039, comment 3

    initial v1  
    1 #1987 should be used for addressing efficiency of the normal calculations, so far a better alternative hasn't been found. If the float version is more efficient, it can be used easily for #1988 by adding `CalcExactNormal` to `CmpTerrain` to expose the `CTerrain` function.
     1#1987 should be used for addressing efficiency of the normal calculations, so far a better, similarly-accurate alternative hasn't been found. If the float version is more efficient, it can be used easily for #1988 by adding `CalcExactNormal` to `CmpTerrain` to expose the `CTerrain` function.
    22
    33Caching seems like a good idea, it could be part of `CTerrain` so lots of code can reuse it, and it wouldn't require Atlas-specific logic. `CmpTerrain::MakeDirty` is used whenever terrain changes, it could be responsible for updating the relevant part of `CTerrain`'s cached normal data.