While playing with (the source of) X3DBrowserGLUT,
i noticed, there is something wrong in the
rendering of Extrusion nodes in X3DBrowserGLUT.
The following vrml file was created with cosmoworlds
and the rendering in cosmoplayer makes much more
sense than the rendering in X3DBrowserGLUT:
#VRML V2.0 utf8
#VRML V2.0 utf8 CosmoWorlds V1.0
Group
{
children
[
Transform
{
children
[
Shape
{
appearance Appearance
{
material Material
{
}
}
geometry Extrusion
{
crossSection
[
0 0.866024
1 -0.866024
-1 -0.866024
0 0.866024
]
orientation
[
0 0 1 0
0 0 1 0
0 0 1 0
0 0 1 0
]
scale
[
1 1
1 1
1 1
1 1
]
solid FALSE
spine
[
0 -1 0
0.400000 0 0
1 0.600000 0
0.800000 1.399999 0
]
}
}
]
translation -0.624797 3.092589e-2 -4.500000
}
]
}