X3D for Web Authors,
Chapter 14 - Prototypes:
Where Am I
PROTO for displaying current viewpoint location
Install an X3D plugin to see this example...
launch
X3D
X3DV
X3DB
links
VRML97
XHTML
C14N