Phase 30 (6/n) : bilan, robustesse des televersements, notes
- Renderer : un maillage possede ses plages des leur reservation (allocateMesh) et ses copies ne sont confiees a l'image suivante qu'une fois toutes ses ecritures reussies - plus de plage perdue ni de copie visant une plage rendue si la memoire vient a manquer. - Ligne "Ressources (PHASE 30)" : bilan du pool de geometrie. - main.cpp : le C4244 connu de la Phase 27 rendu explicite. - NOTES-PHASE30.md : execution, bilan chiffre avant/apres sur les trois scenarios, verification (images, validation standard et de synchronisation, controle negatif), limites, reproduction. - MEMORY.md : section Phase 30. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MG5dK27RsN97DDm7CQRhx2
Cette révision appartient à :
6 fichiers modifiés
+258
-44
Aucun fichier ne correspond à votre recherche
+3
-3
@@ -1369,7 +1369,7 @@ int main(int argc, char** argv) {
|
||||
if (orthoMatchesTerrain(ortho, *heightmap)) {
|
||||
renderer.setTerrainTextureFromFile(ortho, orthoPath);
|
||||
renderer.setOrthoMix(1.0f);
|
||||
groundDetailPattern = ortho.metresPerTexel();
|
||||
groundDetailPattern = static_cast<float>(ortho.metresPerTexel());
|
||||
logInfo("Orthophoto : " +
|
||||
std::to_string(ortho.metresPerTexel()) +
|
||||
" m/texel pour un terrain au pas de " +
|
||||
@@ -2383,7 +2383,7 @@ int main(int argc, char** argv) {
|
||||
if (loopSeconds - lastResourceLog >= 10.0) {
|
||||
lastResourceLog = loopSeconds;
|
||||
logInfo("Ressources (PHASE 30) : " + processMemoryLine() + ", " +
|
||||
context.gpuMemoryLine() + ".");
|
||||
context.gpuMemoryLine() + ". " + renderer.geometryLine() + ".");
|
||||
}
|
||||
|
||||
const double now = glfwGetTime();
|
||||
@@ -4023,7 +4023,7 @@ int main(int argc, char** argv) {
|
||||
// "vivants" sont donc ceux du jeu en regime etabli, les pics ceux de la
|
||||
// session entiere.
|
||||
logInfo("Ressources en fin de partie (PHASE 30) : " + processMemoryLine() + ", " +
|
||||
context.gpuMemoryLine() + ".");
|
||||
context.gpuMemoryLine() + ". " + renderer.geometryLine() + ".");
|
||||
|
||||
if (frameProfile.frames > 0) {
|
||||
const auto per = [&](uint64_t total) {
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur