GSoC 2023: Shader editor node preview - Weekly Reports

Report week 7

This week has been productive for me, and I’ve been able to spend many hours on the project.

This week challenges:

I wanted to rebase my working branch on the latest main after the merge of a patch I did on the main branch. This put all the new commits as mine in the PR, which showed a change of hundreds of files.

What I did to fix this was first to extract my precious diff git diff > my_patch.txt and then force pull my main branch from the origin.

What to learn from this ?
NEVER work on the main branch even locally, keep it in sync with the origin main branch. This way the diff between a branch and the main is always what we want.
It is probably not what people would recommend, but it will avoid me many errors and problems.


I did:

  • put the preview resolution in the parameters
  • change compositor previews to use ImBuf. PR
  • prepare a patch for imbuf support for shader node previews (on my computer for now)
  • some cleaning and renaming in the main PR (which changed due to a git issue on my side btw).
  • publish a PR for a bug I introduced about overlay hiding Bug Report

Todo next week:

  • try to have the compositor transition to ImBuf merged
  • then adapt the ImBuf previews to the main PR (use the patch I already prepared)
    • then put a background for AOV nodes
  • fix some minor issues listed here

Little demo :wink:

Approximative time spent on XCode: 16.5hrs.
Total time on dev(XCode, debugging, blender websites, git, blender program): 30hrs.

28 Likes