Skip to content

Fix: Erros found in tutorial projects#74

Merged
brenocq merged 11 commits intodevfrom
tutorial-fixes
Mar 21, 2025
Merged

Fix: Erros found in tutorial projects#74
brenocq merged 11 commits intodevfrom
tutorial-fixes

Conversation

@brenocq
Copy link
Owner

@brenocq brenocq commented Mar 21, 2025

Tutorial fixes

Closes #73

Several tutorials were developed for Atta in the past, but they were quite outdated. All tutorials were migrated to the latest atta release, and bugs found in Atta were fixed. The bugs are described in #73.

Image

You can try all these tutorials online: https://atta.brenocq.com/projects/brenocq-atta/tutorial

🔧 Changelog

  • Fix
    • Atta static build would fail if project doesn't have CMakeLists.txt
    • Atta static build would fail if project uses FetchContent with name `resources
    • ImPlot3D was not being installed
    • The graphics textures (both OpenGL & Vulkan) were not being updated when the image resource was updated
    • The viewport's zoom was not being saved when using the OrthographicCamera
      • This was fixing by saving the OrthographicCamera's height into .atta
    • Fix wrong behavior of build.sh's --disable-vulkan flag
    • The gfx::FastRenderer was not working properly in OpenGL, textures were being rendered with a contant color.
      • It turned out that iNormal was being optimized out because it was not used in fastRenderer.asl. This was fixed by adding a small dependency between the output and the input normal.
        Image
        Image

@brenocq brenocq added prio:medium Medium priority status:review The task is under review type:fix Something needs to be fixed labels Mar 21, 2025
@brenocq brenocq self-assigned this Mar 21, 2025
@brenocq brenocq added status:done Task completed successfully version:patch Increases the patch version when added to a PR and removed status:review The task is under review labels Mar 21, 2025
@brenocq brenocq linked an issue Mar 21, 2025 that may be closed by this pull request
@brenocq brenocq merged commit b1add8d into dev Mar 21, 2025
@brenocq brenocq deleted the tutorial-fixes branch March 21, 2025 18:25
@brenocq brenocq changed the title Tutorial fixes Fix: Tutorials Apr 30, 2025
@brenocq brenocq changed the title Fix: Tutorials Fix: Erros found in tutorial projects Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

prio:medium Medium priority status:done Task completed successfully type:fix Something needs to be fixed version:patch Increases the patch version when added to a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Tutorial fixes

1 participant