Advertisement
buckeyevr

Untitled

Feb 22nd, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. // SphereWithCircles.bvr\n\n// Sphere\nsph=parametricSurface \nsph.setMinMax=s,0,3.5\nsph.setMinMax=t,0,6.8 \nsph.setEquation=x,(3*cos(t)*sin(s))\nsph.setEquation=y,(3*sin(t)*sin(s)) \nsph.setEquation=z,(3*cos(s)) \nsph.setSegmentCount=30\nsph.color=0,255,0\nsph.spawn\n\n// GreatCircle\ngc=parametricCurve\ngc.setMinMax=t,0,6.8\ngc.setEquation=x,(0)\ngc.setEquation=y,(3*cos(t))\ngc.setEquation=z,(3*sin(t))\ngc.setSegmentCount=40\ngc.setThickness=0.2\ngc.color=0,0,255\ngc.spawn\n\n// SmallerCircle\nsc=parametricCurve\nsc.setMinMax=t,0,6.8\nsc.setEquation=x,(sqrt(5)*cos(t))\nsc.setEquation=y,(2)\nsc.setEquation=z,(sqrt(5)*sin(t))\nsc.setSegmentCount=40\nsc.setThickness=0.2\nsc.color=255,0,0\nsc.spawn
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement