buckeyevr

Untitled

Feb 18th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. //PlaneAndSphere.bvr\n\n//Sphere\nt=parametricSurface\nt.setMinMax=s,0,6.28\nt.setMinMax=t,0,6.28\nt.setEquation=x,(4*cos(t)*sin(s))\nt.setEquation=y,(4*sin(t)*sin(s))\nt.setEquation=z,(4*cos(s))\nt.setSegmentCount=30 \nt.color=blue\nt.spawn\n\n//plane\nh=parametricSurface\nh.setMinMax=s,-6,6\nh.setMinMax=t,-6,6\nh.setEquation=x,(3)\nh.setEquation=y,(s)\nh.setEquation=z,(t)\nh.setSegmentCount=20\nh.color=255,0,0\nh.spawn\n\n//circle\nhelix=parametricCurve\nhelix.setMinMax=t,-10,10\nhelix.setEquation=x,(3)\nhelix.setEquation=y,(2.6*sin(t))\nhelix.setEquation=z,(2.6*cos(t)) \nhelix.setSegmentCount=70\nhelix.setThickness=0.3\nhelix.color=green\nhelix.spawn\n\n
Advertisement
Add Comment
Please, Sign In to add comment