Revert "Revert "ray3d""

This reverts commit a4cee7217e16383f2618d65ede5b8532b453f6b7.
ray3d