buckeyevr

Untitled

Feb 22nd, 2019
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. //SphereAndCircles.bvr\n\n//sphere\nsph=parametricSurface\nsph.setMinMax=s,0,3.2\nsph.setMinMax=t,0,6.4\nsph.setEquation=x,(3*cos(t)*sin(s))\nsph.setEquation=y,(3*sin(s)*sin(t))\nsph.setEquation=z,(3*cos(s))\nsph.setSegmentCount=70\nsph.color=green\nsph.spawn\n\n//Great circle\ngreatCrc=parametricCurve\ngreatCrc.setMinMax=t,0,6.4\ngreatCrc.setEquation=x,(3*cos(t))\ngreatCrc.setEquation=y,(3*sin(t))\ngreatCrc.setEquation=z,(0)\ngreatCrc.setSegmentCount=70\ngreatCrc.color=red\ngreatCrc.spawn\n\n//Regular circle\nregCrc=parametricCurve\nregCrc.setMinMax=t,0,6.4\nregCrc.setEquation=x,(sqrt(3^2-2.5^2))\nregCrc.setEquation=y,(2.5*sin(t))\nregCrc.setEquation=z,(2.5*cos(t))\nregCrc.setSegmentCount=70\nregCrc.color=blue\nregCrc.spawn
Add Comment
Please, Sign In to add comment