All pastes #452787 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-04-22 14:45 UTC
rendered paste body
#VRML V2.0 utf8
NavigationInfo { type "EXAMINE" }
Viewpoint {
	description	"Default View"
	position 0 0 3
	orientation	1 0 0 0.2 
}

DEF metal Appearance {  
		material Material 
		{
			diffuseColor 0 0.5 1
			specularColor .4 1 1
			shininess 0.4
		} 
}

PROTO Hexagono[ field MFVec3f _spine [0 0 0, 0 0.03 0]
				field MFVec2f _ascale 1 1 ]
{
	Shape {
		geometry Extrusion	
		convex FALSE
		creaseAngle 0
		crossSection [-0.1  0.3,  0.1  0.3,  0.3  0.1, 0.3  -0.1,
					   0.1 -0.3, -0.1 -0.3, -0.3 -0.1, -0.3, 0.1,
					  -0.1 0.3] 
		spine IS _spine
		orientation 0 0 1 0
		scale IS _scale
		appearance USE metal
	} # shape | base
}


PROTO Candeeiro[] {
	Hexagono { 
		_spine [0 0 0, 0 0.03 0]
		_scale 1 1 
	}			
			
} #proto

Candeeiro{}