Help Contents / Graphics / Drawing filled shapes / SurfaceStart

SurfaceStart

command which tells Logo to enter surface definiton mode. It's very easy to define surfaces with this command, SurfaceColumn and SurfaceEnd. 

The normal vectors of the first column of points is linked to the last column, like in a torus. So you can easily define closed surfaces. 

See also pretzel2.lg and 3dsurfaces3.lg! 

Example: 

	to surfacetest 
		perspective 
		r=200 
		setpc rgb 1 0 0 
		ht 
		SurfaceStart 
		for [z -1 1 0.1] 
		[	pu 
			setPosXYZ (list -1 (cos 90*-1)*cos 90*z z)*r 
			pd 
			for [x -1 1 0.1] 
			[	setPosXYZ (list x (cos 90*x)*cos 90*z z)*r 
			] 
			SurfaceColumn 
		] 
		SurfaceEnd 
		rotateScene 
	end 


previous: Surface	next: SurfaceColumn
