none
A question about to achieve the Preset Camera Type? RRS feed

  • Question

  •  The W3C XML Schema defines the simple type’s content model (ST_PresetCameraType). However, I can only see the Enumeration Value in the xml. As we can see, the Rotation value is changed when we change the Preset Camera Type. But I can't find the Rotation value in the xml. How does the Preset Camera Type achieve?

    Friday, November 25, 2011 1:23 AM

Answers

  • Hi Xiaolong,

    I don't have all the values, but here are the ones I do have from manually extraction of the values in the PowerPoint client.

    Preset Camera Type X Y Z Perspective
    legacyObliqueTopLeft          
    legacyObliqueTop          
    legacyObliqueTopRight          
    legacyObliqueLeft          
    legacyObliqueFront          
    legacyObliqueRight          
    legacyObliqueBottomLeft          
    legacyObliqueBottom          
    legacyObliqueBottomRight          
    legacyPerspectiveTopLeft          
    legacyPerspectiveTop          
    legacyPerspectiveTopRight          
    legacyPerspectiveLeft          
    legacyPerspectiveFront          
    legacyPerspectiveRight          
    legacyPerspectiveBottomLeft          
    legacyPerspectiveBottom          
    legacyPerspectiveBottomRight          
    orthographicFront          
    isometricTopUp Parallel 314.7 324.6 60.2 0
    isometricTopDown Parallel 45.3 324.6 299.8 0
    isometricBottomUp Parallel 45.3 35.4 60.2 0
    isometricBottomDown Parallel 314.7 35.6 299.8 0
    isometricLeftUp Parallel 45 325 0 0
    isometricLeftDown Parallel 45 35 0 0
    isometricRightUp Parallel 315 35 0 0
    isometricRightDown Parallel 315 325 0 0
    isometricOffAxis1Left Parallel 64 18 0 0
    isometricOffAxis1Right Parallel 334 18 0 0
    isometricOffAxis1Top Parallel 306.5 301.3 57.6 0
    isometricOffAxis2Left Parallel 26 18 0 0
    isometricOffAxis2Right Parallel 296 18 0 0
    isometricOffAxis2Top Parallel 53.5 301.3 302.4 0
    isometricOffAxis3Left Parallel 64 342 0 0
    isometricOffAxis3Right Parallel 334 342 0 0
    isometricOffAxis3Bottom Parallel 306.5 58.7 302.4 0
    isometricOffAxis4Left Parallel 26 342 0 0
    isometricOffAxis4Right Parallel 296 342 0 0
    isometricOffAxis4Bottom Parallel 53.5 58.7 57.6 0
    obliqueTopLeft          
    obliqueTop          
    obliqueTopRight          
    obliqueLeft          
    obliqueRight          
    obliqueBottomLeft          
    obliqueBottom          
    obliqueBottomRight          
    perspectiveFront Perspective 0 0 0 45
    perspectiveLeft Perspective 20 0 0 45
    perspectiveRight Perspective 340 0 0 45
    perspectiveAbove Perspective 0 340 0 45
    perspectiveBelow Perspective 0 20 0 45
    perspectiveAboveLeftFacing Perspective 0 340 0 45
    perspectiveAboveRightFacing Perspective 345.7 39.3 18.9 45
    perspectiveContrastingLeftFacing Perspective 43.9 10.4 356.4 45
    perspectiveContrastingRightFacing Perspective 316.1 10.4 3.6 45
    perspectiveHeroicLeftFacing Perspective 14.3 349 2.6 45
    perspectiveHeroicRightFacing Perspective 345.7 349 357.4 45
    perspectiveHeroicExtremeLeftFacing Perspective 34.5 8.1 357.1 80
    perspectiveHeroicExtremeRightFacing Perspective 325.5 8.1 2.9 80
    perspectiveRelaxed Perspective 0 309.6 0 45
    perspectiveRelaxedModerately Perspective 0 324.8 0 45

     

    Saturday, January 7, 2012 1:47 AM

