Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- planes.bvr\n \n// Parametric surface 1\n\nfirst=parametricSurface\nfirst.setMinMax=s,-20,20 \nfirst.setMinMax=t,-20,20 \nfirst.setEquation=x,(-s)\nfirst.setEquation=y,(-t)\nfirst.setEquation=z,(1-t-s)\nfirst.setSegmentCount=20\nfirst.color=blue\nfirst.spawn\n\n \n// Parametric surface 2\n\nsecond=parametricSurface\n\nsecond.setMinMax=s,-10,10\nsecond.setMinMax=t,-10,10 \nsecond.setEquation=x,(2*t+s)\nsecond.setEquation=y,(t+3*s+4)\nsecond.setEquation=z,(-2*t-s+1)\nsecond.setSegmentCount=20\nsecond.color=red\nsecond.spawn\n\n// Parametric Intersecting Curve\n\nintersection=parametricCurve\n\nintersection.setMinMax=t,-10,10\nintersection.setEquation=x,(-t)\nintersection.setEquation=y,(2*t)\nintersection.setEquation=z,(t+1)\nintersection.setSegmentCount=70\nintersection.setThickness=0.2\nintersection.color=green\nintersection.spawn\n\n\n\n
Add Comment
Please, Sign In to add comment