String.x3d

From Web3D.org
Revision as of 19:12, 11 September 2011 by Flux (Talk | contribs) (correct versions - final Flux is 2.1, final Vivaty is 1.0)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Test of MFString handling and Text display. Need to read the spec closer to see what expected behavior is. This content displays in at least 3 different ways in browsers.


<?xml version="1.0" encoding="UTF-8"?>
<X3D profile="Interchange">
<Scene>
<NavigationInfo avatarSize="0.25 1.6 0.75" headlight="true" speed="2" type="ANY"/>
 <Viewpoint centerOfRotation="0 0 0" description="view 1"
      fieldOfView="1.047" jump="true"
      orientation=".0  .0  1  0" position=".0 .0  4.0"/>
   <Group>
         <Transform translation="0 0 -1.05">
              <Shape>
                <Appearance>
                  <Material emissiveColor='0.2 0.0 0.0'
                      ambientIntensity='0.2' diffuseColor='0.8 0.0 0.0' />
                </Appearance>
                <Box/>
              </Shape>
         </Transform>
         <Transform translation="-2 1 0">
              <Shape>
                <Appearance>
                  <Material emissiveColor='0.0 0.2 0.0'
                      ambientIntensity='0.2' diffuseColor='0.0 0.8 0.0' />
                </Appearance>
         <!--
                 <Text string='"string one" "string two" "string three"'/>
           -->
                 <Text string="'string one' 'string two' 'string three'"/>
              </Shape>
         </Transform>
    </Group>
</Scene></X3D>

Browser Results

Browser Version Result Notes
BS Contact 7.107
FreeWRL Untested
Octaga 2.2.0.12
Instant Reality 2.0.0_beta4
Flux 2.1
Vivaty 1.0
Xj3D 2_M1_DEV_2008-06_02

Specification Notes

None Yet