Advertisement
buckeyevr

Untitled

Feb 22nd, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. //Torus.bvr\n\n//Parametric surface\nt=parametricSurface\nt.setMinMax=s,0,6.5\nt.setMinMax=t,0,6.5\nt.setEquation=x,((2+1.0*cos(s))*cos(t))\nt.setEquation=y,((2+1.0*cos(s))*sin(t))\nt.setEquation=z,(sin(s))\nt.setSegmentCount=30\nt.spawn\n\n//Parametric curve\nhelix=parametricCurve\nhelix.setMinMax=t,0,10\nhelix.setEquation=x,(3*(cos(t)))\nhelix.setEquation=y,(3*(sin(t)))\nhelix.setEquation=z, 0\nhelix.setSegmentCount=70\nhelix.setThickness=0.15\nhelix.color=red\nhelix.spawn\n\n//Parametric curve\nsection=parametricCurve\nsection.setMinMax=t,0,10\nsection.setEquation=x, 0\nsection.setEquation=y,(-cos(t)-2)\nsection.setEquation=z,(sin(t))\nsection.setSegmentCount=70\nsection.setThickness=0.15\nsection.color=fuchsia\nsection.spawn\n\n//Parametric curve\ntop=parametricCurve\ntop.setMinMax=t,0,10\ntop.setEquation=x,(2*cos(t))\ntop.setEquation=y,(2*sin(t))\ntop.setEquation=z,(1)\ntop.setSegmentCount=70\ntop.setThickness=0.15\ntop.color=blue\ntop.spawn\n\n\n\n\n//Text\ntxt=text\ntxt.text=Torus with Circles\ntxt.color=yellow\ntxt.position=0,0,4\n\n\n\n\n\n\n\n
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement