Rotating cube

After installing Yosemite, my rotating cube effect when fast user switching isn't working properly. I get the cube effect when I switch from user A to B (cube turns from right to left), but when I switch from user B back to A, I don't get a cube effect anymore (it used to turn left to right). Now I get a fade out/in effect.
Anyone know what's going on?

Thanks for the replies.
Rob N, Fast User Switching is selected so that does not appear to be the problem.
Niel, I tried what you suggested and got this response:
There is no (GLCompositor) default for the (com.apple.windowserver) domain.
Defaults have not been changed.
The interesting thing is that I have seen the cube on my machine - recently when I was running on Airport in the kitchen. Normally the TiBook is plugged into an Ethernet DSL connection and that is where it is now (with no cube). It is a bit late tonight to check out whether this is a contributing factor but I will look into it. Strange!
TiBook, 867 MHz, 40 GB, 512 MB, 120 GB LaCie   Mac OS X (10.4.6)   LW 4/600, Newton OMP

Similar Messages

  • When trying to log back from sleep mode, the screen behaves as a rotating cube, with the mouse pointer in the top left corner. Hangs.

    iMac OS X Ver 10.7.3
    21.5 Inch, Mid 2011
    2.5 FHz intel Core 5
    12 GB 1333 MHz DDR3
    When the computer in woken from sleep mode we see two login options (bineg used by two users).
    But when we try to login, the screen just behaves as a sluggish rotating cube.
    Nothing works, we just have to hard boot at this time.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this exercise is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    Note: If FileVault is enabled under Mac OS X 10.7 or later, you can’t boot in safe mode.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem(s)?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • What has happened to the Rotating Cube when switching accounts in Leopard?

    Has the rotating cube been abandoned in Leopard? If not how do I turn it back on? Thanks in advance.

    Fast user switching is on... I use the Name reference but I've tried switching to icon with the same result. If the a account I'm switching to is not logged in I get a blank Blue screen for about 2 seconds then the desktop of the account. If the account is already logged in then from the login window (all accounts have passwords) it just switches directly to the desktop.
    I have spaces turned on on my main account however none of the other accounts do, the same thing happens regardless of which account you are switching from or to.
    If you hadn't said it was working for you I would have believe they just pulled it from Leopard.

  • Multiple EventListeners, modulus and rotating cubes... performance issues.

    Hi.
    I've created a grid of 3D cubes using modulus, and the 3d cubes are were created from the Math and Flash Tutorial, if you are interested it is here http://www.flashandmath.com/advanced/menu3d/.
    What  I am trying to accomplish (and it works, just the performance is lousy). All the cubes in the grid are inactive until the mouse hovers over them, then they start to rotate, and once the mouse moves off them they continue to rotate.
    Time for the script:
    To create I create the grid like this:
    public function FlowerMenu(){
    var rowY:Number = 0;
    for (var i:int = 0; i < 190; i++) {
         var myCube = new               CubeMenu(["anemon.jpg","parodia.jpg","anagallis.jpg","lila.jpg","cosmos.jpg","adonis.jpg" ],100);
         myCube.x = 0 + ((i % 10) * 200);
         if (i % 10 == 0) {
             rowY += 200;
    myCube.y = rowY;
    addChild(myCube);
    That works fine, although if anybody has any improvements I would  appreciate them.
    And now for the mouse events & event listeners:
    private var i:int = 0;
    private function setUpListeners():void
        spBoard.addEventListener(MouseEvent.MOUSE_OVER, boardOver);
        spBoard.addEventListener(MouseEvent.MOUSE_OUT, boardOut);
    private function boardOver(e:MouseEvent):void
        addEventListener(Event.ENTER_FRAME, rotateSquare);
    private function boardOut(e:MouseEvent):void
        addEventListener(Event.ENTER_FRAME, rotateSquare);
    private function rotateSquare(e:Event)
        renderView(curTheta+i, curPhi+i);
        i++;
    So, this works, but after about 4 or 5 cubes have started rotating the
    performance drops considerably. I can imagine creating that many
    EventListeners isn't a good idea, but I can't see any other way of
    doing it.
    Does anybody have any suggestions or code improvements, I'm very new to AS3
    and Flash so any help or suggestions would be greatly appreciated.
    Thanks in advance.

    Actually I'm not using paper vision, I'm using the source from flash and math's using transformation matrixes and bitmaps here http://www.flashandmath.com/advanced/menu3d/index.html
    No, the boardOut function, is for when the mouse rolls off the cube, it starts it spinning indefinitely.
    private function boardOut(e:MouseEvent):void
        addEventListener(Event.ENTER_FRAME, rotateSquare);
    If it helps I could post the project in a zip, so you can get an idea of what it is, i'm doing and can see where the performance hit is. Is there any recognised  method of doing this on boards?

  • Can't  translate a selfmade Cube with MouseTranslate!

    hello,
    1st i'm very new to java3d, so please forgive me my unexpierience.
    Why is it impossible to translate (via MouseTranslate) the cube in the middle of the view? MouseRotation seems to be work fine.
    (i hope the pasted code is not to much, feel free to try)
    tnx in advance
    JIVI
    import javax.swing.*;
    import javax.vecmath.*;
    import java.awt.*;
    import javax.media.j3d.*;
    import com.sun.j3d.utils.behaviors.mouse.*;
    import com.sun.j3d.utils.universe.*;
    public class myShape3D extends JFrame
      public myShape3D ()
        super ("myShape3D");
        Container c = getContentPane ();
        setDefaultCloseOperation (EXIT_ON_CLOSE);
        c.setLayout (new BorderLayout ());
        Canvas3D c3d = new Canvas3D (SimpleUniverse
          .getPreferredConfiguration ());
        c3d.setPreferredSize (new Dimension (500, 500));
        SimpleUniverse su = new SimpleUniverse (c3d);
        su.getViewingPlatform ().setNominalViewingTransform ();
        su.addBranchGraph (createBranchGraph ());
        c.add (c3d);
        pack ();
        setVisible (true);
      private BranchGroup createBranchGraph ()
        BranchGroup bg = new BranchGroup ();
        TransformGroup tg = new TransformGroup ();
        TransformGroup cCubeTg = new TransformGroup ();
        cCubeTg.setCapability (TransformGroup.ALLOW_TRANSFORM_READ);
        cCubeTg.setCapability (TransformGroup.ALLOW_TRANSFORM_WRITE);
        Transform3D negativeZTranslation = new Transform3D ();
        negativeZTranslation.set (new Vector3f (0.0f, 0.0f, -1.0f));
        cCubeTg.setTransform (negativeZTranslation);
        Shape3D colouredLine = new Shape3D ();
        Shape3D whiteLine = new Shape3D ();
        Shape3D cCube = new Shape3D ();
        Color3f red = new Color3f (1.0f, 0.0f, 0.0f);
        Color3f green = new Color3f (0.0f, 1.0f, 0.0f);
        Color3f blue = new Color3f (0.0f, 0.0f, 1.0f);
        Color3f cyan = new Color3f (0.0f, 1.0f, 1.0f);
        Color3f yellow = new Color3f (1.0f, 1.0f, 0.0f);
        Color3f magenta = new Color3f (1.0f, 0.0f, 1.0f);
        LineArray line = new LineArray (2, LineArray.COORDINATES
                               | LineArray.COLOR_3);
        Point3f p0 = new Point3f (-0.5f, 0.5f, 0.5f);
        Point3f p1 = new Point3f (-0.5f, -0.5f, 0.5f);
        Point3f p2 = new Point3f (0.5f, -0.5f, 0.5f);
        Point3f p3 = new Point3f (0.5f, 0.5f, 0.5f);
        Point3f p4 = new Point3f (-0.5f, 0.5f, -0.5f);
        Point3f p5 = new Point3f (-0.5f, -0.5f, -0.5f);
        Point3f p6 = new Point3f (0.5f, -0.5f, -0.5f);
        Point3f p7 = new Point3f (0.5f, 0.5f, -0.5f);
        Point3f [] frontCoords = new Point3f [] { p0, p1, p2, p3 };
        Color3f [] frontColors = new Color3f [] { red, red, red, red };
        Point3f [] backCoords = new Point3f [] { p4, p5, p6, p7 };
        Color3f [] backColors = new Color3f [] { green, green, green, green };
        Point3f [] topCoords = new Point3f [] { p0, p3, p7, p4 };
        Color3f [] topColors = new Color3f [] { blue, blue, blue, blue };
        Point3f [] bottomCoords = new Point3f [] { p1, p2, p6, p5 };
        Color3f [] bottomColors = new Color3f [] { cyan, cyan, cyan, cyan };
        Point3f [] leftCoords = new Point3f [] { p0, p4, p5, p1 };
        Color3f [] leftColors = new Color3f [] { yellow, yellow, yellow,
                                 yellow };
        Point3f [] rightCoords = new Point3f [] { p3, p2, p6, p7 };
        Color3f [] rightColors = new Color3f [] { magenta, magenta,
                                  magenta, magenta };
        QuadArray front = new QuadArray (4, QuadArray.COORDINATES
                             | QuadArray.COLOR_3);
        front.setCoordinates (0, frontCoords);
        front.setColors (0, frontColors);
        QuadArray back = new QuadArray (4, QuadArray.COORDINATES
                               | QuadArray.COLOR_3);
        back.setCoordinates (0, backCoords);
        back.setColors (0, backColors);
        QuadArray top = new QuadArray (4, QuadArray.COORDINATES
                              | QuadArray.COLOR_3);
        top.setCoordinates (0, topCoords);
        top.setColors (0, topColors);
        QuadArray bottom = new QuadArray (4, QuadArray.COORDINATES
                              | QuadArray.COLOR_3);
        bottom.setCoordinates (0, bottomCoords);
        bottom.setColors (0, bottomColors);
        QuadArray left = new QuadArray (4, QuadArray.COORDINATES
                               | QuadArray.COLOR_3);
        left.setCoordinates (0, leftCoords);
        left.setColors (0, leftColors);
        QuadArray right = new QuadArray (4, QuadArray.COORDINATES
                             | QuadArray.COLOR_3);
        right.setCoordinates (0, rightCoords);
        right.setColors (0, rightColors);
        DirectionalLight directLi;
        directLi = new DirectionalLight (
                             new Color3f (0.0f, 0.0f, 0.0f),
                             new Vector3f (0.0f, 0.0f, -1.0f));
        LineArray line2 = new LineArray (2, LineArray.COORDINATES
                             | LineArray.COLOR_3);
        Point3f [] coords = new Point3f [] {
                             new Point3f (-1.0f, 0.0f, 0.0f),
                             new Point3f (1.0f, 0.0f, 0.0f) };
        Color3f [] colors = new Color3f [] {
                             new Color3f (1.0f, 1.0f, 0.0f),
                             new Color3f (0.0f, 1.0f, 1.0f) };
        Point3f [] coords2 = new Point3f [] {
                              new Point3f (
                                        0.0f, -1.0f,
                                        -5.0f),
                              new Point3f (0.0f, 1.0f, -5.0f) };
        Color3f [] colors2 = new Color3f [] {
                              new Color3f (1.0f, 1.0f, 1.0f),
                              new Color3f (1.0f, 1.0f, 1.0f) };
        cCube.addGeometry (front);
        cCube.addGeometry (back);
        cCube.addGeometry (top);
        cCube.addGeometry (bottom);
        cCube.addGeometry (left);
        cCube.addGeometry (right);
        Appearance ap = new Appearance ();
        /* POLYGON_LINE overrides default behavior of QuadArray, but why? */
        PolygonAttributes attributes;
        attributes = new PolygonAttributes (
                             PolygonAttributes.POLYGON_FILL,
                             PolygonAttributes.CULL_NONE, 0);
        ap.setPolygonAttributes (attributes);
        cCube.setAppearance (ap);
        Transform3D translation = new Transform3D ();
        translation.set (new Vector3f (0.0f, 0.0f, -1.0f));
        tg.setTransform (translation);
        line.setCoordinates (0, coords);
        line.setColors (0, colors);
        line2.setCoordinates (0, coords2);
        line2.setColors (0, colors2);
        colouredLine.setGeometry (line);
        whiteLine.setGeometry (line2);
        cCubeTg.addChild (cCube);
        MouseRotate mouseRotate = new MouseRotate ();
        mouseRotate.setTransformGroup (cCubeTg);
        mouseRotate.setSchedulingBounds (new BoundingSphere ());
        MouseTranslate mouseTranslate = new MouseTranslate ();
        mouseTranslate.setTransformGroup (cCubeTg);
        mouseRotate.setSchedulingBounds (new BoundingSphere ());
        tg.addChild (colouredLine);
        bg.addChild (tg);
        bg.addChild (whiteLine);
        bg.addChild (mouseTranslate);
        bg.addChild (mouseRotate);
      //  bg.addChild (cCubeTg);
        bg.addChild (directLi);
        return bg;
      public static void main (String [] args)
        new  myShape3D ();
    }

    i have one sable program like urs u see this program means u will get idea......then also not clear means then i will tell
    import java.applet.Applet;
    import java.awt.BorderLayout;
    import java.awt.Frame;
    import com.sun.j3d.utils.applet.MainFrame;
    import com.sun.j3d.utils.geometry.ColorCube;
    import com.sun.j3d.utils.universe.*;
    import com.sun.j3d.utils.behaviors.mouse.*;
    import javax.media.j3d.*;
    import javax.vecmath.*;
    import java.awt.event.*;
    import java.util.Enumeration;
    public class MouseBehaviorApp extends Applet {
    public BranchGroup createSceneGraph() {
    BranchGroup objRoot = new BranchGroup();
    TransformGroup objTransform = new TransformGroup();
    objTransform.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    objTransform.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
    objRoot.addChild(objTransform);
    objTransform.addChild(new ColorCube(0.4));
    objRoot.addChild(new Axis());
    MouseRotate myMouseRotate = new MouseRotate();
    myMouseRotate.setTransformGroup(objTransform);
    myMouseRotate.setSchedulingBounds(new BoundingSphere());
    objRoot.addChild(myMouseRotate);
    MouseTranslate myMouseTranslate = new MouseTranslate();
    myMouseTranslate.setTransformGroup(objTransform);
    myMouseTranslate.setSchedulingBounds(new BoundingSphere());
    objRoot.addChild(myMouseTranslate);
    MouseZoom myMouseZoom = new MouseZoom();
    myMouseZoom.setTransformGroup(objTransform);
    myMouseZoom.setSchedulingBounds(new BoundingSphere());
    objRoot.addChild(myMouseZoom);
    objRoot.compile();
    return objRoot;
    public MouseBehaviorApp() {
    setLayout(new BorderLayout());
    Canvas3D canvas3D = new Canvas3D(null);
    add("Center", canvas3D);
    BranchGroup scene = createSceneGraph();
    SimpleUniverse simpleU = new SimpleUniverse(canvas3D);
    simpleU.getViewingPlatform().setNominalViewingTransform();
    simpleU.addBranchGraph(scene);
    public static void main(String[] args) {
    System.out.print("MouseBehaviorApp.java \n- a demonstration of using the mouse ");
    System.out.println("behavior utility classes to provide interaction in a Java 3D scene.");
    System.out.println("Hold the mouse button while moving the mouse to make the cube move.");
    System.out.println(" left mouse button - rotate cube");
    System.out.println(" right mouse button - translate cube");
    System.out.println(" Alt+left mouse button - zoom cube");
    System.out.println("This is a simple example progam from The Java 3D API Tutorial.");
    System.out.println("The Java 3D Tutorial is available on the web at:");
    System.out.println("http://www.sun.com/desktop/java3d/collateral");
    Frame frame = new MainFrame(new MouseBehaviorApp(), 256, 256);
    class Axis extends Shape3D {
    public Axis() {
    this.setGeometry(createGeometry());
    private Geometry createGeometry() {
    IndexedLineArray axisLines = new IndexedLineArray(18,
    GeometryArray.COORDINATES, 30);
    axisLines.setCoordinate(0, new Point3f(-1.0f, 0.0f, 0.0f));
    axisLines.setCoordinate(1, new Point3f(1.0f, 0.0f, 0.0f));
    axisLines.setCoordinate(2, new Point3f(0.9f, 0.1f, 0.1f));
    axisLines.setCoordinate(3, new Point3f(0.9f, -0.1f, 0.1f));
    axisLines.setCoordinate(4, new Point3f(0.9f, 0.1f, -0.1f));
    axisLines.setCoordinate(5, new Point3f(0.9f, -0.1f, -0.1f));
    axisLines.setCoordinate(6, new Point3f(0.0f, -1.0f, 0.0f));
    axisLines.setCoordinate(7, new Point3f(0.0f, 1.0f, 0.0f));
    axisLines.setCoordinate(8, new Point3f(0.1f, 0.9f, 0.1f));
    axisLines.setCoordinate(9, new Point3f(-0.1f, 0.9f, 0.1f));
    axisLines.setCoordinate(10, new Point3f(0.1f, 0.9f, -0.1f));
    axisLines.setCoordinate(11, new Point3f(-0.1f, 0.9f, -0.1f));
    axisLines.setCoordinate(12, new Point3f(0.0f, 0.0f, -1.0f));
    axisLines.setCoordinate(13, new Point3f(0.0f, 0.0f, 1.0f));
    axisLines.setCoordinate(14, new Point3f(0.1f, 0.1f, 0.9f));
    axisLines.setCoordinate(15, new Point3f(-0.1f, 0.1f, 0.9f));
    axisLines.setCoordinate(16, new Point3f(0.1f, -0.1f, 0.9f));
    axisLines.setCoordinate(17, new Point3f(-0.1f, -0.1f, 0.9f));
    axisLines.setCoordinateIndex(0, 0);
    axisLines.setCoordinateIndex(1, 1);
    axisLines.setCoordinateIndex(2, 2);
    axisLines.setCoordinateIndex(3, 1);
    axisLines.setCoordinateIndex(4, 3);
    axisLines.setCoordinateIndex(5, 1);
    axisLines.setCoordinateIndex(6, 4);
    axisLines.setCoordinateIndex(7, 1);
    axisLines.setCoordinateIndex(8, 5);
    axisLines.setCoordinateIndex(9, 1);
    axisLines.setCoordinateIndex(10, 6);
    axisLines.setCoordinateIndex(11, 7);
    axisLines.setCoordinateIndex(12, 8);
    axisLines.setCoordinateIndex(13, 7);
    axisLines.setCoordinateIndex(14, 9);
    axisLines.setCoordinateIndex(15, 7);
    axisLines.setCoordinateIndex(16, 10);
    axisLines.setCoordinateIndex(17, 7);
    axisLines.setCoordinateIndex(18, 11);
    axisLines.setCoordinateIndex(19, 7);
    axisLines.setCoordinateIndex(20, 12);
    axisLines.setCoordinateIndex(21, 13);
    axisLines.setCoordinateIndex(22, 14);
    axisLines.setCoordinateIndex(23, 13);
    axisLines.setCoordinateIndex(24, 15);
    axisLines.setCoordinateIndex(25, 13);
    axisLines.setCoordinateIndex(26, 16);
    axisLines.setCoordinateIndex(27, 13);
    axisLines.setCoordinateIndex(28, 17);
    axisLines.setCoordinateIndex(29, 13);
    return axisLines;
    }

  • Adding a 3D sphere onto a 3D cube

    Hi, currently i have created a 3D cube and was thinking to create a 3D sphere so that the sphere can stay onto the cube. And so when the cube is being rotated, the sphere that is on the cube will move according too. Can any1 show me the code to create the sphere and add it to the existing Universe. I will paste my code of creating the 3D cube below. Hope you all can use my existing code and add the code for the sphere and show me. Thank you Very Much for your help.
    * IconGlassPanel3D.java
    * Created on October 30, 2006, 2:57 PM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package Pas3DGUI;
    import CobraNet.Zone;
    import DbConnection.DAOFactory;
    import DbConnection.ZoneDAO;
    import Pas2DGUI.ZoneIcons;
    import com.sun.j3d.utils.geometry.Sphere;
    import java.applet.Applet;
    import java.awt.BorderLayout;
    import java.awt.Frame;
    import com.sun.j3d.utils.applet.MainFrame;
    import com.sun.j3d.utils.geometry.ColorCube;
    import com.sun.j3d.utils.universe.*;
    import com.sun.j3d.utils.behaviors.mouse.*;
    import java.awt.Graphics;
    import java.awt.Point;
    import javax.media.j3d.*;
    import javax.vecmath.*;
    import java.awt.Image;
    import java.awt.Toolkit;
    import java.awt.event.*;
    import java.util.Enumeration;
    * @author 042255f
    public class IconGlassPanel3D extends Applet {
    /** Creates a new instance of IconGlassPanel3D */
    public BranchGroup createSceneGraph() {
    // Create the root of the branch graph
    BranchGroup objRoot = new BranchGroup();
    TransformGroup objTransform = new TransformGroup();
    objTransform.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    objTransform.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
    objRoot.addChild(objTransform);
    objTransform.addChild(new ColorCube(0.4));
    MouseRotate myMouseRotate = new MouseRotate();
    myMouseRotate.setTransformGroup(objTransform);
    myMouseRotate.setSchedulingBounds(new BoundingSphere());
    objRoot.addChild(myMouseRotate);
    MouseTranslate myMouseTranslate = new MouseTranslate();
    myMouseTranslate.setTransformGroup(objTransform);
    myMouseTranslate.setSchedulingBounds(new BoundingSphere());
    objRoot.addChild(myMouseTranslate);
    MouseZoom myMouseZoom = new MouseZoom();
    myMouseZoom.setTransformGroup(objTransform);
    myMouseZoom.setSchedulingBounds(new BoundingSphere());
    objRoot.addChild(myMouseZoom);
    // Let Java 3D perform optimizations on this scene graph.
    objRoot.compile();
    return objRoot;
    } // end of CreateSceneGraph method of MouseBehaviorApp
    // Create a simple scene and attach it to the virtual universe
    public IconGlassPanel3D() {
    setLayout(new BorderLayout());
    Canvas3D canvas3D = new Canvas3D(null);
    add("Center", canvas3D);
    BranchGroup scene = createSceneGraph();
    // 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(scene);
    } // end of IconGlassPanel (constructor)
    // The following allows this to be run as an application
    // as well as an applet
    public static void main(String[] args) {
    System.out.println("Hold the mouse button while moving the mouse to make the cube move.");
    System.out.println(" left mouse button - rotate cube");
    System.out.println(" right mouse button - translate cube");
    System.out.println(" Alt+left mouse button - zoom cube");
    Frame frame = new MainFrame(new IconGlassPanel3D(), 256, 256);
    } // end of main (method of IconGlassPanel)
    }

    What I figured out was that the model MUST be saved in one of the file formats acrobat recognizes - it won't come in straight from AutoCAD's native .dwg format.  So I save it as a .SAT file and then it works as advertised.
    Thanks for your response.

  • Place image icon onto a 3D cube

    Hi, I am currently doing a project on 3D java. I have created 3D color cube and
    i am planning to put movable image icon on the cube so that i can move the image
    icon to anywhere on the cube. The color cube can be rotated, translated and
    zoomable. Lastly, when the cube is being rotated,the image icon on the cube must
    move together also.
    i am currently stuck at the part where i dont know how to do the coding on
    creating the image icon and when the cube is rotated, the image icon will move
    also. Can you give me some sample code on doing that as this is my first time
    using java 3D.
    Below is the code that i use to create the cube.
    CODE
    * IconGlassPanel3D.java
    * Created on October 30, 2006, 2:57 PM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package Pas3DGUI;
    import CobraNet.Zone;
    import DbConnection.DAOFactory;
    import DbConnection.ZoneDAO;
    import Pas2DGUI.ZoneIcons;
    import java.applet.Applet;
    import java.awt.BorderLayout;
    import java.awt.Frame;
    import com.sun.j3d.utils.applet.MainFrame;
    import com.sun.j3d.utils.geometry.ColorCube;
    import com.sun.j3d.utils.universe.*;
    import com.sun.j3d.utils.behaviors.mouse.*;
    import java.awt.Graphics;
    import java.awt.Point;
    import javax.media.j3d.*;
    import javax.vecmath.*;
    import java.awt.Image;
    import java.awt.Toolkit;
    import java.awt.event.*;
    import java.util.Enumeration;
    * @author 042255f
    public class IconGlassPanel3D extends Applet {
    // nImg =
    Toolkit.getDefaultToolkit().getImage("C:\\TEMP\\unselected_speaker.gif");
    /** Creates a new instance of IconGlassPanel3D */
    public BranchGroup createSceneGraph() {
    // Create the root of the branch graph
    BranchGroup objRoot = new BranchGroup();
    TransformGroup objTransform = new TransformGroup();
    objTransform.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    objTransform.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
    objRoot.addChild(objTransform);
    objTransform.addChild(new ColorCube(0.4));
    // objRoot.addChild(new Axis());
    MouseRotate myMouseRotate = new MouseRotate();
    myMouseRotate.setTransformGroup(objTransform);
    myMouseRotate.setSchedulingBounds(new BoundingSphere());
    objRoot.addChild(myMouseRotate);
    MouseTranslate myMouseTranslate = new MouseTranslate();
    myMouseTranslate.setTransformGroup(objTransform);
    myMouseTranslate.setSchedulingBounds(new BoundingSphere());
    objRoot.addChild(myMouseTranslate);
    MouseZoom myMouseZoom = new MouseZoom();
    myMouseZoom.setTransformGroup(objTransform);
    myMouseZoom.setSchedulingBounds(new BoundingSphere());
    objRoot.addChild(myMouseZoom);
    // Let Java 3D perform optimizations on this scene graph.
    objRoot.compile();
    return objRoot;
    } // end of CreateSceneGraph method of MouseBehaviorApp
    // Create a simple scene and attach it to the virtual universe
    public IconGlassPanel3D() {
    setLayout(new BorderLayout());
    Canvas3D canvas3D = new Canvas3D(null);
    add("Center", canvas3D);
    BranchGroup scene = createSceneGraph();
    // 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(scene);
    } // end of MouseBehaviorApp (constructor)
    // The following allows this to be run as an application
    // as well as an applet
    public static void main(String[] args) {
    System.out.println("Hold the mouse button while moving the mouse to make
    the cube move.");
    System.out.println(" left mouse button - rotate cube");
    System.out.println(" right mouse button - translate cube");
    System.out.println(" Alt+left mouse button - zoom cube");
    Frame frame = new MainFrame(new IconGlassPanel3D(), 256, 256);
    } // end of main (method of MouseBehaviorApp)
    Thank You all for your help.I apprepciate it.

    Use a Box instead of the ColorCube.. This might give you a start.
    To texture the Box, assuming you have extended Applet -
            java.net.URL texImage = null;// the URL of the image to load
         Appearance app = new Appearance();
         Texture tex = new TextureLoader(texImage, this).getTexture();
         app.setTexture(tex);
         TextureAttributes texAttr = new TextureAttributes();
         texAttr.setTextureMode(TextureAttributes.MODULATE);
         app.setTextureAttributes(texAttr);
         Box textureCube = new Box(0.4f, 0.4f, 0.4f,
                          Box.GENERATE_TEXTURE_COORDS, app);IMHO you will be well served by texturing a plane congruent in size with the sides of the cube and manipulating that using the coords of each side of a Box derived from Shape3D.getGeometry. Don`t forget to add a Light or two.
    regards

  • Color cube changes color

    The color cube in the code below keeps changing the color of all the sides, but the top and buttom one.
    The colors should remain the same.
    Can someone explain, why the colors do change itself?
    import java.applet.Applet;
    import java.awt.BorderLayout;
    import java.awt.Frame;
    import java.awt.event.*;
    import java.awt.GraphicsConfiguration;
    import com.sun.j3d.utils.applet.MainFrame;
    import com.sun.j3d.utils.geometry.ColorCube;
    import com.sun.j3d.utils.universe.*;
    import javax.media.j3d.*;
    import javax.vecmath.*;
    //   HelloJava3Dc renders a single, rotating cube. 
    public class HelloJava3Dd3 extends Applet {
         public BranchGroup createSceneGraph() {
         // Create the root of the branch graph
         BranchGroup objRoot = new BranchGroup();
         // rotate object has composited transformation matrix
         Transform3D rotate = new Transform3D();
         Transform3D tempRotate = new Transform3D();
            rotate.rotX(Math.PI/4.0d);
         tempRotate.rotY(Math.PI/5.0d);
            rotate.mul(tempRotate);
         TransformGroup objRotate = new TransformGroup(rotate);
         // Create the transform group node and initialize it to the
         // identity.  Enable the TRANSFORM_WRITE capability so that
         // our behavior code can modify it at runtime.  Add it to the
         // root of the subgraph.
         TransformGroup objSpin = new TransformGroup();
         objSpin.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
         objRoot.addChild(objRotate);
         objRotate.addChild(objSpin);
         // Create a simple shape leaf node, add it to the scene graph.
         // ColorCube is a Convenience Utility class
         objSpin.addChild(new ColorCube(0.4));
         // Create a new Behavior object that will perform the desired
         // operation on the specified transform object and add it into
         // the scene graph.
         Transform3D yAxis = new Transform3D();
         Alpha rotationAlpha = new Alpha(-1, 4000);
         Alpha rotationBeta = new Alpha(-1, 4000);
         RotationInterpolator rotator =
             new RotationInterpolator(rotationAlpha, objSpin, yAxis,
                             0.0f, (float) Math.PI*1.0f);
         // a bounding sphere specifies a region a behavior is active
         // create a sphere centered at the origin with radius of 1
         BoundingSphere bounds = new BoundingSphere();
         rotator.setSchedulingBounds(bounds);
         objSpin.addChild(rotator);
         return objRoot;
        } // end of CreateSceneGraph method of HelloJava3Dd
        public HelloJava3Dd3() {
            setLayout(new BorderLayout());
            GraphicsConfiguration config =
               SimpleUniverse.getPreferredConfiguration();
            Canvas3D canvas3D = new Canvas3D(config);
            add("Center", canvas3D);
            BranchGroup scene = createSceneGraph();
         scene.compile();
            // 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(scene);
       } // end of HelloJava3Dd (constructor)
        //  The following allows this to be run as an application
        //  as well as an applet
        public static void main(String[] args) {
            Frame frame = new MainFrame(new HelloJava3Dd3(), 256, 256);
        } // end of main (method of HelloJava3D)
    } // end of class HelloJava3Dd

    Thanks for your reply. I need some clarification. I am in my workbook. In the BEX format toolbar I have changed the workbook to no color. Now all cells have no color. What are the steps now to change the results rows to be yellow again?  Where do I change "The Workbook results row is the Style type SAPBEXaggItem...you can change the background for thisOr steps to"
    Full points will be rewarded.

  • Affter Effects "Cube" all four videos play very slow

    Hi everyone,
    As I have produced a rotating "Cube" . Four videos to play as the Cube rotates slowly from left to right.
    The negative is that all four videos in the rendered finished product play very slow.
    my wish is to have all four videos to play at  a normal speed.
    any input would be appreciated.
    yes I am new to After Effects and this is my best piece of work so far but the element of no realtime of the videos is
    troubling. Premiere Pro is coming nicely.
    Many thanks! Merry Christmas!
    System:
    Dell Precision M6800
    Windows 7 pro 64 bit
    16GB Ram.
    AMD Firepro M6100 (open cl)

    Are you pressing the space bar to preview? Did you try and render your project to a delivery format? Have you gone through the basic getting started materials found here? How to add effects and motion graphics in After Effects | Adobe After Effects CC tutorials

  • Seriously Apple, why can't Leopard render a transparent menu bar on my Mac?

    I have a 2-year-old PowerBook 12" 1.5 GHz running Leopard 10.5.2 freshly updated today. I thought for sure I'd get to see a translucent menu bar but, no, still opaque as ever with no option to change.
    Apple, let me tell you some of the things this pretty capable computer can do:
    -Dynamically render transparency and reflections in a magnifying Dock
    -Dynamically render transparency in Terminal windows with varying levels of transparency
    -Render GPU-intensive animations such as Genie effect, rotating cube, and dashboard "splash"
    -Hey, I can even boot into Linux, run Gnome, and make it's menu bar transparent!
    Please stop telling me my computer is not compatible enough to display a translucent menu bar. Displaying the transparency in the menu bar has got to be one of the least intensive operations Leopard will do. It is a static image (save for seldom changing menu items) that rarely needs to be re-rendered. Terminal windows, however, get resized, dragged around and display their transparency beautifully.
    Let's get some straight answers as to why this simple issue of getting a Transparent menu bar consistently displayed (ot not displayed, by choice) across all of your "compatible" hardware is such a confusing mystery.
    Thanks for fixing the Stacks, at least.

    Thanks for your input. While you may not mind a solid menu bar, I quite like it and would like to have one. My main gripe however, is the fact that this really just seems like some bug that Apple isn't willing to focus on, or admit to.
    They say the graphics card can render "most effects" but not the menu bar. But, seriously, as I've mentioned before, why can it render transparent drop-down menus, transparent Terminal windows, transparent/reflective Dock, Dashboard ripple effect but not a simple, basic, transparent menu?
    Once I get a decent answer to this, I'll be satisfied. Because right now, telling me my 64MB graphics card can't handle it seems like a load of bulls**t.

  • Fast user switching animation not working on new iMac with 10.9.1

    I have a late 2013 iMac with the GeForce GTX 780M, pre-installed with 10.9 and then immediately updated to 10.9.1 out of the box.
    I imported my adminstrator account from an older iMac with Mountain Lion, using Migration Assistant. No problems experienced there whatsoever. I then separately imported a second user account from the same Mountain Lion install. Both accounts are functioning normally.
    However, when I switch between these accounts, the fast user switching animation (rotating cube) does not occur - it just instantly switches screens, without even a fade in/out effect.
    I made sure the display settings on each account are identical down to the last detail, even the same color sync profiles. I also created a fresh 'test' user account with default Mavericks settings, yet switching to that from either of the imported accounts does not have the animation either.
    Any suggestions on how to trouble-shoot this? I have 'Googled' it, but all the refrences are from earlier version of OS X from 2003-2009 and mention things like not having enough graphical processing power - obviously not an issue here.

    I tried (on both user accounts):
    1. Flushing all the caches using Onyx
    2. Deleting the 'com.apple.desktop.plist' files.
    3. Switching each user account to non-standard resolutions and back again.
    The lack of the rotating cube effect is not the worst of it, as about 50% of the time I switch accounts I get an 'empty' desktop in the account I have just switched to, and I can only get the desktop icons to appear again by switching back and forth a few times. Extremely frustrating.
    I am starting to think this is yet another bug in Mavericks or a problem with the graphic drivers for the new GTX 775 / 780 cards.

  • Xorg + xf86-video-intel lags with compiz / high cpu usage without it

    I have recently noticed that my X server lags. It happens approximately once per second (it's fairly regular) and it can be easily observed when watching movies, dragging windows or rotating cube. Screen just hangs for some milliseconds. Lags are bigger and happens more often when many windows are opened.
    Even worse things happen when I'm _not_ running compiz. X's cpu usage spikes permanently up to 30-40% and lags are even more noticable.
    My hardware:
    Laptop with Intel GMA 950
    Configuration
    I tried some different xorg.confs but it seems to be irrevelant. It happens even on plain conf created by 'Xorg -configure'
    xorg-server 1.5.3-3
    mesa 7.2-1
    xf86-video-intel 2.4.3-1
    kernel26 2.6.27.8-1
    I also tried downgrading these packages to
    xorg-server 1.4.2-2
    mesa 7.0.3-3
    xf86-video-intel 2.3.2-1
    kernel26 2.6.27-1
    and it seems to resolve cpu usage problem but not the lags.
    Does anybody know what might cause these lags? It's really annoying.

    It turned out that color depth was the issue. I think that 24bit is too big for my graphics card and compiz (although I remember that i810+24bit+compiz worked fine).
    So changing DefaultDepth in xorg.conf to 16 fixed the problem. Is there any other way to workaround this without decreasing color depth?

  • [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

    [HOW-TO] Ati Radeon & Kernel 2.6
    Updated on new ati-drivers 4.3.0
    [CONTENTS]
        1.1 Requirements
        2.0 Compiling Kernel
        2.1 Configuring Bootloader [GRUB]
        3.0 Building & Generating modules
        3.1 Pacthing modules
        3.2 Compiling modules
        3.3 Adding modules boot runlevel
        4.0 fglrxconfig
        4.1 Xorg.conf   NEW!!
    [1.1] Requirements
        (All Intel & AMD users)
        1. Ati Radeon 9xxx (Mine 9600 Sapphyre pro)
        2. Kernel 2.8.x (Current 2.8.1)
        3. wget, rpmunpack, cpio
        4. PKGBUILD [FILE]
        5. ati-drivers.install [FILE]
        6. fglrx-2.6-vmalloc-vmaddr.patch   New!!!
    Those are code for listed files:
    PKGBUILD New!!!
    pkgname=ati-drivers
    pkgver=3.11.1
    pkgrel=1
    pkgdesc="Proprietary (binary) drivers for ATI Radeon Cards."
    url="www.ati.com/support/driver.html"
    depends=('xfree86')
    install="$pkgname.install"
    source=(http://www2.ati.com/drivers/linux/fglrx-4.3.0-$pkgver.i386.rpm)
    #md5sums=('9f7802ee0bbdeb5172673027056e789d')
    # build-time deps: rpmunpack, cpio, gzip
    build() {
    cd $startdir/pkg
    rpmunpack < $startdir/src/fglrx-4.3.0-$pkgver.i386.rpm | gzip -d | cpio -idmuv
    chmod 755 -R .
    mv opt/kde3 opt/kde
    mkdir -p opt/gnome/share
    mv usr/share/gnome/apps/ opt/gnome/share
    rm -rf usr/share/gnome
    usr/share/applnklib/modules/fglrx/{fglrx*.o,fglrx_info.txt}
    usr/X11R6/bin/LICENSE.{GPL,QPL}
    usr/X11R6/bin/*.bz2
    ati-drivers.install   New!!!
    post_install() {
    cat << EOF
    NOTE
    To create an fglrx module for your system, do:
    cd /lib/modules/fglrx/build_mod
    ./make.sh
    cd ..
    ./make_install.sh
    Make sure you have your full kernel tree at /usr/src/linux
    Then initialize "fglrxconfig" to create an XF86Config
    for your graphics card.
    EOF
    post_upgrade() {
    /bin/true
    pre_remove() {
    /bin/true
    op=$1
    shift
    $op $*
    fglrx-2.6-vmalloc-vmaddr.patch New!!!
    --- firegl_public.c 2004-03-17 17:00:29.000000000 -0500
    +++ /lib/modules/fglrx/build_mod/firegl_public.c 2004-07-18 16:09:46.000000000 -0500
    @@ -2010,8 +2010,8 @@
    pMmPage = virt_to_page(kaddr);
    #endif /* LINUX_VERSION_CODE < 0x020400 */
    - atomic_inc(&(pMmPage->count)); /* inc usage count of page */
    +// atomic_inc(&(pMmPage->_count)); /* inc usage count of page */
    + get_page(pMmPage);
    #if LINUX_VERSION_CODE >= 0x020400
    // __KE_DEBUG3("vm-address 0x%08lx => kernel-page-address 0x%pn",
    // address, page_address(pMmPage));
    [2.0] Compiling kernel
    <*> MTRR
    e poi
    <M> /dev/agpgart (AGP Support)                                                           
    < >   ALI chipset support                                                                 
    < >   ATI chipset support                                                                 
    < >   AMD Irongate, 761, and 762 chipset support                                           
    < >   AMD Opteron/Athlon64 on-CPU GART support                                             
    < >   Intel 440LX/BX/GX, I8xx and E7x05 chipset support                                   
    < >   Intel i865 chipset support                                                           
    < >   NVIDIA nForce/nForce2 chipset support                                               
    < >   SiS chipset support                                                                 
    < >   Serverworks LE/HE chipset support                                                   
    <M>   VIA chipset support                                                                 
    < >   Transmeta Efficeon support                                                           
    [*] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)                       
    < >   3dfx Banshee/Voodoo3+                                                               
    < >   3dlabs GMX 2000                                                                     
    < >   ATI Rage 128                                                                         
    < >   ATI Radeon                                                                           
    < >   Matrox g200/g400                                                                     
    < >   SiS video cards                                                                     
    make dep && make clean bzImage modules modules_install
    [/code]
    when finished,mount boot partition (if not already mounted)
    [code]
    mount /boot
    [/code]
    and copy kernel image to the boot directory, so the new kernel loads after computer restart. Pay attention to not overwrite existent kernels images in boot partition. For security issues rename it as ***_new.
    [code]
    cp arch/i386/boot/bzImage /boot/vmlinuz_new
    [/code]
    [2.1] Configuring Bootloader [GRUB]
    Edit your boot-loader config file.
    I currently use grub instead of lilo.
    [code]
    nano /boot/grub/menu.lst
    [/code]
    Add a new sub-menu (this is an example) Check on the forum how to set-up a bootloader).
    [code]
    # (0) Arch Linux
    title  Arch Linux  [/boot/vmlinuz_new]
    root   (hd0,3)
    kernel (hd0,1)/vmlinuz_new root=/dev/discs/disc0/part4 ro
    [/code]
    REBOOT
    [3.0] Building ati-drivers
    Make a directory under /var/abs/local called ati
    [code]
    mkdir /var/abs/loca/ati
    [/code]
    copy in it the two files PKGBUILD ati-drivers.install
    [code]
    cp /path/to/file/PKGBUILD /var/abs/local/ati
    cp /path/to/file/ati-drivers.install /var/abs/local/ati
    [/code]
    start building package
    [code]
    makepkg -c
    [/code]
    if all goes well, this will be the output
    [code]
    [root@CippaLippa ati]# makepkg -c
    ==> Making package: ati-drivers
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> .......
    ==> .......
    ==> Compressing man pages...
    ==> Stripping debugging symbols from libraries...
    ==> Stripping symbols from binaries...
    ==> Generating .PKGINFO file...
    ==> Copying install script...
    ==> Generating .FILELIST file...
    ==> Compressing package...
    ==> Cleaning up...
    ==> Finished making: ati-drivers  (Tue Feb 10 15:11:13 CET 2004)
    [root@CippaLippa ati]#
    [/code]
    It downloads necessary files and generates a file called ati-drivers-3.9.x.pkg.tar.gz
    Install it using:
    [code]
    pacman -A ati-drivers-3.x.x.pkg.tar.gz
    [/code]
    This installation generates a folder in /lib/modules/fglrx
    Change directory
    [code]
    cd /lib/modules/fglrx
    [/code]
    [3.1] Pacthing modules
    To patch modules simply copy the two files .patch listed on top in this directory. Intel users must only install fglrx-2.6-vmalloc-vmaddr.patch, AMD users both.
    [code]
    cp /path/to/patch/fglrx-2.6-vmalloc-vmaddr.patch /lib/modules/fglrx
    [/code]
    change directory
    [code]
    cd build_mod
    [/code]
    to patch the file firegl_public.c
    [code]
    patch -b firegl_public.c ../fglrx-2.6-vmalloc-vmaddr.patch
    [/code]
    It's time to compile the modules
    [code]
    sh make.sh
    [root@CippaLippa build_mod]# sh make.sh
    ATI module generator V 2.0
    ==========================
    initializing...
    probing for VMA API version...
    cleaning...
    patching...
    make[1]: Leaving directory `/usr/src/linux-2.6.x
    build succeeded with return value 0
    duplicating results into driver repository...
    done.
    ==============================
    You must change your working directory to /lib/modules/fglrx
    and then call ./make_install.sh in order to install the built module.
    ==============================
    [/code]
    change directory as you see on screen
    [code]
    cd /lib/modules/fglrx
    [/code]
    and compile in
    [code]
    sh make_install.sh
    [/code]
    if will be no errors in output, module fglrx were perfectly compiled in /lib/modules/2.6.x/kernel/drivers/char/drm/ and named "fglrx.ko"
    [3.2] Adding modules boot runlevel
    open /etc/rc.conf
    [code]
    nano /etc/rc.conf
    [/code]
    go to line MODULES= and add
    [code]
    agpgart via-agp fglrx rtc  <== make sure always in this order
    [/code]
    (if your motherboard is "VIA" equipped, else check what do you have: the same configured in kernel under /dev/agpgart (AGP Support)   
    [4.0] fglrxconfig
    Ati-drivers comes with a modified xf86config, utility to generate XF86config files.
    Run
    [code]
    fglrxconfig
    [/code]
    and a welcome screen appear
    [code]
    ==============================================================================
    ATI - FIRE GL - BE THE CREATOR
    ==============================================================================
    This program will create the ATI "XF86Config-4" file
    - based on your selections - for the below listed boardtypes...
             - ATI Radeon 8500 / 9100
             - ATI FireGL 8700 / 8800 / E1
             - ATI FireGL T2
             - ATI Radeon 9000
             - ATI Radeon 9200
             - ATI Radeon 9500
             - ATI Radeon 9600
             - ATI Radeon 9700
             - ATI Radeon 9800
             - ATI FireGL Z1 / X1 / X2
             - ATI Mobility M9
             - ATI Mobility FireGL 9000
             - ATI Mobility M9PLUS
    The "XF86Config-4" file usually resides in /etc/X11.
    Press [Enter] to continue, press 'q'&[Enter] or [Ctrl]+'c' to abort.
    [/code]
    follow the on-screen steps leaving default settings. Configure only mouse, keyboard, screen frequencies and resolution. At least when prompt for:
    [code]
    External AGPGART module:
    external agpgart module execute this on the commandline (as root):
        /sbin/insmod agpgart
    or alternatively configure your system to auto load the module.
    Do you want to use the external AGP GART module (y/n)? [y]
    [/code]
    be sure to answer "YES".
    [4.1] Xorg.cong New!!!
    Xorg configuration file, resides in /etc/X11.
    It is XF86config renamed and Will replace soon it, with the new video system based on Xorg.
    This is my xorg.conf file:
    [code]
    Section "dri"
        Mode 0666
    EndSection
    Section "Module"
        Load        "dbe"      # Double buffer extension
        SubSection  "extmod"
          Option    "omit xfree86-dga"   # don't initialise the DGA extension
        EndSubSection
        Load        "type1"
        Load        "freetype"
        Load        "glx"   # libglx.a
        Load        "dri"   # libdri.a
    EndSection
    Section "Files"
        RgbPath    "/usr/X11R6/lib/X11/rgb"
        FontPath   "/usr/X11R6/lib/X11/fonts/local/"
        FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
        FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
        ModulePath "/usr/X11R6/lib/modules"
    EndSection
    Section "InputDevice"
        Identifier    "Keyboard1"
        Driver    "Keyboard"
        Option "AutoRepeat" "500 30"
        Option "XkbRules"    "xfree86"
        Option "XkbModel"    "pc105"
        Option "XkbLayout"    "it"
    EndSection
    Section "InputDevice"
        Identifier    "Mouse1"
        Driver "mouse"
        Option "Protocol"   "ImPS/2"
        Option "ZAxisMapping"   "4 5"
        Option "Device"     "/dev/usbmouse"
    EndSection
    Section "Monitor"
        Identifier  "Monitor0"
        HorizSync   31-96
        VertRefresh 55-160
        Option "DPMS"
    EndSection
    Section "Device"
        Identifier  "Standard VGA"
        VendorName  "Unknown"
        BoardName   "Unknown"
    EndSection
    Section "Device"
        Identifier                          "ATI Graphics Adapter"
        Driver                              "fglrx"
        #Option                              "NoDDC"
        Option "no_accel"                   "no"
        Option "no_dri"                     "no"
        Option "DesktopSetup"               "0x00000000"
        Option "MonitorLayout"              "AUTO, AUTO"
        Option "IgnoreEDID"                 "off"
        Option "HSync2"                     "unspecified"
        Option "VRefresh2"                  "unspecified"
        Option "ScreenOverlap"              "0"
        Option "NoTV"                       "yes"     
        Option "TVStandard"                 "NTSC-M"     
        Option "TVHSizeAdj"                 "0"     
        Option "TVVSizeAdj"                 "0"     
        Option "TVHPosAdj"                  "0"     
        Option "TVVPosAdj"                  "0"     
        Option "TVHStartAdj"                "0"     
        Option "TVColorAdj"                 "0"     
        Option "GammaCorrectionI"           "0x00000000"
        Option "GammaCorrectionII"          "0x00000000"
        Option "Capabilities"               "0x00000000"
        Option "VideoOverlay"               "on"
        Option "OpenGLOverlay"              "off"
        Option "CenterMode"                 "off"
        Option "PseudoColorVisuals"         "off"
        Option "Stereo"                     "off"
        Option "StereoSyncEnable"           "1"
        Option "FSAAScale"                  "1"
        Option "FSAADisableGamma"           "no"
        Option "FSAACustomizeMSPos"         "no"
        Option "FSAAMSPosX0"                "0.000000"
        Option "FSAAMSPosY0"                "0.000000"
        Option "FSAAMSPosX1"                "0.000000"
        Option "FSAAMSPosY1"                "0.000000"
        Option "FSAAMSPosX2"                "0.000000"
        Option "FSAAMSPosY2"                "0.000000"
        Option "FSAAMSPosX3"                "0.000000"
        Option "FSAAMSPosY3"                "0.000000"
        Option "FSAAMSPosX4"                "0.000000"
        Option "FSAAMSPosY4"                "0.000000"
        Option "FSAAMSPosX5"                "0.000000"
        Option "FSAAMSPosY5"                "0.000000"
        Option "UseFastTLS"                 "0"
        Option "BlockSignalsOnLock"         "on"
        Option "UseInternalAGPGART"         "no"
        Option "ForceGenericCPU"            "no"
        BusID "PCI:1:0:0"    # vendor=1002, device=4150
        Screen 0
    EndSection
    Section "Screen"
        Identifier  "Screen0"
        Device      "ATI Graphics Adapter"
        Monitor     "Monitor0"
        DefaultDepth 24
        #Option "backingstore"
        Subsection "Display"
            Depth       24
            Modes       "1280x1024" "1024x768" "800x600"
            ViewPort    0 0  # initial origin if mode is smaller than desktop
        EndSubsection
    EndSection
    Section "ServerLayout"
        Identifier  "Server Layout"
        Screen "Screen0"
        InputDevice "Mouse1" "CorePointer"
        InputDevice "Keyboard1" "CoreKeyboard"
    EndSection
    [/code]
    REBOOT
    Start in X with kde, gnome or othet window manager.
    If X does not start you maybe made something wrong, retry from the beginning. Else if it starts, check if DRI os working
    [code]
    fgl_glxgears
    [/code]
    if it is working, a rotating cube will appear in a new windows, and if it is so.....
    ENJOY
    **SORRY FOR MY ENGLISH **

    Using kernel 2.6.2
    I'm starting over again but now cannot get the PKGBUILD to complete.  I had this problem this morning as well, but after editing the PKGBUILD file did eventually get it to complete.  This is the output of makepkg -c using the PKGBUILD as posted:
    [root@Arch2 ati]# makepkg -c
    ==> Making package: ati-drivers  (Wed Feb 11 16:11:02 GMT 2004)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==>     Downloading fglrx-glc22-4.3.0-3.2.8.i586.rpm
    --16:11:02--  http://www2.ati.com/drivers/linux/fglrx … 8.i586.rpm
               => `fglrx-glc22-4.3.0-3.2.8.i586.rpm'
    Resolving www2.ati.com... 62.25.100.58, 62.25.100.32
    Connecting to www2.ati.com[62.25.100.58]:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 4,365,039 [audio/x-pn-realaudio-plugin]
    100%[====================================>] 4,365,039     55.23K/s    ETA 00:00
    16:12:27 (50.80 KB/s) - `fglrx-glc22-4.3.0-3.2.8.i586.rpm' saved [4365039/4365039]
    ==> Validating source files with MD5sums
        fglrx-glc22-4.3.0-3.2.8.i586.rpm ... Passed
    ==> Extracting Sources...
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    ./lib/modules/fglrx/build_mod/2.6.x/Makefile
    ./lib/modules/fglrx/build_mod/agp.h
    ./lib/modules/fglrx/build_mod/agp3.c
    ./lib/modules/fglrx/build_mod/agp_backend.h
    ./lib/modules/fglrx/build_mod/agpgart.h
    ./lib/modules/fglrx/build_mod/agpgart_be.c
    ./lib/modules/fglrx/build_mod/firegl_public.c
    ./lib/modules/fglrx/build_mod/firegl_public.h
    ./lib/modules/fglrx/build_mod/i7505-agp.c
    ./lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC2
    ./lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC3
    ./lib/modules/fglrx/build_mod/make.sh
    ./lib/modules/fglrx/build_mod/nvidia-agp.c
    ./lib/modules/fglrx/fglrx.2.4.18-17.7.x.o
    ./lib/modules/fglrx/fglrx.2.4.18-17.8.0.o
    ./lib/modules/fglrx/fglrx.2.4.20-6-SMP.o
    ./lib/modules/fglrx/fglrx.2.4.20-6.o
    ./lib/modules/fglrx/fglrx.2.4.21-1.1931.2.349.2.2.ent-SMP.o
    ./lib/modules/fglrx/fglrx.2.4.21-1.1931.2.349.2.2.ent.o
    ./lib/modules/fglrx/fglrx.2.4.21-1.1931.2.349.2.2.entbigmem-SMP.o
    ./lib/modules/fglrx/fglrx_info.txt
    ./lib/modules/fglrx/make_install.sh
    ./opt/kde3/share/applnk/fireglcontrol_kde3.desktop
    ./usr/X11R6/bin/LICENSE.GPL
    ./usr/X11R6/bin/LICENSE.QPL
    ./usr/X11R6/bin/fgl_glxgears
    ./usr/X11R6/bin/fglrx_xgamma
    ./usr/X11R6/bin/fglrxconfig
    ./usr/X11R6/bin/fglrxinfo
    ./usr/X11R6/bin/fireglcontrol.qt2.gcc2.96.bz2
    ./usr/X11R6/bin/fireglcontrol.qt3.gcc3.2.bz2
    ./usr/X11R6/bin/fireglcontrol.qtstatic.gcc2.96.bz2
    ./usr/X11R6/include/X11/extensions/fglrx_gamma.h
    ./usr/X11R6/lib/libGL.so.1.2
    ./usr/X11R6/lib/libfglrx_gamma.a
    ./usr/X11R6/lib/libfglrx_gamma.so.1.0
    ./usr/X11R6/lib/modules/dri/fglrx_dri.so
    ./usr/X11R6/lib/modules/drivers/fglrx_drv.o
    ./usr/X11R6/lib/modules/linux/libfglrxdrm.a
    ./usr/include/GL/glxATI.h
    ./usr/share/applnk/fireglcontrol.kdelnk
    ./usr/share/gnome/apps/fireglcontrol.desktop
    ./usr/share/icons/ati.xpm
    ./usr/share/pixmaps/ati.xpm
    ./usr/src/ATI/fglrx_panel_sources.tgz
    ./usr/src/ATI/fglrx_sample_source.tgz
    21763 blocks
    /usr/bin/makepkg: line 23: usr/share/applnklib/modules/fglrx/fglrx*.o: No such file or directory
    usr/X11R6/bin/LICENSE.GPL: line 2: syntax error near unexpected token `('
    usr/X11R6/bin/LICENSE.GPL: line 2: ` The Qt GUI Toolkit is Copyright (C) 1994-2000 Trolltech AS.'
    /usr/bin/makepkg: line 25: usr/X11R6/bin/fireglcontrol.qt2.gcc2.96.bz2: cannot execute binary file
    ==> ERROR: Build Failed.  Aborting...
    [root@Arch2 ati]#
    I seem to be going backwards!

  • SHUTTING DOWN IMAC WITH 10.9 & MBA issues

    Anyone esle having these problems:  NOTE ON ALL PRODUCTS
    I AM HAVING ISSUES WITH MID 2011 iMac 21, 16g ram, shutting down with OS 10.9. Pinwheel truning but not shutting down.
    I am also seeing the "spinning ball" when moving through different applications or pages within applciations that I had not seen on the previous OS. 
    Furthermore in regards to my portables; I have two 11" MBA, (mid 2011 4g ram & mid 2012 8g ram and unfortunatly this is not consistant) there seems to be a ghost image (or faint reverse image would better discribe it) of the desktop wallpaper (the universe which I prefer over the wave)  on shutting down both of the portables.  This did not happen under 10.8.5.
    I spoke to Support yesterday who walked me through disk repair and repair permissions and restart in safe mode, however, this morning the iMAC (which was in sleep mode last night) would not start up to the log in from sleep or recognize my trackpad, this is the second morning this has been a problem.  Shutting down still seems to be an issue with the imac.
    These are defeinelty software issues that need to be addressed in the OS ASAP.
    Any suggestion would be appreciated.

    I tried (on both user accounts):
    1. Flushing all the caches using Onyx
    2. Deleting the 'com.apple.desktop.plist' files.
    3. Switching each user account to non-standard resolutions and back again.
    The lack of the rotating cube effect is not the worst of it, as about 50% of the time I switch accounts I get an 'empty' desktop in the account I have just switched to, and I can only get the desktop icons to appear again by switching back and forth a few times. Extremely frustrating.
    I am starting to think this is yet another bug in Mavericks or a problem with the graphic drivers for the new GTX 775 / 780 cards.

  • 3D programming

    I�m taking a course in Linear Algebra and I heard that with linear algebra it�s possible to make some rotating cubes or similiar stuff. But what do I need to get going? Like some 3D engine in Java or something? Does this exist?

    http://www2.active.ch/~proxima/idx3d/idx3d.html
    http://opale.soya.tuxfamily.org/
    http://java.sun.com/products/java-media/3D/
    http://www.jausoft.com/gl4java.html
    http://www.ccm.ecn.purdue.edu/~mmatthew/java/

Maybe you are looking for

  • Late 2009 imac- Mavericks, Kernel Panics- checkerboard screen- only works in Safe Mode now.

    Need help with Late 2009 imac- had HD and video card replaced under Apple Care last year. Upgraded to Mavericks and it froze up while on Yahoo looking at a slide show. Screen pixelated with checkerboard patterns and then eventually locks-up. Only way

  • Problem with activesync provisioning user from  ldap to red hat

    hello, i am using activesync to provision the user from ldap to red hat linux . i am getting the following error message An error occurred adding user '#########' to resource 'Red Hat Linux'. Script failed waiting for " PASSWORD:" in response "passwd

  • Visibility of variables in a multithreaded application

    In a code review of our GUI application, we encountered some multithreading problems, concerning the visibility of variable values. In theory, write and read operations have to be synchronized or at least, volatile has to be used to provide a accurat

  • Does anyone know a site that makes custom macbook pro decals if I provide the image?

    I'm not sure where to post this, so I thought I would just post it here. Sorry if this is the wrong place, I'm new. But I want a decal for my macbook pro 13'' but no one makes it, so I thought I'd see if someone can custom make it for me. I'll post a

  • Reducing binding...

    Hi, all. Some weeks ago I thought that the binding is a very elegant mechanism, but now I changed my opinion. I'm working on application when I manipulating of nodes using key arrows. Each node has such transforms as translating, scaling and rotating