curves in 3d

i need to copute vertices along smooth curve going through some defined vertices. how to do it in 3d? is there some tutorial or website or equation or something?

Refer the text book “Computer
Graphics” by Vandam and Foley