buckeyevr

Untitled

Feb 20th, 2019
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. //SphereAndPlane.bvr\n\n//Sphere\nsphere=parametricSurface\nsphere.setMinMax=t,0,6.29\nsphere.setMinMax=s,0,3.15\nsphere.setEquation=x,(4*cos(t)*sin(s))\nsphere.setEquation=y,(4*sin(t)*sin(s))\nsphere.setEquation=z,(4*cos(s))\nsphere.setSegmentCount=20\nsphere.color=aqua\nsphere.spawn\n\n//Plane\nplane=parametricSurface\nplane.setMinMax=t,-5,5\nplane.setMinMax=s,-5,5\nplane.setEquation=x,(3)\nplane.setEquation=y,(t)\nplane.setEquationz=z,(s)\nplane.setSegmentCount=20\nplane.color=magenta\nplane.spawn\n\n\n//Intersection\nint=parametricCurve\nint.setMinMax=t,0,6.29\nint.setEquation=x,(3)\nint.setEquation=y,(sqrt(7)*cos(t))\nint.setEquation=z,(sqrt(7)*sin(t))\nint.setSegmentCount=20\nint.setThickness=.2\nint.color=blue\nint.spawn\n
Add Comment
Please, Sign In to add comment