buckeyevr

Untitled

Feb 22nd, 2019
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. //extracredit.bvr\n\n//Parametric surface\nt=parametricSurface\nt.setMinMax=s,0,6.5\nt.setMinMax=t,0,6.5\nt.setEquation=x,((2.5+1.2*cos(s))*cos(t))\nt.setEquation=y,((2.5+1.2*cos(s))*sin(t))\nt.setEquation=z,(sin(s))\nt.setSegmentCount=30 \nt.spawn\n\n\n//Parametric surface\nt=parametricSurface\nt.setMinMax=s,0,13\nt.setMinMax=t,0,13\nt.setEquation=x,((5+2.4*cos(s))*cos(t))\nt.setEquation=y,((5+2.4*cos(s))*sin(t))\nt.setEquation=z,(sin(s))\nt.setSegmentCount=30\nt.spawn\n\n/Parametric surface\nsphere=parametricSurface\nsphere.setMinMax=s,0,3.25\nsphere.setMinMax=t,0,6.5\nsphere.setEquation=x,(3*cos(t)*sin(s))\nsphere.setEquation=y,(3*sin(t)*sin(s))\nsphere.setEquation=z,(3*cos(s))\nsphere.setSegmentCount=30 \nsphere.color=blue\nsphere.spawn\n\n//Text\ntxt=text\ntxt.text= UFO\ntxt.color=red\ntxt.position=0,0,4\n\n\n
Add Comment
Please, Sign In to add comment