0 Replies Latest reply on Jan 6, 2016 2:40 AM by daver99541879

    3dpdf and javascript

    daver99541879

      I have created a pdf with 3d content using the pdf3d sdk . It is a geological 3d view of West Africa. I want to enhance the pdf by using javascript attached to buttons to move to some predefined views. I am using the javascript commands translateInPlace and rotateaboutZInPlace (and X and Y) to move the scene to the view I have defined. This all works very well. My problem is that to move to the next preset view using these calls  move the scene incrementally from the last view. So what I want is either a command to move to an absolute position and rotation , or to retrieve the current position and rotation to calculate the new shifts required, as the user may have moved the view from one of the pre-set views to an arbitary view.