-
Null rotation driving/affecting multiple opacities
Hope someone can offer some insight into how I would approach the following.
I have 10 layers set up in a 3D decagon arrangment parented to a null set in the middle of the layers. With this I can rotate all the layers on the y axix effectively creating a spinning decagon.
What I want to add to this is an expression driven opacity that compares any of the 10 layers angle to the camera and falls off the opacity for layers not facing at a right angle to the camera.
Another way to put this is for the side of the decagon directly facing the camera I want it’s opacity to be 100% but for each 36 degree layer not facing the camera, I want it’s opacity to lower incrementaly down to 0% depending on it’s degrees of rotation compared to it’s axis to the camera.
I can understand some of the logic in figuring out this problem but my expressions knowledge is still small so I am having a hard time trying to know how to approach and work with the actual expression language.
Can anyone guide me as to some of the commands involved and the math priciples?
All the best,
James Hooey