Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //ExampleSurface.bvr\n\n//Parametricsurface\nc=parametricSurface\nc.setMinMax=s,0,6.28\nc.setMinMax=t,0,6.28\nc.setEquation=x,(2*cos(t)*sin(s))\nc.setEquation=y,(2*sin(t)*sin(s))\nc.setEquation=z,(2*cos(s))\nc.setSegmentCount=40\nc.color=blue\nc.spawn\n\n//ExampleSurface.bvr\n\n//Parametricsurface\na=parametricSurface\na.setMinMax=s,-5,5\na.setMinMax=t,-5,5\na.setEquation=x,(s)\na.setEquation=y,(t)\na.setEquation=z,(1)\na.setSegmentCount=20\na.color=green\na.spawn\n\n//Example Curve.bvr\n \n// Parametric curve\nb=parametricCurve\nb.setMinMax=t,0,6.28\nb.setEquation=x,(1.7*sin(t))\nb.setEquation=y,(1.7*cos(t))\nb.setEquation=z,(1)\nb.setSegmentCount=70\nb.setThickness=0.1\nb.color=red\nb.spawn \n\n\n\n\n\n
Advertisement
Add Comment
Please, Sign In to add comment