Advertisement
buckeyevr

Untitled

Feb 22nd, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. // Snowman.bvr\n\n// Bottom Sphere\nbsph=parametricSurface \nbsph.setMinMax=s,0,3.5\nbsph.setMinMax=t,0,6.8 \nbsph.setEquation=x,(4*cos(t)*sin(s))\nbsph.setEquation=y,(4*sin(t)*sin(s)) \nbsph.setEquation=z,(4*cos(s)) \nbsph.setSegmentCount=20\nbsph.color=white\nbsph.spawn\n\n// Middle Sphere\nmsph=parametricSurface \nmsph.setMinMax=s,0,3.5\nmsph.setMinMax=t,0,6.8 \nmsph.setEquation=x,(2*cos(t)*sin(s))\nmsph.setEquation=y,(2*sin(t)*sin(s)) \nmsph.setEquation=z,(2*cos(s)+5) \nmsph.setSegmentCount=20\nmsph.color=white\nmsph.spawn\n\n// Top Sphere\ntsph=parametricSurface \ntsph.setMinMax=s,0,3.5\ntsph.setMinMax=t,0,6.8 \ntsph.setEquation=x,(cos(t)*sin(s))\ntsph.setEquation=y,(sin(t)*sin(s)) \ntsph.setEquation=z,(cos(s)+7.5) \ntsph.setSegmentCount=20\ntsph.color=white\ntsph.spawn\n\n\n// Left Eye\nleye=parametricSurface \nleye.setMinMax=s,0,3.5\nleye.setMinMax=t,0,6.8 \nleye.setEquation=x,((cos(t)*sin(s))/4+0.5)\nleye.setEquation=y,((sin(t)*sin(s))/4+0.75)\nleye.setEquation=z,(cos(s)/4+8) \nleye.setSegmentCount=20\nleye.color=black\nleye.spawn\n\n// Right Eye\nreye=parametricSurface \nreye.setMinMax=s,0,3.5\nreye.setMinMax=t,0,6.8 \nreye.setEquation=x,((cos(t)*sin(s))/4-0.5)\nreye.setEquation=y,((sin(t)*sin(s))/4+0.75)\nreye.setEquation=z,(cos(s)/4+8) \nreye.setSegmentCount=20\nreye.color=black\nreye.spawn
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement