"TWIGS" I uploaded last time is based on a 2D algorithm. So I expanded this to 3D. Of course this is just the same function on 2D. I show you the new scene file of "Green Beads", "lptgbead.txt", on TWIGS as "lpt3bead.txt".
I used almost same script with that on "TWIGS". But it shows this another result because of the 3D algorithm.