buckeyevr

Untitled

Feb 18th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. //planeIntersectingSphere.bvr\n//Plane Intersecting Sphere (Matthew Jira)\n\n//Parametricsurface\nsph=parametricSurface\nsph.setMinMax=s,0,3.1\nsph.setMinMax=t,0,6.6\nsph.setEquation=x,(2*cos(t)*sin(s))\nsph.setEquation=y,(2*sin(t)*sin(s))\nsph.setEquation=z,(2*cos(s))\nsph.setSegmentCount=40\nsph.color=green\nsph.spawn\n\n//Parametricsurface\npln=parametricSurface\npln.setMinMax=s,-3,3\npln.setMinMax=t,-3,3\npln.setEquation=x,(1)\npln.setEquation=y,(t)\npln.setEquation=z,(s)\npln.setSegmentCount=20\npln.color=red\npln.spawn\n\nc=parametricCurve\nc.setMinMax=t,-3,3\nc.setEquation=x,(1)\nc.setEquation=y,(1.68*sin(t))\nc.setEquation=z,(1.68*cos(t))\nc.setSegmentCount=50\nc.setThickness=0.2\nc.color=blue\nc.spawn
Advertisement
Add Comment
Please, Sign In to add comment