Copy link to clipboard
Copied
Hi there,
I would like to ask for advice about extruded 3D object with stroke. I would like it to have outline of the exact thickness. I assume, that the thickness could be treated by some expression when going further away from camera to the Z-depth. This is another topic.
But the main trouble I am facing is that the outline of Shape Layer is just on top of facing side and it gets inconsistent width when it is sloped in perspective while rotating. Have a look at the simple rectangle below please:
To get stroked even the extruded part of this rectangle I precomposed it and applied Layer Style > Stroke to this comp. The problem is obvious:
Do you see some solution for extruding rectangle and maintaining clean & uniform stroke to it please?
Thank you in advance.
Copy link to clipboard
Copied
Soem vector math to determine the incidence angle might be required. You could probably get away with constructing an up vector and using the dot() product, then apply it to a cosine function that drives the thickness.
Mylenium