Advertisement
buckeyevr

Untitled

Feb 22nd, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. // Example Combined.bvr\n \n//Sphere\nsph=parametricSurface\nsph.setMinMax=s,0,3.4\nsph.setMinMax=t,0,6.6\nsph.setEquation=x,(1.5*cos(t)*sin(s))\nsph.setEquation=y,(1.5*sin(t)*sin(s))\nsph.setEquation=z,(1.5*cos(s)+2.3)\nsph.setSegmentCount=20\nsph.color=black\nsph.spawn\n \n// Parametric surface\ncyl=parametricSurface\ncyl.setMinMax=s,-10,10\ncyl.setMinMax=t,0,6.6\ncyl.setEquation=x,(0.9*cos(t))\ncyl.setEquation=y,(0.9*sin(t))\ncyl.setEquation=z,(.4*s-1)\ncyl.setSegmentCount=20\ncyl.color=yellow\ncyl.spawn \n\n// Parametric curve\nhelix=parametricCurve\nhelix.setMinMax=t,-10,10\nhelix.setEquation=x,(1.5*cos(t))\nhelix.setEquation=y,(1.5*sin(t))\nhelix.setEquation=z,(2.3)\nhelix.setSegmentCount=70\nhelix.setThickness=0.2\nhelix.color=grey\nhelix.spawn \n\n// Parametric curve\nheli=parametricCurve\nheli.setMinMax=t,-10,10\nheli.setEquation=x,(0.9*cos(t))\nheli.setEquation=y,(0.9*sin(t))\nheli.setEquation=z,(1)\nheli.setSegmentCount=70\nheli.setThickness=0.15\nheli.color=grey\nheli.spawn \n\n// Parametric surface\nsqr=parametricSurface\nsqr.setMinMax=s,-10,10\nsqr.setMinMax=t,0,6.6\nsqr.setEquation=x,(0.899)\nsqr.setEquation=y,(0.4*sin(t))\nsqr.setEquation=z,(.06*s-1)\nsqr.setSegmentCount=5 \nsqr.color=black\nsqr.spawn \n
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement