<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Thanks for your help. </p>
    <p>For the benefit of people who search through the mailing list
      later, here is the code that ended up with:</p>
    <p>I still needed rotations. The ProximitySensor gives me the
      location and the viewing direction of the viewpoint, so I'm
      rotating my x,y,z arrows around the location of the viewpoint to
      make sure they stay in view, even as the viewpoint looks in
      different directions (and not "behind" the viewpoint). Then, I
      need a second rotation to undo that rotation to keep the x,y,z
      aligned with the coordinate axes. <br>
    </p>
    <p>I thought about how to undo that rotation for a while and in the
      end used a short js script to reverse the rotation.</p>
    <p>Code is below,</p>
    <p>Moritz<br>
    </p>
    <div
style="color: #3b3b3b;background-color: #ffffff;font-family: Menlo, Monaco, 'Courier New', monospace;font-weight: normal;font-size: 12px;line-height: 18px;white-space: pre;"><div><span
    style="color: #800000;"><</span><span style="color: #cd3131;">ProximitySensor</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">DEF</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'HereIAm'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">size</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'1000000 1000000 1000000'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">ProximitySensor</span><span
    style="color: #800000;">></span></div>
<div><span style="color: #3b3b3b;">        </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Transform</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">DEF</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'HUD'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Transform</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">DEF</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'PushBack'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">translation</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'-2.5 -2.5 -10'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Transform</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">DEF</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'layer2'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Group</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">    </span><span style="color: #008000;"><!-- Vertical Y arrow and label --></span></div><div><span
    style="color: #3b3b3b;">    </span><span style="color: #800000;"><</span><span
    style="color: #cd3131;">Group</span><span style="color: #3b3b3b;"> </span><span
    style="color: #e50000;">DEF</span><span style="color: #3b3b3b;">=</span><span
    style="color: #0000ff;">'ArrowGreen'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">        </span><span style="color: #800000;"><</span><span
    style="color: #cd3131;">Shape</span><span style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Cylinder</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">DEF</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'ArrowCylinder'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">radius</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'.025'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">top</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'false'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">Cylinder</span><span style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Appearance</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">DEF</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'Green'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Material</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">diffuseColor</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'.1 .6 .1'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">emissiveColor</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'.05 .2 .05'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">Material</span><span style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Appearance</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">        </span><span style="color: #800000;"></</span><span
    style="color: #cd3131;">Shape</span><span style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">        </span><span style="color: #800000;"><</span><span
    style="color: #cd3131;">Transform</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">translation</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'0 1 0'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Shape</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Cone</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">DEF</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'ArrowCone'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">bottomRadius</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'.05'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">height</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'.1'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">Cone</span><span style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Appearance</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">USE</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'Green'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">Appearance</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Shape</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">        </span><span style="color: #800000;"></</span><span
    style="color: #cd3131;">Transform</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">    </span><span style="color: #800000;"></</span><span
    style="color: #cd3131;">Group</span><span style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">    </span><span style="color: #800000;"><</span><span
    style="color: #cd3131;">Transform</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">translation</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'0 1.5 0'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">        </span><span style="color: #800000;"><</span><span
    style="color: #cd3131;">Billboard</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Shape</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Appearance</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">DEF</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'LABEL_APPEARANCE'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                    </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Material</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">diffuseColor</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'1 1 .3'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">emissiveColor</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'.33 .33 .1'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">Material</span><span style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Appearance</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Text</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">string</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'"Dispersion" "+Y"'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                    </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">FontStyle</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">DEF</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'LABEL_FONT'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">family</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'"SANS"'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">justify</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'"MIDDLE" "MIDDLE"'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">size</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'.2'</span><span
    style="color: #800000;">></span><span style="color: #3b3b3b;">  </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">FontStyle</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Text</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Shape</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">        </span><span style="color: #800000;"></</span><span
    style="color: #cd3131;">Billboard</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">    </span><span style="color: #800000;"></</span><span
    style="color: #cd3131;">Transform</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Group</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Transform</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">rotation</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'0 0 1 -1.57079'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">    </span><span style="color: #008000;"><!-- Horizontal X arrow and label --></span></div><div><span
    style="color: #3b3b3b;">    </span><span style="color: #800000;"><</span><span
    style="color: #cd3131;">Group</span><span style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">        </span><span style="color: #800000;"><</span><span
    style="color: #cd3131;">Group</span><span style="color: #3b3b3b;"> </span><span
    style="color: #e50000;">DEF</span><span style="color: #3b3b3b;">=</span><span
    style="color: #0000ff;">'ArrowRed'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Shape</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Cylinder</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">USE</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'ArrowCylinder'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">Cylinder</span><span style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Appearance</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">DEF</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'Red'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                    </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Material</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">diffuseColor</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'.7 .1 .1'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">emissiveColor</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'.33 0 0'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">Material</span><span style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Appearance</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Shape</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Transform</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">translation</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'0 1 0'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Shape</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                    </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Cone</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">USE</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'ArrowCone'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">Cone</span><span style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                    </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Appearance</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">USE</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'Red'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">Appearance</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Shape</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Transform</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">        </span><span style="color: #800000;"></</span><span
    style="color: #cd3131;">Group</span><span style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">        </span><span style="color: #800000;"><</span><span
    style="color: #cd3131;">Transform</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">rotation</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'0 0 1 1.57079'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">translation</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'-0.05 1.1 0'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #008000;"><!-- note label rotated back to original coordinate frame --></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Billboard</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Shape</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                    </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Appearance</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">USE</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'LABEL_APPEARANCE'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">Appearance</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                    </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Text</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">string</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'"opt. axis" "+X"'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                        </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">FontStyle</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">USE</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'LABEL_FONT'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">FontStyle</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                    </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Text</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Shape</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Billboard</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">        </span><span style="color: #800000;"></</span><span
    style="color: #cd3131;">Transform</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">    </span><span style="color: #800000;"></</span><span
    style="color: #cd3131;">Group</span><span style="color: #800000;">></span></div><div><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Transform</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Transform</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">rotation</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'1 0 0 1.57079'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">    </span><span style="color: #008000;"><!-- Perpendicular Z arrow and label, note right-hand rule --></span></div><div><span
    style="color: #3b3b3b;">    </span><span style="color: #800000;"><</span><span
    style="color: #cd3131;">Group</span><span style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">        </span><span style="color: #800000;"><</span><span
    style="color: #cd3131;">Group</span><span style="color: #3b3b3b;"> </span><span
    style="color: #e50000;">DEF</span><span style="color: #3b3b3b;">=</span><span
    style="color: #0000ff;">'ArrowBlue'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Shape</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Cylinder</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">USE</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'ArrowCylinder'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">Cylinder</span><span style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Appearance</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">DEF</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'Blue'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                    </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Material</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">diffuseColor</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'.3 .3 1'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">emissiveColor</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'.1 .1 .33'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">Material</span><span style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Appearance</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Shape</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Transform</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">translation</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'0 1 0'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Shape</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                    </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Cone</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">USE</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'ArrowCone'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">Cone</span><span style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                    </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Appearance</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">USE</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'Blue'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">Appearance</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Shape</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Transform</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">        </span><span style="color: #800000;"></</span><span
    style="color: #cd3131;">Group</span><span style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">        </span><span style="color: #800000;"><</span><span
    style="color: #cd3131;">Transform</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">rotation</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'1 0 0 -1.57079'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">translation</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'0 1.1 -0.05'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #008000;"><!-- note label rotated back to original coordinate frame --></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Billboard</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Shape</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                    </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Appearance</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">USE</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'LABEL_APPEARANCE'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">Appearance</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                    </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">Text</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">string</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'"cross-disp" "+Z"'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                        </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">FontStyle</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">USE</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'LABEL_FONT'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">FontStyle</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                    </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Text</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Shape</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Billboard</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">        </span><span style="color: #800000;"></</span><span
    style="color: #cd3131;">Transform</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">    </span><span style="color: #800000;"></</span><span
    style="color: #cd3131;">Group</span><span style="color: #800000;">></span></div><div><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Transform</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">                </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Transform</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">            </span><span
    style="color: #800000;"></</span><span style="color: #cd3131;">Transform</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">        </span><span style="color: #800000;"></</span><span
    style="color: #cd3131;">Transform</span><span
    style="color: #800000;">></span></div>
<div><span style="color: #3b3b3b;">        </span><span
    style="color: #800000;"><Script</span><span
    style="color: #000000;"> </span><span style="color: #e50000;">type</span><span
    style="color: #000000;">=</span><span style="color: #0000ff;">'model/x3d+xml'</span><span
    style="color: #000000;"> </span><span style="color: #e50000;">DEF</span><span
    style="color: #000000;">=</span><span style="color: #0000ff;">'InvertRotationScript'</span><span
    style="color: #800000;">></span></div><div><span
    style="color: #000000;">          <field accessType='inputOnly' type='SFRotation' name='invert_rotation'></field></span></div><div><span
    style="color: #000000;">          <field accessType='outputOnly' type='SFRotation' name='inverted_rotation'></field></span></div><div><span
    style="color: #000000;">        <![CDATA[ecmascript:</span></div><div><span
    style="color: #000000;">        function invert_rotation (value, time)</span></div><div><span
    style="color: #000000;">        {</span></div><div><span
    style="color: #000000;">          inverted_rotation = new SFRotation (value[0], value[1], value[2], -value[3]);</span></div><div><span
    style="color: #000000;">        }</span></div><div><span
    style="color: #000000;">        ]]></span></div><div><span
    style="color: #000000;">        </span><span style="color: #800000;"></Script></span></div>
