buckeyevr

Untitled

Feb 22nd, 2019
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. //TorusAndCircles.bvr\n\n//Torus\ntor=parametricSurface\ntor.setMinMax=s,0,6.6\ntor.setMinMax=t,0,6.6\ntor.setEquation=x,((4+2*cos(t))*cos(s))\ntor.setEquation=y,((4+2*cos(t))*sin(s))\ntor.setEquation=z,(2*sin(t))\ntor.setSegmentCount=30\ntor.color=green\ntor.spawn\n\n//Circle_1\ncir=parametricCurve\ncir.setMinMax=t,0,6.6\ncir.setEquation=x,(6*cos(t))\ncir.setEquation=y,(6*sin(t))\ncir.setSegmentCount=70\ncir.setThickness=0.2\ncir.color=red\ncir.spawn\n\n//Circle_2\ncle=parametricCurve\ncle.setMinMax=t,0,6.6\ncle.setEquation=y,(2*sin(t)+4)\ncle.setEquation=z,(2*cos(t))\ncle.setSegmentCount=70\ncle.setThickness=0.2\ncle.color=blue\ncle.spawn\n
Add Comment
Please, Sign In to add comment