View Axis ???

Hi there, as I already said, I am new with motion.
At the time, I am totally dispaired, because I really can´t understand
what the view axis and the camera axis does.
I´m trying to do the Lessons 4 in the apple training book, but my results
don´t even look like the examples in the book, even if I do it step by step what they write.
Here is what I understand since now:
If I am standing on a road and turn myself over my left shoulder (about to 10 o´clock)
then; my local axis has changed to -45 degree in y.
Is the axis between me and the street now the world axis ? (And din´t changed)
And what is the view axis? A view from a camera, standing in front of me ?
And why are these axises not fixed and I can use them even if I move the object or
the camera ? I my understanding, I can move f.e. a camera, but not the road, where it stands on.
So why is the world axis not fixed ?
And on top: what the **** can I see, if I turn "perspective" on ?
I really can´t define it, but sometimes I can scroll with the hand as far, until I can see
the cameras wireframe. Any ideas ?? Any easy understanding tutorials ??
Thanks for your replies,
Andrea

Your post is a little hard to understand, but I'll try to help with the Axis thing:
World Axis: This is the axis of the world. If you turn on the 3D grid, this axis is represented by a blue line that intersects with a red line. The blue line is the Z axis for the world, the red line is the X axis for the world. The Y axis is not represented since the 3D grid is shown as a 2D floor; it has no height. If you select a layer and change the axis in the HUD to world axis, the blue arrow for that layer will always point parallel to the blue line of the 3D grid. This is regardless of the angle that layer has to the grid.
View Axis: This is the axis from the POV of the currently selected view. Blue arrows point parallel to the view's line of sight, Red arrows point perpendicular. When the view is the Active Camera view, the view axis is identical to the camera axis.
Local Axis: This is the XYZ axis of a layer relative to itself.
I hope this helps.
Andy