All replies

  • Hi Cui Xiaolong,

    Thanks for your request regarding the Preset Camera Type. One of the Open Specifications team will respond shortly to work with you.

    Best regards,
    Tom Jebo
    Escalation Engineer
    Microsoft Open Specifications

    Friday, November 25, 2011 7:20 PM
    Moderator
  • Hi Cui Xiaolong,

    I'm still looking into this for you and will get back to your shortly.

    Tom

    Monday, November 28, 2011 9:09 PM
    Moderator
  • So just to be clear, you're asking what the rotation values are for the various preset camera types? 

    Tom

    Tuesday, November 29, 2011 4:27 PM
    Moderator
  • Hi Cui,

    as you know, we have already stated in another thread that the calculation of these values is out of scope for the standard.  Our answer has not changed.

    Tom

    Wednesday, November 30, 2011 3:37 PM
    Moderator
  • Hi Xiaolong,

    I don't have all the values, but here are the ones I do have from manually extraction of the values in the PowerPoint client.

    Preset Camera Type X Y Z Perspective
    legacyObliqueTopLeft          
    legacyObliqueTop          
    legacyObliqueTopRight          
    legacyObliqueLeft          
    legacyObliqueFront          
    legacyObliqueRight          
    legacyObliqueBottomLeft          
    legacyObliqueBottom          
    legacyObliqueBottomRight          
    legacyPerspectiveTopLeft          
    legacyPerspectiveTop          
    legacyPerspectiveTopRight          
    legacyPerspectiveLeft          
    legacyPerspectiveFront          
    legacyPerspectiveRight          
    legacyPerspectiveBottomLeft          
    legacyPerspectiveBottom          
    legacyPerspectiveBottomRight          
    orthographicFront          
    isometricTopUp Parallel 314.7 324.6 60.2 0
    isometricTopDown Parallel 45.3 324.6 299.8 0
    isometricBottomUp Parallel 45.3 35.4 60.2 0
    isometricBottomDown Parallel 314.7 35.6 299.8 0
    isometricLeftUp Parallel 45 325 0 0
    isometricLeftDown Parallel 45 35 0 0
    isometricRightUp Parallel 315 35 0 0
    isometricRightDown Parallel 315 325 0 0
    isometricOffAxis1Left Parallel 64 18 0 0
    isometricOffAxis1Right Parallel 334 18 0 0
    isometricOffAxis1Top Parallel 306.5 301.3 57.6 0
    isometricOffAxis2Left Parallel 26 18 0 0
    isometricOffAxis2Right Parallel 296 18 0 0
    isometricOffAxis2Top Parallel 53.5 301.3 302.4 0
    isometricOffAxis3Left Parallel 64 342 0 0
    isometricOffAxis3Right Parallel 334 342 0 0
    isometricOffAxis3Bottom Parallel 306.5 58.7 302.4 0
    isometricOffAxis4Left Parallel 26 342 0 0
    isometricOffAxis4Right Parallel 296 342 0 0
    isometricOffAxis4Bottom Parallel 53.5 58.7 57.6 0
    obliqueTopLeft          
    obliqueTop          
    obliqueTopRight          
    obliqueLeft          
    obliqueRight          
    obliqueBottomLeft          
    obliqueBottom          
    obliqueBottomRight          
    perspectiveFront Perspective 0 0 0 45
    perspectiveLeft Perspective 20 0 0 45
    perspectiveRight Perspective 340 0 0 45
    perspectiveAbove Perspective 0 340 0 45
    perspectiveBelow Perspective 0 20 0 45
    perspectiveAboveLeftFacing Perspective 0 340 0 45
    perspectiveAboveRightFacing Perspective 345.7 39.3 18.9 45
    perspectiveContrastingLeftFacing Perspective 43.9 10.4 356.4 45
    perspectiveContrastingRightFacing Perspective 316.1 10.4 3.6 45
    perspectiveHeroicLeftFacing Perspective 14.3 349 2.6 45
    perspectiveHeroicRightFacing Perspective 345.7 349 357.4 45
    perspectiveHeroicExtremeLeftFacing Perspective 34.5 8.1 357.1 80
    perspectiveHeroicExtremeRightFacing Perspective 325.5 8.1 2.9 80
    perspectiveRelaxed Perspective 0 309.6 0 45
    perspectiveRelaxedModerately Perspective 0 324.8 0 45

     

    Saturday, January 7, 2012 1:47 AM