#6 and #7
If you have P5 you can do part of this with Nodes in the material room.
What is needed is the angle between the Normal and the global Y axis.
From **Y**.**N** = |Y||N|cos(g), we want g (but have to settle for just cos(g)).
Y = (0, 1, 0) length 1
N = (x, y, z) length 1
giving y = cos(g)
Which is equivalent to the N and component nodes in the picture.