I modified the
D.16 Chopper example of

The Virtual Reality Modeling Language
International Standard ISO/IEC 14772-1:1997
Copyright <copyright.html> � 1997 The VRML Consortium Incorporated.

so it can be loaded by the Vrml97Viewer and -Player class.



Why the body and the rotor is rotated about 180 degree,
in the default VRML-Browser not! ??????????????????

Maybe there is a error in the the Extrusion node of the Vrml97Loader class?




Here the modified VRML-code:

#VRML V2.0 utf8

Transform {
  translation -0.1 -0.85 4.95952

  children      [
    Transform {
      children  Shape {

        appearance      Appearance {
          material      DEF _0 Material {
          }

        }


        geometry        Extrusion {
          crossSection  [ 0 0.2,
                    0.6 0.2,
                    0.8 0,
                    0.8 -0.4,
                    0.6 -0.6,
                    0.2 -0.6,
                    0 -0.4,
                    -0.2 0,
                    0 0.2 ]
          orientation   [ 0 0 1  0,
                    0 0 1  0,
                    0 0 1  0,
                    0 0 1  0,
                    0 0 1  0,
                    0 0 1  0,
                    0 0 1  0,
                    0 0 1  0 ]
          scale [ 0.0215112 0.0215112,
                    0.659496 0.659496,
                    0.872158 0.872158,
                    1 1,
                    1 1,
                    0.872158 0.872158,
                    0.659496 0.659496,
                    0.0480939 0.0480939 ]
          solid FALSE
          spine [ 0 -1 0,
                    -0.0032141 -0.953553 0,
                    -0.00285517 -0.876386 0,
                    -0.0032141 -0.74785 0,
                    -0.0032141 -0.445722 0,
                    -0.0032141 -0.323585 0,
                    -0.0032141 -0.252875 0,
                    0 -0.2 0 ]
        }

      }

      translation       -0.319032 -0.0473949 -4.51302
      rotation  0.832195 -0.397322 0.386764  1.77988
      scale     1 0.999999 0.999998
      scaleOrientation  0.414011 0.416351 0.809473  0.298078
    }
    Transform {
      children  Shape {
        appearance      Appearance {
          material      USE _0

        }

        geometry        Extrusion {
          beginCap      TRUE
          crossSection  [ 0.6 0.6,
                    0.6 0.4,
                    -0.8 0.4,
                    -1 0,
                    -1.2 0,
                    -1 0.6,
                    0.6 0.6 ]
          endCap        TRUE
          orientation   [ 0 0 1  0,
                    0 0 1  0 ]
          scale [ 1 1,
                    1 1 ]
          solid FALSE
          spine [ 0 -1 0,
                    0 -0.8 0 ]
        convex FALSE
        }

      }

      translation       -0.877833 0.458808 -4.77874
      rotation  0.82734 -0.41326 0.380426  1.77274
      scale     1 1 1
      scaleOrientation  -0.172046 0.272466 0.946659  0.228295
    }
    Transform {
      children  Shape {
        appearance      Appearance {
          material      USE _0

        }

        geometry        Extrusion {
          crossSection  [ 1 0,
                    0.92388 0.382683,
                    0.707107 0.707106,
                    0.382684 0.923879,
                    1.26759e-06 1,
                    -0.382682 0.92388,
                    -0.707105 0.707108,
                    -0.923879 0.382685,
                    -1 2.53518e-06,
                    -0.923881 -0.382681,
                    -0.707109 -0.707105,
                    -0.382687 -0.923878,
                    -3.80277e-06 -1,
                    0.38268 -0.923881,
                    0.707104 -0.70711,
                    0.923878 -0.382688,
                    1 0 ]
          orientation   [ 0 0 1  0,
                    0 0 1  0 ]
          scale [ 1 1,
                    0.4 0.181007 ]
          solid FALSE
          spine [ 0 -1 0,
                    0 1 0 ]
        }

      }

      translation       0.120967 0.410068 -4.95952
      rotation  0 -1 0  0.873008
      scale     0.0980455 0.370358 0.213029
      scaleOrientation  0 0 1  0
    }
  ]
}




Group {
  children      Transform {
    children    Shape {
      appearance        Appearance {
        material        Material {
        }

      }

      geometry  Extrusion {
        crossSection    [ 0.4 0,
                  0.0026528 0.0979112,
                  -0.4 0,
                  -0.0103739 -0.0801211,
                  0.4 0 ]
        orientation     [ 0 -1 0  0.349065,
                  0 -1 0  0.261799,
                  0 -1 0  0.174532,
                  0 0 1  0,
                  0 0 1  0,
                  0 0 1  0,
                  0 1 0  0.0872659,
                  0 1 0  0.174532,
                  0 1 0  0.261799 ]
        scale   [ 0.907089 0.2,
                  0.907088 0.6,
                  0.751411 0.6,
                  0.206542 0.4,
                  0.459517 0.8,
                  0.167623 0.4,
                  0.751412 0.6,
                  0.926548 0.6,
                  0.907089 0.2 ]
        solid FALSE
        spine   [ 0 -1.6 0,
                  0 -1.44152 0,
                  0 -1.24754 0,
                  0 -0.229174 0,
                  0 -0.0109524 0,
                  0 0.183023 0,
                  0 1.17715 0,
                  0 1.37112 0,
                  0 1.6 0 ]
      }

    }

    rotation    0.250988 -0.684472 0.684472  2.64978
  }
}

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to