<div><span style="color: #3b3b3b;">        </span><span
    style="color: #800000;"><</span><span style="color: #cd3131;">ROUTE</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">fromNode</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'HereIAm'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">fromField</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'orientation_changed'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">toNode</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'HUD'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">toField</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'rotation'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">ROUTE</span><span style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">        </span><span style="color: #800000;"><</span><span
    style="color: #cd3131;">ROUTE</span><span style="color: #3b3b3b;"> </span><span
    style="color: #e50000;">fromNode</span><span style="color: #3b3b3b;">=</span><span
    style="color: #0000ff;">'HereIAm'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">fromField</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'position_changed'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">toNode</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'HUD'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">toField</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'translation'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">ROUTE</span><span style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">        </span><span style="color: #800000;"><</span><span
    style="color: #cd3131;">ROUTE</span><span style="color: #3b3b3b;"> </span><span
    style="color: #e50000;">fromNode</span><span style="color: #3b3b3b;">=</span><span
    style="color: #0000ff;">'HereIAm'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">fromField</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'orientation_changed'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">toNode</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'InvertRotationScript'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">toField</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'invert_rotation'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">ROUTE</span><span style="color: #800000;">></span></div><div><span
    style="color: #3b3b3b;">        </span><span style="color: #800000;"><</span><span
    style="color: #cd3131;">ROUTE</span><span style="color: #3b3b3b;"> </span><span
    style="color: #e50000;">fromNode</span><span style="color: #3b3b3b;">=</span><span
    style="color: #0000ff;">'InvertRotationScript'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">fromField</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'inverted_rotation'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">toNode</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'layer2'</span><span
    style="color: #3b3b3b;"> </span><span style="color: #e50000;">toField</span><span
    style="color: #3b3b3b;">=</span><span style="color: #0000ff;">'rotation'</span><span
    style="color: #800000;">></</span><span
    style="color: #cd3131;">ROUTE</span><span style="color: #800000;">></span></div></div>
    <p></p>
    <p><br>
    </p>
  </body>
</html>