Similar Messages

  • Pivot Chart X-Axis Values

    Hi
    I generated one report using pivot char. In pivot chart row page i added datetime and time field.
    In my chart x axis should be display time label only. But values should be group by Date.
    How to set x axis time value only in my chart.
    If i removed date from row page the value will be wrong.
    Thanks

    Hi,
    You can retain both the datetime and time field so that your group by date option doesnt get effected.
    When it comes to display..To have only time value in the X axis heading as well as Scale labels. Please follow the following steps.
    1. Heading: Pivot table View : Axis titles and labels : Change the title
    2. Scale Labels: Pivot table View : Axis titles and labels : Labels : Format : Truncate : 6.
    By Truncating the labels. You may get two dots in the end of each label. But hope this may help you.
    Regards,
    Amrutha.

  • Chart X Axis Monthly Dates

    I am using Crystal Reports XI R2 and am having problems with setting up a chart that contains up to one year's worth of daily data, with potentially missing days.  The chart needs to have a label once per month.
    When the X axis is set up as a date, Crystal only shows 5 labels, roughly once every 2-3 months.
    When set up as a string, it shows every single day which ends up looking like a black line.
    Bringing in data only once per month is not an option as the chart needs to represent fluctuation throughout each month.
    I saw on these forums a method that involved creating a formula field that returns a value only when I want (such as the first of the month) and a blank string on every other time, but for some reason that won't work either.  The chart misses several months in a seemingly random fashion even though the data is good (it displays only Jan, April, May, Sept and Oct, all in their correct positions).
    So basically I need a label for every month of daily data but can't seem to get Crystal to cooperate.
    Any help would be appreciated.

    Hi,
    The answer given for the pivot chart view applies to this one also..The following is the answer
    You can retain both the datetime and time field so that your group by date option doesnt get effected.
    When it comes to display..To have only time value in the X axis heading as well as Scale labels. Please follow the following steps.
    1. Heading: Pivot table View : Axis titles and labels : Change the title
    2. Scale Labels: Pivot table View : Axis titles and labels : Labels : Format : Truncate : 6.
    By Truncating the labels. You may get two dots in the end of each label. But hope this may help you.
    Regards,
    Amrutha.

  • Animating the Camera in AE

    For years and years I tried to animate the camera in AE.
    I MUST deactivate the 2 node option or I'll burst into a rage within 2 minutes.
    And the auto orient too.
    I tried parenting to a null, with and without split coordinates.
    The null isn't really on the same spot as the camera when youy start.
    I don't know if that is the reason but the movement gets nervous: no good angle and position interaction.
    I tried using the numeric sliders.
    Tiresome fiddling, as the system sticks to world coordinates when you do that.
    I tried the unifified cameratool.
    It seems so luxurious, until you try tweak things and discover the orient system creates bogus curves.
    I tried swith between world-, local- and view axis.
    That system doesn't work at all.
    Nothing happens.
    I'd like to meet the camera system designer.
    Have a word.
    The ONLY way I get reasonable and fast plus predictable 3D animations in AE is when Imparent EVERY object to a master null and animate that.
    Perfect moves, great angle and position integration.
    Only this is so lame, so not professional.
    Can't Adobe just copy the lightwave camera engine?

    I made a large map. The camera looks down. I wanna land in an angle close up and then move over the map.
    As I land, the map completely rotates out of the view.
    Extra keyframes introduces horrible wonks.
    I tried every system.
    Parenting to a null caused weird wonks right away when landing.
    Then I just parented ALL OBJECTS to a null.
    Zero problems.
    The only thing you need to know, is that position keyframes must be set on linear in their spatial curve, when they act up.
    It took me months to find out about that. Terrible waste of heart tissue.
    I totally had it with the AE camera.
    There is NO WAY I'm ever gonna master it.
    After trying ALL these years, I think I'm done.
    I'll stick to the stupid parenting method, as that seems to be the ONLY predictable and controllable method for me.
    I think the inconsistencies between temporal and spatial interpolation are the biggest problem, plus the stupid absolute axi.
    A very sad moment; I've actually given up.
    My only hope is a development of a relative camera control from the viewport, with translating axi which makes the camera a constant origin.
    Fiddle free, like in lightwave. I can't get the hang of the AE system.
    Further more, the need for dimension splitting to get to the tangent handles is also irritating.
    Not to mention the value tangent handles act nasty half of the time too.
    This is supposed to be an animation tool. It's more like a collection of workarounds.
    Doesn't anybody over at Adobe see this?

  • OBIEE and Essbase - Displaying all member names together

    Hi
    I hope you can help.
    When we import our Essbase cubes and add the alias tables and drag the cube to the BMM layer we get a column were we can search the alias for all the member in the hierarchy, independently of the generation (let's say Account - Default where Account is the dimension name and Default is  the name of the alias table).
    This is a very useful feature that I would like to extend to the member name but I cannot figure out how  to do it. All I am getting in the BMM layer is a column per generation but not one for the whole hierarchy.
    My question is: Is there any way of doing what I want and how  could I implement it?
    I am on OBIEE 11.1.6.10
    Thank you very much for your help.
    Juan

    Hypercubes are cubes built for analytical purposes which you can pivot, rotate, slice-n-dice etc anyways you want and each intersection will bring back some value. That makes them super dense and perfectly suited for dashboarding purposes as well since any dynamic change of point-of-view, axis of analysis and the likes will always yield a result and you can better optimize things for performance.

  • Dynamically scale to fit

    Greetings,
    I'm working on a J3D application that places and moves objects at runtime.
    I'd like to be able to:
    1) auto scale / move the viewpoint in order to show all the objects, fitting them in the canvas
    2) same as 1, but after using the mouse to rotate the view point.
    Any idea?
    I first tried using
    universe.getViewingPlatform().getMultiTransformGroup().getTransformGroup(0)
    but i can't attach it to a behaviour, and i have to manually calculate the scale factor. That's pretty easy when in condition 1), harder when in condition 2 since the view axis rotated.

    try out the mouse behavior classes in chapter 4, section 4.5 of sun's java 3d tutorial:
    http://java.sun.com/developer/onlineTraining/java3d/j3d_tutorial_ch4.pdf
    it provides with utility classes for translating, rotating and zooming with mouse.

  • Chart with Navigation Target not working propertly

    Hi All,
    I have a question regarding charts with navigation targets.
    I have a simple report with these 3 columns: QUARTER | REGION | SALES
    And I want to click on sales, and see the sales detail by the region and the quarter on the line I clicked. This works fine when I have the Table View.
    But When I go into a Chart view, ( axis Y->sales, axis X->quarter, x-y->region ) and I click on any intersection, I cannot have the quarter filter applied.
    On the target report, I have the filter like: "quarter is prompted".
    Does anyone knows why this may happen? I do not have the latest version of OBIEE installed, I think I have 10.3.3.3, but I'm not sure.
    THANKS,
    Alejandro

    Hi, if you mean the place where you select "navigation target" and set the destination report, then yes.
    Thanks!

  • Why I can't connect to the server ?

    Hi, I want to implement a simple viewer for an axis camera on the web. I have just this simple file but when I run it from the terminal I got the following error:
    java.io.FileNotFoundException: http:/142.22.58.150/axis-cgi/mjpg/video.cgi?camera=&showlength=1&resolution=704x480 (No such file or directory)
    I tried with different urls, but still the same error. I run the code from the osx terminal. Should I change some permissions ? should i modify the code ? how ?
    thanks
    public class Viewer extends JFrame {
         Viewer() {
              //TODO set frame size for the container
              //set frame size
              this.setSize(500, 500);
              this.setTitle("camera Manager viewer");
              // axis camera connection
              String cameraStreaming = "http://142.22.58.150/axis-cgi/mjpg/video.cgi?camera=&showlength=1&resolution=704x480";
              BufferedImage img = null;
              try {
              //Loading video streaming
              BoundaryMJPEGConnection bMconnection = new BoundaryMJPEGConnection( new FileInputStream(new File(cameraStreaming)));
              //getImage
              //byte[] bMconnection.getNextImage();
              try {
                   img = ImageIO.read(new ByteArrayInputStream(bMconnection.getNextImage()));
              } catch (IOException e) {
              System.out.println(e);
              } catch (IOException e) {
              System.out.println(e);

    That URL isn't a file. So don't use a File object or a FileInputStream if you want to read it.
    This tutorial tells you how to read from a URL, among other things:
    [http://java.sun.com/docs/books/tutorial/networking/urls/index.html]

  • Poor man's matchmove

    I've been racking my brains trying to figure out a way to make this work. I seem to vaguely remember that there is a way to do it, but I can't figure it out.
    I've got great cornerpin data for a square TV screen in a orbiting dolly shot . I can track an image onto the screen just fine, but what if I want to make it appear as though the image were floating *in front* of the screen. It doesn't help that the distance between the screen and the camera does change over the course of the shot.
    Can this be done with what amounts to a 2D cheat? Or is there alternatively a way to deduce 3D data from the corner-pins? Or am I up a creek? :-)
    Cheers!

    No, not really. Without the camera actually being 3D, there is no way to logically deduce a projection matrix. Ergo you would have to mimic the camera motion using a Null and possibly have a reference point in the middle of the screen that would allow to calculate an offset along the view axis. Still, you should be able to get a sufficient illusion by offsetting the corner pins along an imaginary motion vector, which would be the inverse of the camera motion in 2D screen space. Something as simple as:
    //===begin expression===
    cPoint=effect("Corner Pin")("Upper Left");//reference point
    cAngle=degreesToRadians(effect("Angle")("Angle")); //angle expression control
    cOffset=effect("Offset")("Slider"); //slider expression control
    X=cPoint[0]+Math.sin(cAngle)*cOffset;
    Y=cPoint[1]+Math.cos(cAngle)*cOffset;
    [X,Y]
    //===end expression===
    You can then simply animate the expression controls. You may also wish to add a multiplier for the offset, so you can make it a little less on the points facing aways from the camera to improve the perspective experience.
    Mylenium

  • Moving 3D Shape

    Hi,
    I need some help in animating a 3D Shape rotating/translating using values entered in JTextField format,
    For example, I want the shape to rotate 60 degrees, I just key in 60 and the shape will be shown rotating 60 degrees.
    Thanks
    th

    Please study my code below. Ignore the parts you don't take interest. Class GeneralContourPanel is no importance to you either. This class cannot run as a standalone app. Just study how we rotate a 3D object. If necessary, you can get in touch with me by this email address: [email protected].
    package petrochina.riped.plot.post3d;
    import com.sun.j3d.utils.behaviors.mouse.MouseRotate;
    import com.sun.j3d.utils.behaviors.mouse.MouseTranslate;
    import com.sun.j3d.utils.behaviors.mouse.MouseZoom;
    import com.sun.j3d.utils.universe.SimpleUniverse;
    import java.awt.BorderLayout;
    import java.awt.Font;
    import java.awt.GraphicsConfiguration;
    import javax.media.j3d.Background;
    import javax.media.j3d.BoundingSphere;
    import javax.media.j3d.BranchGroup;
    import javax.media.j3d.Canvas3D;
    import javax.media.j3d.GeometryArray;
    import javax.media.j3d.IndexedLineArray;
    import javax.media.j3d.Shape3D;
    import javax.media.j3d.Transform3D;
    import javax.media.j3d.TransformGroup;
    import javax.vecmath.Color3f;
    import javax.vecmath.Point3d;
    import javax.vecmath.Point3f;
    import javax.vecmath.Vector3d;
    import petrochina.riped.util.Text2DForJ3D;
    * Acts as the base class for any Java3D objects.
    * <p>IMPORTANT NOTICE: The x-y-z axises used in this class is the same with
    * that in Java3D, only the default view is with a rotation.
    * @author Xiao Xiaochun & uanglin Du ([email protected] or [email protected])
    * @version 1.0, 2003/09/29 20:05
    public abstract class J3DPanel extends GeneralContourPanel {   
    /** The root BranchGroup */
    public BranchGroup rootBG = null;
    /** The root of the branch graph */
    public BranchGroup branchGroup = null;
    /** The <code>TransformGroup</code> used to hold . */
    public TransformGroup transformGroup = null;
    /** The <code>Transform3D</code> instance used to resume the visual view. */
    public Transform3D tempRotateTransform = null;
    /** The <code>Transform3D</code> instance used to scale the 3D objects. */
    public Transform3D scaleTransform = null;
    /** The <code>Transform3D</code> instance used in zoom functionality. */
    public Transform3D zoomTransform = null;
    * The <code>Transform3D</code> instance used to rotate the view in x y and z axis
    * clockwiselyorcounter.
    public Transform3D transform3DObject = null;
    /** The MouseTranslate to translate the 3D objects */
    public MouseTranslate myMouseTranslate = null;
    /** The incremental roation counterclockwise angle in radian. */
    private static double rotationIncrement =Math.PI/18.0;
    /** The zoom in count in double. */
    private static double zoomInFactor = 1.02;
    /** The zoom out count in double. */
    private static double zoomOutFactor = 0.98;
    /** The double-typed translate factor. */
    private static double translateFactor = 0.005;
    /** The only Canvas3D instance containing the Java3D objects. */
    private Canvas3D canvas3D = null;
    /** The zox slices indices (row), starting from 1. */
    public int[] zoxSliceIndices = null;
    /** The yoz slices indices (column), starting from 1. */
    public int[] yozSliceIndices = null;
    /** Determines if the 3D view has mesh drawn together, and the default value is true. */
    public boolean withMesh = true;
    /** Determines if the 3D view has well drawn together, and the default value is true. */
    public boolean withWell = true;
    /** Determines if the 3D view has well names drawn together, and the default value is true. */
    public boolean withWellName = true;
    /** Determines if the 3D view has the surrounding frame drawn together, and the default value is false. */
    public boolean withFrame = false;
    /** Determines if the 3D view has a 3D coordinate system drawn together, and the default value is false. */
    public boolean with3DCoord = false;
    * Constructs with a <code>title</code> and <code>workspaceDir</code>.
    * @param contourInfo the information of the contour
    * @param workspaceDir the workspace directory
    public J3DPanel(String contourInfo, String workspaceDir) {          
         super(contourInfo, workspaceDir);
    this.rootBG = new BranchGroup();
    this.rootBG.setCapability(BranchGroup.ALLOW_CHILDREN_READ);
    this.rootBG.setCapability(BranchGroup.ALLOW_CHILDREN_WRITE);
    this.rootBG.setCapability(BranchGroup.ALLOW_CHILDREN_EXTEND);
    //Creates & adds the Java3D canvas3D to this internal frame's content pane.
    GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
    this.canvas3D = new Canvas3D(config);
    // SimpleUniverse is a Convenience Utility class
    SimpleUniverse simpleU = new SimpleUniverse(canvas3D);
         // This will move the ViewPlatform back a bit so the
         // objects in the scene can be viewed.
    simpleU.getViewingPlatform().setNominalViewingTransform();
    simpleU.addBranchGraph(this.rootBG);
    * Performs the scene graph initialization. This method is called by subclasses
    * to implement the specific 3D graph plotting.
    public void initialize() {     
         branchGroup = new BranchGroup();
    branchGroup.setCapability(BranchGroup.ALLOW_DETACH);
         transformGroup = new TransformGroup();
         tempRotateTransform =new Transform3D();
         scaleTransform = new Transform3D();
         transform3DObject = new Transform3D();
    zoomTransform = new Transform3D();
         transformGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
         transformGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
         branchGroup.addChild(transformGroup);
         //Adds the 3D axis
    if(this.withFrame){
    transformGroup.addChild(create3DAxis());
    } else {
    SimpleAxis sa = new SimpleAxis(0.08f);
    TransformGroup tg = sa.create3DAxis(-0.7, 0.7, 0.0);
    transformGroup.addChild(tg);
    //This is the magic to integrate Java3D with Swing.
         this.setLayout(new BorderLayout());
         this.add(canvas3D, BorderLayout.CENTER);
    //The bounding sphere
    Point3d p3d = new Point3d(0.0, 0.0, 0.0);
    BoundingSphere bs = new BoundingSphere(p3d, 10000);     
         //Adds the mouse translate, rotate & zoom behaviors
         myMouseTranslate = new MouseTranslate();
         myMouseTranslate.setTransformGroup(transformGroup);
         myMouseTranslate.setFactor(translateFactor);
    myMouseTranslate.setSchedulingBounds(bs);
         branchGroup.addChild(myMouseTranslate);
    MouseRotate myMouseRotate = new MouseRotate();
    myMouseRotate.setTransformGroup(transformGroup);
    myMouseRotate.setSchedulingBounds(bs);
    branchGroup.addChild(myMouseRotate);
    MouseTranslate myMouseTranslate = new MouseTranslate();
    myMouseTranslate.setTransformGroup(transformGroup);
    myMouseTranslate.setSchedulingBounds(bs);
    branchGroup.addChild(myMouseTranslate);
    MouseZoom myMouseZoom = new MouseZoom();
    myMouseZoom.setTransformGroup(transformGroup);
    myMouseZoom.setSchedulingBounds(bs);
    branchGroup.addChild(myMouseZoom);
         //Set the window size
         this.setSize(300,300);
         //Set the window's location.
         this.setLocation( 0, 0);                
         this.setVisible(true);
         //default background(white) setting, DGL, 01/25/2002
         Background backg = new Background(1.0f, 1.0f, 1.0f);
    backg.setApplicationBounds(bs);
         branchGroup.addChild(backg);     
         //Uses an abstract method as the entry to add specific 3D objects
    add3DShapes();
         // Let Java 3D perform optimizations on this scene graph.
    branchGroup.compile();
    //simpleU.addBranchGraph(branchGroup);
    this.rootBG.addChild(branchGroup);
    * This abstract method works as the entry for subclasses to addthe Java3D shapes.
    * This is done by adding the 3D objects, usually <code>Shape3D</code> objects
    * to the <code>transformGroup</code> node. A sample is as following:<p>
    * <code>transformGroup.addChild(new ColorCube(0.4));<code>
    * <br>or<p>
    * <code>transformGroup.addChild(new Shape3D(<code>NodeComponent</code> object));<code>
    public abstract void add3DShapes();
    /** Rotates along the view axis about x counterclockwisely */
    public void rotateAlongXCCW() {
         tempRotateTransform.rotX(rotationIncrement);
         transformGroup.getTransform(transform3DObject);
         transform3DObject.mul(tempRotateTransform);
         transformGroup.setTransform(transform3DObject);
         zoomTransform = transform3DObject;
    /** Rotates along the view axis about y counterclockwisely */
    public void rotateAlongYCCW() { 
         tempRotateTransform.rotY(rotationIncrement);
         transformGroup.getTransform(transform3DObject);
         transform3DObject.mul(tempRotateTransform);
         transformGroup.setTransform(transform3DObject);
         zoomTransform = transform3DObject;
    /** Rotates along the view axis about z counterclockwisely */
    public void rotateAlongZCCW() { 
         tempRotateTransform.rotZ(rotationIncrement);
         transformGroup.getTransform(transform3DObject);
         transform3DObject.mul(tempRotateTransform);
         transformGroup.setTransform(transform3DObject);
         zoomTransform = transform3DObject;
    /** Rotates along the view axis about x clockwisely */
    public void rotateAlongXCW() { 
         tempRotateTransform.rotX(-rotationIncrement);
         transformGroup.getTransform(transform3DObject);
         transform3DObject.mul(tempRotateTransform);
         transformGroup.setTransform(transform3DObject);
         zoomTransform = transform3DObject;
    /** Rotates along the view axis about y clockwisely */
    public void rotateAlongYCW() { 
         tempRotateTransform.rotY(-rotationIncrement);
         transformGroup.getTransform(transform3DObject);
         transform3DObject.mul(tempRotateTransform);
         transformGroup.setTransform(transform3DObject);
         zoomTransform = transform3DObject;
    /** Rotates along the view axis about z clockwisely */
    public void rotateAlongZCW() { 
         tempRotateTransform.rotZ(-rotationIncrement);
         transformGroup.getTransform(transform3DObject);
         transform3DObject.mul(tempRotateTransform);
         transformGroup.setTransform(transform3DObject);
         zoomTransform = transform3DObject;
    * Rotates the Java3D objects to the conventional view in
    * reservoir enginering: x axis extends upwardly, y right, and z inwardly.
    public void setPlanform() {
         Transform3D planformTransform = new Transform3D();
         planformTransform.rotX(Math.PI);
         transformGroup.getTransform(transform3DObject);
         transform3DObject = planformTransform;
         transformGroup.setTransform(transform3DObject);
         zoomTransform = transform3DObject;     
    * Rotates the Java3D objects to the conventional view in
    * reservoir enginering: x axis extends downwardly, y right, and z outwardly.
    public void setFundusView() {
         Transform3D fundusTransform = new Transform3D();
         fundusTransform.rotX(2.0*Math.PI);
         transformGroup.getTransform(transform3DObject);
         transform3DObject = fundusTransform;
         transformGroup.setTransform(transform3DObject);
         zoomTransform = transform3DObject;     
    * Rotates the Java3D objects to the conventional view in
    * reservoir enginering: y axis extends inwardly, x left, and z downwardly.
    public void setLeftView() {
         Transform3D leftTransformX = new Transform3D();
         Transform3D leftTransformY = new Transform3D();
         leftTransformX.rotX(Math.PI/2.0);
         leftTransformY.rotY(Math.PI/2.0);
         leftTransformY.mul(leftTransformX);
         transformGroup.getTransform(transform3DObject);
         transform3DObject = leftTransformY;
         transformGroup.setTransform(transform3DObject);
         zoomTransform = transform3DObject;     
    * Rotates the Java3D objects to the conventional view in
    * reservoir enginering: x axis right, y outwardly, and z downwardly.
    public void setRightView() {
         Transform3D rightTransformX = new Transform3D();
         Transform3D rightTransformY = new Transform3D();     
         rightTransformX.rotX(Math.PI/2.0);
         rightTransformY.rotY(1.5*Math.PI);
         rightTransformY.mul(rightTransformX);
         transformGroup.getTransform(transform3DObject);
         transform3DObject = rightTransformY;
         transformGroup.setTransform(transform3DObject);
         zoomTransform = transform3DObject;     
    /** Sets the default view which lets the user overlook the most parts of the 3D graph. */
    public void setDefaultView(){
    this.setFrontView();
    this.rotateAlongXCCW(); //twice
    this.rotateAlongXCCW();
    this.rotateAlongZCW();
    * Rotates the Java3D objects to the conventional view in
    * reservoir enginering: x axis extends inwardly, y right, and z downwardly.
    public void setFrontView() {
         Transform3D frontTransform = new Transform3D();     
         frontTransform.rotX(Math.PI/2.0);
         transformGroup.getTransform(transform3DObject);
         transform3DObject = frontTransform;
         transformGroup.setTransform(transform3DObject);
         zoomTransform = transform3DObject;     
    * Rotates the Java3D objects to the conventional view in
    * reservoir enginering: x axis extends outwardly, y left, and z downwardly.
    public void setBackView() {
         Transform3D backTransformX = new Transform3D();     
         Transform3D backTransformY = new Transform3D();     
         backTransformX.rotX(Math.PI/2.0);
         backTransformY.rotY(Math.PI);
         backTransformY.mul(backTransformX);     
         transformGroup.getTransform(transform3DObject);
         transform3DObject = backTransformY;
         transformGroup.setTransform(transform3DObject);
         zoomTransform = transform3DObject;
    /** Sets the J3D object's zoom in . */
    public void setZoomIn() {
         tempRotateTransform.set(zoomInFactor);
         transformGroup.getTransform(scaleTransform);
         scaleTransform.mul(tempRotateTransform);
         transformGroup.setTransform(scaleTransform);
    /** Sets the J3D object's zoom out. */
    public void setZoomOut() {
         tempRotateTransform.set(zoomOutFactor);
         transformGroup.getTransform(scaleTransform);
         scaleTransform.mul(tempRotateTransform);
         transformGroup.setTransform(scaleTransform);
    /** Sets the J3D object's zoom. */
    public void setZoom() {
         transformGroup.setTransform(zoomTransform);
    /** Removes the main graph from branchGroup. */
    public void removeBranchGroup(){
    try {
    this.branchGroup.detach();
    } catch(Throwable ex) {
    super.exceptionHandler(ex);
    }

  • Complex Rotation Animation

    Hello to everyone,
    This is my first time here in the forum.
    I have recentyl started using after effects and I am very surprised at how easy it is to create animation & effects with it.
    My question is about a rotation animation I have come across.
    Particularly, although I thought it was easy, I am not able to recreate the rotation of the icons at approximately 40sec of
    this bluefx video. When the main icon explodes they all start to make a rotation animation around their vertical axis.
    However, I cannot recreate it with simple rotations.
    I have seen this animation in other videos as well, so I believe that there must be some kind of a technique (like a design
    pattern) for it.
    I have tried using the combination of a null object controlling a camera and setting the object to be rotated to "orient towards
    camera". I see the animation in the RAM preview through another camera of the composition. However, when I render it the
    animation does not show because the active camera is the one moving. And it is moving in order for the object to follow it. So,
    the animation cannot be rendered.
    I would be very grateful if anyone could help me out with this. Ideas, known techinques, anything.
    Thanks a lot!

    I'm not sure I follow you. Rotation values are always based on the x, y, and z planes of the layer. You can change the way the rotation tool (w) effects these numbers by selecting Local, World, or View axis modes or by picking Rotation or Orientation in the tool bar.
    I usually do all of my rotation manipulation in the timeline.
    Taking a closer look at the animation on my computer it looks like you can duplicate it with z and x rotation only. It just takes 3 keyframes for x and 2 for z with a little graph editor tweaking.

  • How do I change the numerical format of the axis in Diadem view and report

    Is there a method for changing the format of the AXIS labels to show more significant digits? Second, I can't find how to display the menu shown in NI help document 3FIEI5LE. When I right click to (select properties) I get a different menu labeled (set proerties for display).
    Thanks,
    Doug

    Hi Doug,
    There is no way to configure the display of the X axis in VIEW-- this is for a quick look at or an interactive visual inspection of your data. For a fully configurable report creation environment you should switch to REPORT. Note that the last button on the top icon bar in VIEW with the tipstrip "Transfer to REPORT" will transfer what you currently have displayed in VIEW into a new REPORT layout.
    In REPORT if you double-click on the numbers below the X axis, a "2D - Numeric display" configuration dialog will appear which has the field "Format:" in it. Type in "d.dddd" ("d,dddd" in Europe) or as many d's after the decimal character as you want to display. There are also other formatting options for scientific display, etc.
    I honestly didn't understand your second question about the help dialog-- what version of DIAdem are you using?
    Regards,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • How do I plot a y axis on the left and right in DIAdem/VIEW (version 11.0)?

    I am trying to analyze flight data, and I would like to analyze plots of certain parameters so that they share an x axis. It is necessary to view these using two different y axis, on the left and right. How do I do this in DIAdem (version 11.0) in the VIEW tab? Is this possible to do in the VIEW tab?

    myocom,
    You can highlight random points in DIAdem as well. 
    Here is an example:
    Use the cursor to move to the point you wish to highlight.
    Press the "Set Data Point and Flag" icon on each data point you wish to highlight
    When you are done selecting points, press the "Flags: Copy Data Points" icon - that will copy all X/Y coordinates into two new channels
    I created a REPORT Layout using the original data and the highlighted random points (I added the actual point Z-value above the point, they look strange when written at the exact point). I attached the layout for your reference.
    The complete task took 3 minutes from loading the data to finishing and exporting the REPORT layout. If you have a REPORT layout already, this will take less than 30 seconds ...
    I am not familiar with Matlab, so I can't compare how this works in DIAdem vs. Matlab. You can add the combine the complete process in a Script and it will automatically create this kind of report after simply selecting a few data points in VIEW and then pressing a button ...
        Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."
    Attachments:
    Report with highlights.zip ‏5 KB

  • How to add a scroll bar within a view window ?I want to display x and y axis outside the scoll window and keep those axis static and move the graph within scroll area

    how to add a scroll bar within a view window ?I want to display x and y axis outside the scoll window and keep those axis static and move the graph within scroll area
    ananya

    Hey Ananya,
    I believe what you want to do is possible, but it will not be
    easy.  If you want to add a scroll bar that will scroll the graph
    back and forth but keep the axis set, you would want to add a
    horizontal or vertical scrollbar.  Then you would create an event
    handler for the scroll event.  You would have to manually plot
    different data within this scroll event.  Unfortunately, there is
    not really a built in way to do this with the Measurement Studio plot
    control.
    Thanks,
    Pat P.
    Software Engineer
    National Instruments

  • How do I set the default x-axis scale in DIAdem View?

    Hi everyone:
    I look at large amounts of data (i.e. many different data files every day), and I am trying to load and view them quickly and efficiently. Currently, when I have data sets loaded in the "Structure" tab, and I click and drag a numeric channel over to the 2-D plot, DIAdam automatically scales the x-axis from 0 to 60, when the numeric channels can be anywhere from 50 000 to 100 000 entries long. I now use the roller on my mouse to zoom out for five minutes before seeing the entire data set. My question is is there a way to re-set the default x-axis scaling so I do not have to zoom out each time I plot a numeric channel?
    Solved!
    Go to Solution.

    Hello Peter!,
    The DIAdem VIEW windows will always auto-scale to the full range of the values on the X-axis when you drag data into a new window.
    You have several options on how to quickly get to the range of data you wish to see.
    Right click on the LEFT edge of the data you wish to zoom into, HOLD the mouse right mouse button and DRAG the mouse to the right side of the section you wish to zoom into. DIAdem will automatically show the section you have selected in a zoomed view in that same window
    Result:
    Alternatively, you can double click on the VIEW window and check the "Manual X-Scaling" box and then enter the exact values you wish to zoom into
    Also, you could use the Band Cursor from the toolbar, move and resize the Band in the VIEW window and then use the "Scroll in Cursor Range" icon to zoom into the area of the curve you are interested in.
    These are just a few ways you should be able to accomplish what you have described in your post.
    Let us know if you have additional questions ...
          Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

Maybe you are looking for

  • Charge cable won't work

    We have a new MacBook Pro and the charge cable just won't light up and charge the battery. At first, it would work if we jiggled it around, but now we can't get it to work at all.  Do these cables often go bad?

  • Dbassist generates XML how can I use

    The dbassist tool in 9i generates XML files for the template definitions. Are there any DTD for this XML? How can I use this templates in silent mode (without GUI) to generate the creation scripts.

  • Slow Frame Rates on Macbook Air

    I play online games on my macbook air, and it always seems to have slower frame rates than my windows laptop (like 5-10 vs 20-30).  I'm guessing battery preservation, but does anyone know how to unlock this?

  • [persistence] all work, but can't persist new entity bean

    Hi, I have a FacadeBean which is working fine ... I can contact the BD oracle for retrieving my entity beans, update an entity bean etc... BUT... I can't create an entity bean :( I don't understand why!!! With the same code, I can create, list, etc..

  • Who can tell me how to creat ePubs?

    Who can tell me how to creat ePubs?