GSoC 2023: Shader editor node preview - Weekly Reports

Report week 5

Some words about this month (June)

It has been a month now since I started, and it’s time to explain a bit how it went. When I was coding I always felt confident about what I was doing, but I struggled on planification and finding the right approach. That was not really intense due to this school period, but I managed not to be late.
Communication have not been hard I can say, and blender chat really helped me some times. One quick lesson I learnt is that I should always think twice before asking others, because in most cases I could find a solution by myself a soon as I formulate a comprehensive question.


My class finished at the middle of the week, so I was able to work much more at the end of the week and fully do the AOV optimisation.


I did:

  • add AOV support for every non shader nodes (still some issues and limitations)
  • learn more about thread memory sharing (locking, mutex, …)
  • fix a lot of issues coming from this addition (deadlock between thread, passes management)
  • update tag for the ui to redraw the nodes when the preview render is progressing

Todo next week:

  • fix a bug about AOV that wont render when nothing is connected to the Surface Output of the material
  • finish AOV implementation : background scene
  • maybe move the previewing stuff to make it listen to the events (node modified, preview enabled…) (discussion needed with the mentor)
  • if times left : make some plans for the UI/UX touches : very important to do because the user will need to be able to use it correctly in order to try it.

Approximative time spent on XCode: 10.5hrs.

9 Likes