I'm working on a procedural wood texture, and it's become clear that I don't understand cycles vectors at all :( I'm hoping someone will see an obvious problem or at least point me to a good resource for learning about vectors in details.
I used this post's answer to create a wood texture node, and I'm using it to generate my rings. The issue is that the texture doesn't move with the object. Moving an object with this material applied is like cutting the object out of a different section of the same log.
Below is a picture of two objects sitting near center followed by a picture of the same two objects moved 5 units along the X axis.
I expect this issue is caused by one of the three vectors (or a combination of them) that are involved in the wood texture node. Below is a picture of the noodle. Any of the Less/More or PBR nodes can be ignored for this post. They are convinence node groups I made by following the Blender Guru PBR tutorial.
Entering that node, we can see how it works. The distance node is used to calculate the distance between the center of the texture (core of the log the wood was cut from) and the surface of the object.