Dendrometer & VRML

The Virtual Reality Modeling Language is a three-dimensional graphics file format frequently used in conjunction with the World-Wide Web. Like QuickDraw 3D, the VRML format has both an ASCII (text) and a binary form. Dendrometer always uses the ASCII form. (Currently, the file type is set to TEXT and the creator is set to BBEdit, like a regular text file. You may need to change the file type or creator for some MacOS VRML viewers.)


Here's a sample output from the Export VRML function in Dendrometer:
#VRML V1.0 ascii
# Exported from Dendrometer
Separator {
	Separator {
		Transform { translation 0.056 0.034 0.009 
			rotation 0.002 0 -0.094 1.098  }
		Cylinder { radius 0.008  height 0.105  }
	}
	Separator {
		Transform { translation 0.112 0.114 0.007 
			rotation -0.005 0 -0.019 0.172  }
		Cylinder { radius 0.007  height 0.114  }
	}
	Separator {
		Transform { translation 0.112 0.185 0.002 
			rotation -0.005 0 0.020 0.634  }
		Cylinder { radius 0.005  height 0.034  }
	}
	Separator {
		Transform { translation 0.128 0.175 0.007 
			rotation 0.004 0 -0.013 0.986  }
		Cylinder { radius 0.005  height 0.016  }
	}
	Separator {
		Transform { translation 0.142 0.100 0.011 
			rotation 0.003 0 -0.079 0.755  }
		Cylinder { radius 0.007  height 0.115  }
	}
	Separator {
		Transform { translation 0.211 0.183 0.007 
			rotation -0.012 0 -0.059 0.627  }
		Cylinder { radius 0.006  height 0.102  }
	}
	Separator {
		Transform { translation 0.230 0.233 0.002 
			rotation 0.002 0 0.022 0.914  }
		Cylinder { radius 0.005  height 0.027  }
	}
	Separator {
		Transform { translation 0.244 0.223 0.000 
			rotation -0.002 0 -0.006 2.134  }
		Cylinder { radius 0.004  height 0.007  }
	}
	Separator {
		Transform { translation 0.187 0.163 0.011 
			rotation -0.004 0 -0.010 0.245  }
		Cylinder { radius 0.006  height 0.044  }
	}
}

The above file was transferred to an SGI workstation and viewed with the i3D viewer:


Note: this is a picture, not an imbedded VRML frame!


http://www.strout.net/dendrometer/vrml.html
Last Updated: 10/22/96 . . . . . . Joe Strout