OpenGL Help!

I am trying to create an OpenGL program that has rotating shapes. However it is not working. I don't get any errors instead the view is just completely black here is my code:
//Clear the screen and depth buffer
glClear(GLCOLOR_BUFFERBIT | GLDEPTH_BUFFERBIT);
glLoadIdentity(); //Reset the current modelview matrix
glTranslatef(-1.5f, 0.0f, -6.0f);
//Rotate the triangle on the Y axis
glRotatef(rtri, 0.0f, 1.0f, 0.0f);
glBegin(GL_TRIANGLES); //Draw the triangle
glColor3f( 1.0f, 0.0f, 0.0f ); // Set color to red
glVertex3f( 0.0f, 1.0f, 0.0f ); // Top of front
glColor3f( 0.0f, 1.0f, 0.0f ); // Set color to green
glVertex3f( -1.0f, -1.0f, 1.0f ); // Bottom left of front
glColor3f( 0.0f, 0.0f, 1.0f ); // Set color to blue
glVertex3f( 1.0f, -1.0f, 1.0f ); // Bottom right of front
glColor3f( 1.0f, 0.0f, 0.0f ); // Red
glVertex3f( 0.0f, 1.0f, 0.0f ); // Top of right side
glColor3f( 0.0f, 0.0f, 1.0f ); // Blue
glVertex3f( 1.0f, -1.0f, 1.0f ); // Left of right side
glColor3f( 0.0f, 1.0f, 0.0f ); // Green
glVertex3f( 1.0f, -1.0f, -1.0f ); // Right of right side
glColor3f( 1.0f, 0.0f, 0.0f ); // Red
glVertex3f( 0.0f, 1.0f, 0.0f ); // Top of back side
glColor3f( 0.0f, 1.0f, 0.0f ); // Green
glVertex3f( 1.0f, -1.0f, -1.0f ); // Left of back side
glColor3f( 0.0f, 0.0f, 1.0f ); // Blue
glVertex3f( -1.0f, -1.0f, -1.0f ); // Right of back side
glColor3f( 1.0f, 0.0f, 0.0f ); // Red
glVertex3f( 0.0f, 1.0f, 0.0f ); // Top of left side
glColor3f( 0.0f, 0.0f, 1.0f ); // Blue
glVertex3f( -1.0f, -1.0f, -1.0f ); // Left of left side
glColor3f( 0.0f, 1.0f, 0.0f ); // Green
glVertex3f( -1.0f, -1.0f, 1.0f ); // Right of left side
glEnd(); // Done with triangle
glLoadIdentity(); // Reset current modelview matrix
glTranslatef( 1.5f, 0.0f, -7.0f ); // Move right and into screen
// Rotate quad on all axes
glRotatef( rquad, 1.0f, 1.0f, 1.0f );
glBegin( GL_QUADS ); // Draw quads
glColor3f( 0.0f, 1.0f, 0.0f ); // Green
glVertex3f( 1.0f, 1.0f, -1.0f ); // Top right of top side
glVertex3f( -1.0f, 1.0f, -1.0f ); // Top left of top side
glVertex3f( -1.0f, 1.0f, 1.0f ); // Bottom left of top side
glVertex3f( 1.0f, 1.0f, 1.0f ); // Bottom right of top side
glColor3f( 1.0f, 0.5f, 0.0f ); // Orange
glVertex3f( 1.0f, -1.0f, 1.0f ); // Top right of bottom side
glVertex3f( -1.0f, -1.0f, 1.0f ); // Top left of bottom side
glVertex3f( -1.0f, -1.0f, -1.0f ); // Bottom left of bottom side
glVertex3f( 1.0f, -1.0f, -1.0f ); // Bottom right of bottom side
glColor3f( 1.0f, 0.0f, 0.0f ); // Red
glVertex3f( 1.0f, 1.0f, 1.0f ); // Top right of front side
glVertex3f( -1.0f, 1.0f, 1.0f ); // Top left of front side
glVertex3f( -1.0f, -1.0f, 1.0f ); // Bottom left of front side
glVertex3f( 1.0f, -1.0f, 1.0f ); // Bottom right of front side
glColor3f( 1.0f, 1.0f, 0.0f ); // Yellow
glVertex3f( 1.0f, -1.0f, -1.0f ); // Bottom left of back side
glVertex3f( -1.0f, -1.0f, -1.0f ); // Bottom right of back side
glVertex3f( -1.0f, 1.0f, -1.0f ); // Top right of back side
glVertex3f( 1.0f, 1.0f, -1.0f ); // Top left of back side
glColor3f( 0.0f, 0.0f, 1.0f ); // Blue
glVertex3f( -1.0f, 1.0f, 1.0f ); // Top right of left side
glVertex3f( -1.0f, 1.0f, -1.0f ); // Top left of left side
glVertex3f( -1.0f, -1.0f, -1.0f ); // Bottom left of left side
glVertex3f( -1.0f, -1.0f, 1.0f ); // Bottom right of left side
glColor3f( 1.0f, 0.0f, 1.0f ); // Violet
glVertex3f( 1.0f, 1.0f, -1.0f ); // Top right of right side
glVertex3f( 1.0f, 1.0f, 1.0f ); // Top left of right side
glVertex3f( 1.0f, -1.0f, 1.0f ); // Bottom left of right side
glVertex3f( 1.0f, -1.0f, -1.0f ); // Bottom right of right side
glEnd(); // Quads
[ [ self openGLContext ] flushBuffer ];
rtri += 0.2f; // Increase the rotation variable for the triangle
rquad -= 0.15f; // Decrease the rotation variable for the quad
glFlush();
rtri is declared as a GLfloat
rquad is also declared as a GLfloat
Does anyone know why this code is not working?

Blakeasd wrote:
... instead the view is just completely black ...
Where did you put your lights?

Similar Messages

  • Java using GUI's mixed with opengl... needs help...urgent....

    guys, i need help.... is anyone there have an idea about opengl...? ill attach 4 files that needs to be enhanced or debug for possible errors. to see the canvas... you should have atleast all the needed lib and jar of opengl in your pc.
    its urgent, its for our thesis actually....ill be dividing the codes with the use of (" **** ")sign...
    * Main.java
    * Created on 29 January 2007, 08:12
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package longgong;
    * @author welcome
    public class Main {
        /** Creates a new instance of Main */
        public Main() {
         * @param args the command line arguments
        public static void main(String[] args) {
            // TODO code application logic here
            frmMain f = new frmMain();
    * frmMain.java
    * Created on November 10, 2006, 10:52 AM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package longgong; // create a floder named longgong and add the class inside
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    * @author all user
    public class frmMain extends JFrame implements ActionListener, ChangeListener, ItemListener{
        JPanel pnlWest, pnlEast, pnlCenter, pnlSouth, pnlTitle, pnlSlider, pnlPlayers;
        JSlider slrSpeed;
        JList lstResults;
        String varResults [] = new String[31];
        JLabel lblPlayers, lblTitle;
        JCheckBox lblPlayer1, lblPlayer2, lblPlayer3, lblPlayer4, lblPlayer5, lblPlayer6;
        ImageIcon imgDice1;
        MyCanvas canvas;
        JButton btnStart, btnStop;
        JMenuBar menuBar;
        JMenu menuFile, menuView, menuHelp;
        JMenuItem menuNew, menuExit, menuIn, menuOut, menuHigh, menuPlay, menuAbout;
        boolean isNew = false;
        /** Creates a new instance of frmMain */
        public frmMain() {
            setLayout(new BorderLayout());
            setTitle("Longgong");
            setSize(780,600);
            canvas = new MyCanvas(getSize().width, getSize().height);
            imgDice1 = new ImageIcon("c:\\java\\images\\one.png");
            menuBar = new JMenuBar();
            menuFile = new JMenu("File");
            menuView = new JMenu("View");
            menuHelp = new JMenu("Help");
            menuNew = new JMenuItem ("New Game");
            menuNew.addActionListener(this);
            menuExit = new JMenuItem ("Exit");
            menuExit.addActionListener(this);
            menuIn = new JMenuItem ("Zoom In");
            menuIn.addActionListener(this);
            menuOut = new JMenuItem ("Zoom Out");
            menuOut.addActionListener(this);
            menuHigh = new JMenuItem ("High Score");
            menuPlay = new JMenuItem ("How To Play");
            menuPlay.addActionListener(this);
            menuAbout = new JMenuItem ("About");
            menuAbout.addActionListener(this);
            menuFile.add(menuNew);
            menuFile.add(menuExit);
            menuView.add(menuIn);
            menuView.add(menuOut);
            menuView.add(menuHigh);
            menuHelp.add(menuPlay);
            menuHelp.add(menuAbout);
            menuBar.add(menuFile);
            menuBar.add(menuView);
            menuBar.add(menuHelp);
            setJMenuBar(menuBar);
            varResults[0] = "Dice Results";
            varResults[1] = "1. 3-4-2";
            varResults[2] = "2. 3-1-4";
            varResults[3] = "3. 3-6-5";
            slrSpeed = new JSlider(0, 100, 0);
            slrSpeed.setPaintTicks(true);
            slrSpeed.setMinorTickSpacing(1);
            slrSpeed.setPaintLabels(true);
            slrSpeed.setSnapToTicks(true);
            slrSpeed.addChangeListener(this);
            slrSpeed.setEnabled(false);
            btnStart =  new JButton("Start");
            btnStart.addActionListener(this);
            btnStop =  new JButton("Stop");
            btnStop.addActionListener(this);
            pnlWest = new JPanel();
            pnlEast = new JPanel();
            pnlCenter = new JPanel();
            pnlSouth = new JPanel();
            pnlTitle = new JPanel();
            pnlSlider = new JPanel();       
            pnlPlayers = new JPanel();
            pnlWest.setLayout(new BorderLayout());
            pnlEast.setLayout(new BorderLayout());
            pnlEast.setPreferredSize(new Dimension(100,400));
            pnlCenter.setLayout(new BorderLayout());
            pnlSouth.setLayout(new FlowLayout());
            pnlTitle.setLayout(new FlowLayout());
            pnlSlider.setLayout(new FlowLayout());       
            pnlPlayers.setLayout(new BoxLayout(pnlPlayers,BoxLayout.Y_AXIS));
            pnlPlayers.setPreferredSize(new Dimension(150,400));
            lblPlayers = new JLabel("  Players: Choice (s)");
            lblPlayer1 = new JCheckBox("None");
            lblPlayer1.addItemListener(this);
            lblPlayer2 = new JCheckBox("None");
            lblPlayer2.addItemListener(this);
            lblPlayer3 = new JCheckBox("None");
            lblPlayer3.addItemListener(this);
            lblPlayer4 = new JCheckBox("None");
            lblPlayer4.addItemListener(this);
            lblPlayer5 = new JCheckBox("None");
            lblPlayer5.addItemListener(this);
            lblPlayer6 = new JCheckBox("None");
            lblPlayer6.addItemListener(this);
            lstResults = new JList(varResults);
            pnlPlayers.add(lblPlayers);
            pnlPlayers.add(lblPlayer1);
            pnlPlayers.add(lblPlayer2);
            pnlPlayers.add(lblPlayer3);
            pnlPlayers.add(lblPlayer4);
            pnlPlayers.add(lblPlayer5);
            pnlPlayers.add(lblPlayer6);
            pnlSlider.add(slrSpeed);
            pnlSlider.add(btnStart);
            pnlSlider.add(btnStop);
            pnlEast.add(BorderLayout.CENTER, lstResults);
            pnlCenter.add(BorderLayout.SOUTH, pnlSlider);    
            pnlCenter.add(BorderLayout.CENTER, canvas);    
            lblTitle = new JLabel("LONGGONG DICE GAME SIMULATION");
            pnlTitle.add(lblTitle);
            getContentPane().add(BorderLayout.NORTH,pnlTitle);   
            getContentPane().add(BorderLayout.WEST,pnlPlayers);
            getContentPane().add(BorderLayout.EAST,pnlEast);
            getContentPane().add(BorderLayout.CENTER, pnlCenter);
            getContentPane().add(BorderLayout.SOUTH,pnlSouth);
            setResizable(false);
            canvas.start();
            show();       
        //name change when player is selected
        public void itemStateChanged(ItemEvent e) {
        Object source = e.getItemSelectable();
        int choice;
        if (source == lblPlayer1) {
            if (lblPlayer1.isSelected()) {
                frmChoices fchoices = new frmChoices(lblPlayer1);
        if (source == lblPlayer2) {
            if (lblPlayer2.isSelected()) {
                frmChoices fchoices = new frmChoices(lblPlayer2);
        if (source == lblPlayer3) {
            if (lblPlayer3.isSelected()) {
                frmChoices fchoices = new frmChoices(lblPlayer3);
        if (source == lblPlayer4) {
            if (lblPlayer4.isSelected()) {
                frmChoices fchoices = new frmChoices(lblPlayer4);
        if (source == lblPlayer5) {
            if (lblPlayer5.isSelected()) {
                frmChoices fchoices = new frmChoices(lblPlayer5);
        if (source == lblPlayer6) {
            if (lblPlayer6.isSelected()) {
                frmChoices fchoices = new frmChoices(lblPlayer6);
           // if (e.getStateChange() == ItemEvent.DESELECTED)
            //...make a note of it...
        //slider speed change
        public void stateChanged(ChangeEvent e){      
               canvas.speed(slrSpeed.getValue());
        public void actionPerformed (ActionEvent e){
            if (e.getActionCommand().equals ("Exit")){
                System.exit (0);     
            //connects to frmNew
            if (e.getActionCommand().equals ("New Game")){
                frmNew n = new frmNew(this);   
                lblPlayer1.setText("None");
                lblPlayer2.setText("None");
                lblPlayer3.setText("None");
                lblPlayer4.setText("None");
                lblPlayer5.setText("None");
                lblPlayer6.setText("None");
                isNew = true;
                lblPlayer1.setSelected(false);
                lblPlayer2.setSelected(false);
                lblPlayer3.setSelected(false);
                lblPlayer4.setSelected(false);
                lblPlayer5.setSelected(false);
                lblPlayer6.setSelected(false);
            if (e.getActionCommand().equals ("Start")){
               slrSpeed.setEnabled(true);
               canvas.setRandomDicePosition();
            if (e.getActionCommand().equals ("Stop")){
                slrSpeed.setValue(0);
                slrSpeed.setEnabled(false);
            //ADDED
             if (e.getActionCommand().equals ("New Game")){
               frmNew n = new frmNew(this);           
            if (e.getActionCommand().equals ("Zoom In")){
                canvas.zoomIn();          
            if (e.getActionCommand().equals ("Zoom Out")){
                canvas.zoomOut();          
            if (e.getActionCommand().equals ("How To Play")){
                frmPlay p = new frmPlay();           
            if (e.getActionCommand().equals ("About")){
                frmAbout a = new frmAbout();           
    package longgong;
    // Java  classes
       import java.awt.*;
       import java.awt.event.*;
       import java.net.URL;
    // GL4Java classes
       import gl4java.GLContext;
       import gl4java.awt.GLAnimCanvas;
       import gl4java.utils.textures.*;
       class MyCanvas extends GLAnimCanvas implements KeyListener, MouseListener
         // holds information on which keys are held down.
          boolean[] keys=new boolean[256];
          float     xrot;                    // X Rotation ( NEW )
          float     yrot;                    // Y Rotation ( NEW )
          float     zrot;                    // Z Rotation ( NEW )
          float[] diceRotX = new float[3];
          float[] diceRotY = new float[3];
          float[] diceRotZ = new float[3];
          float[] diceTranX = new float[3];
          float[] diceTranY = new float[3];
          float[] diceTranZ = new float[3];     
          float speedValue;
          Dice[] D;
          float zoom = -15.0f;
          public MyCanvas(int w, int h)
             super(w, h);
             //Registers this canvas to process keyboard events, and Mouse events
             addKeyListener(this);
             addMouseListener(this);  
             setAnimateFps(60); // seemed to be essential in getting any performance
             speedValue=0.0f;
             diceTranX[0] = -2.0f;
             diceTranY[0] = 2.0f;
             diceTranZ[0] = zoom;
             diceTranX[1] = 2.0f;
             diceTranY[1] = 1.0f;
             diceTranZ[1] = zoom;
             diceTranX[2] = 0.0f;
             diceTranY[2] = -2.0f;
             diceTranZ[2] = zoom;
          public void zoomIn(){
              zoom=zoom+1.0f;
           public void zoomOut(){
              zoom=zoom-1.0f;
          public void speed(float s){
            speedValue=s/100;
        /** void reshape(int width, int height) Called after the first paint command.  */  
          public void reshape(int width, int height)
             if(height==0)height=1;
             gl.glViewport(0, 0, width, height);                       // Reset The Current Viewport And Perspective Transformation
             gl.glMatrixMode(GL_PROJECTION);                           // Select The Projection Matrix
             gl.glLoadIdentity();                                      // Reset The Projection Matrix
             glu.gluPerspective(45.0f, width / height, 0.1f, 100.0f);  // Calculate The Aspect Ratio Of The Window
             gl.glMatrixMode(GL_MODELVIEW);                            // Select The Modelview Matrix
             gl.glLoadIdentity();                                      // Reset The ModalView Matrix     
       /** void preInit() Called just BEFORE the GL-Context is created. */  
          public void preInit()
          { doubleBuffer = true; stereoView = false; // buffering but not stereoview
          public void setRandomDicePosition(){
             for (int i=0; i<3; i++){
               D.setCoordinates(diceRotX[i],diceRotY[i],diceRotZ[i],diceTranX[i],diceTranY[i],diceTranZ[i]);
    D[i].getRandomDice();
    /** void init() Called just AFTER the GL-Context is created. */
    public void init()
    //float width = (float)getSize().width;
    //float height = (float)getSize().height;
    D = new Dice[5];
    D[0] = new Dice(this);
    D[1] = new Dice(this);
    D[2] = new Dice(this);
    //initialize dice location
    for (int i=0; i<3; i++){
    D[i].setCoordinates(diceRotX[i],diceRotY[i],diceRotZ[i],diceTranX[i],diceTranY[i],diceTranZ[i]);
    D[i].getRandomDice();
    gl.glEnable(GL_TEXTURE_2D);                              //Enable Texture Mapping ( NEW )
    gl.glShadeModel(GL_SMOOTH); //Enables Smooth Color Shading
    gl.glClearColor(0.0f, 0.0f, 0.0f, 0.0f); //This Will Clear The Background Color To Black
    gl.glClearDepth(1.0); //Enables Clearing Of The Depth Buffer
    gl.glEnable(GL_DEPTH_TEST); //Enables Depth Testing
    gl.glDepthFunc(GL_LEQUAL); //The Type Of Depth Test To Do
    gl.glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST); //Really Nice Perspective Calculations
    public void DrawBoundaries(){
    double x,y;
    double radius = 5.0f;
    gl.glLoadIdentity();                                             // Reset The View
    gl.glTranslatef(0.0f,0.0f,zoom-1.0f);
    gl.glRotatef(90.0f,0.0f,0.0f,1.0f);
    gl.glColor3f(0.6f,0.3f,0.3f);
    gl.glBegin(gl.GL_POLYGON);
    // angle is
    // x = radius * (cosine of angle)
    // y = radius * (sine of angle)
    for (double a=0; a<360; a++) {
    x = radius * (Math.cos(a));
    y = radius * (Math.sin(a));
    gl.glVertex3d(x, y, 0.0f);
    gl.glEnd();
    gl.glColor3f(1.0f,1.0f,1.0f);
    public void DrawGLScene()
    gl.glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);     // Clear The Screen And The Depth Buffer
    DrawBoundaries();
    for (int i=0; i<3; i++){
    D[i].startDiceMovement();
    D[i].setTz(zoom);
    D[i].setSpeed(speedValue);
    D[i].drawDice();
    for (int i=0; i<3; i++){
    //start of loop
    if(i!=0){    
    if (D[0].getMoveLeft()==true){        
    if ( (D[0].getTx()>=D[i].getTx()-1.0f) && (D[0].getTx()<=D[i].getTx()) ){
    if (D[0].getMoveLeft()== true) D[0].setMoveLeft(false);
    else D[0].setMoveLeft(true);
    }else{
    if ( (D[0].getTx()-1<=D[i].getTx()) && (D[0].getTx()-1>=D[i].getTx()-1) ){
    if (D[0].getMoveLeft()== true) D[0].setMoveLeft(false);
    else D[0].setMoveLeft(true);
    if (D[0].getMoveUp()==true){        
    if ( (D[0].getTy()>=D[i].getTy()-1.0f) && (D[0].getTy()<=D[i].getTy()) ){
    if (D[0].getMoveUp()== true) D[0].setMoveUp(false);
    else D[0].setMoveUp(true);
    }else{
    if ( (D[0].getTy()-1<=D[i].getTy()) && (D[0].getTy()-1>=D[i].getTy()-1) ){
    if (D[0].getMoveUp()== true) D[0].setMoveUp(false);
    else D[0].setMoveUp(true);
    }//end of if i!=0
    if(i!=1){    
    if (D[1].getMoveLeft()==true){        
    if ( (D[1].getTx()>=D[i].getTx()-1.0f) && (D[1].getTx()<=D[i].getTx()) ){
    if (D[1].getMoveLeft()== true) D[1].setMoveLeft(false);
    else D[1].setMoveLeft(true);
    }else{
    if ( (D[1].getTx()-1<=D[i].getTx()) && (D[1].getTx()-1>=D[i].getTx()-1) ){
    if (D[1].getMoveLeft()== true) D[1].setMoveLeft(false);
    else D[1].setMoveLeft(true);
    if (D[1].getMoveUp()==true){        
    if ( (D[1].getTy()>=D[i].getTy()-1.0f) && (D[1].getTy()<=D[i].getTy()) ){
    if (D[1].getMoveUp()== true) D[1].setMoveUp(false);
    else D[1].setMoveUp(true);
    }else{
    if ( (D[1].getTy()-1<=D[i].getTy()) && (D[1].getTy()-1>=D[i].getTy()-1) ){
    if (D[1].getMoveUp()== true) D[1].setMoveUp(false);
    else D[1].setMoveUp(true);
    }//end of if i!=1
    if(i!=2){    
    if (D[2].getMoveLeft()==true){        
    if ( (D[2].getTx()>=D[i].getTx()-1.0f) && (D[2].getTx()<=D[i].getTx()) ){
    if (D[2].getMoveLeft()== true) D[2].setMoveLeft(false);
    else D[2].setMoveLeft(true);
    }else{
    if ( (D[2].getTx()-1<=D[i].getTx()) && (D[2].getTx()-1>=D[i].getTx()-1) ){
    if (D[2].getMoveLeft()== true) D[2].setMoveLeft(false);
    else D[2].setMoveLeft(true);
    if (D[2].getMoveUp()==true){        
    if ( (D[2].getTy()>=D[i].getTy()-1.0f) && (D[2].getTy()<=D[i].getTy()) ){
    if (D[2].getMoveUp()== true) D[2].setMoveUp(false);
    else D[2].setMoveUp(true);
    }else{
    if ( (D[2].getTy()-1<=D[i].getTy()) && (D[2].getTy()-1>=D[i].getTy()-1) ){
    if (D[2].getMoveUp()== true) D[2].setMoveUp(false);
    else D[2].setMoveUp(true);
    }//end of if i!=2
    //end of loop for i
    /** void display() Draw to the canvas. */
    // Purely a Java thing. Simple calls DrawGLScene once GL is Initialized
    public void display()
    for(int i=0;i<3;i++){
    glj.gljMakeCurrent(); //Ensure GL is initialised correctly
    DrawGLScene();
    glj.gljSwap(); //Swap buffers
    glj.gljFree(); // release GL
    // Key Listener events
    public void keyTyped(KeyEvent e){
    public void keyPressed(KeyEvent e){
    switch(e.getKeyCode())
    //Kill app
    case KeyEvent.VK_ESCAPE:
    System.exit(0);
    break;
    default :
    if(e.getKeyCode()<250) // only interested in first 250 key codes, are there more?
    keys[e.getKeyCode()]=true;     
    break;
    public void keyReleased(KeyEvent e){
    if(e.getKeyCode()<250) // only interested in first 250 key codes, are there more?
    keys[e.getKeyCode()]=false;
    // mouse listener events
    public void mouseEntered( MouseEvent evt )
    Component comp = evt.getComponent();
    if( comp.equals(this ) )
    //requestFocus();
    public void mouseExited( MouseEvent evt ){
    public void mousePressed( MouseEvent evt ){
    public void mouseReleased( MouseEvent evt ){
    public void mouseClicked( MouseEvent evt )
    Component comp = evt.getComponent();
    if( comp.equals(this ) )
    requestFocus();
    * Dice.java
    * Created on 08 February 2007, 22:26
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package longgong;
    import java.net.URL;
    import gl4java.GLContext;
    import gl4java.awt.GLAnimCanvas;
    import gl4java.utils.textures.*;
    * @author welcome
    public class Dice {
          GLAnimCanvas glCanvas ;
          URL codeBase;
          int[]texture1 = new int[1]; //Storage for one texture ( NEW )    
          int[]texture2 = new int[1]; //Storage for one texture ( NEW )    
          int[]texture3 = new int[1]; //Storage for one texture ( NEW )    
          int[]texture4 = new int[1]; //Storage for one texture ( NEW )    
          int[]texture5 = new int[1]; //Storage for one texture ( NEW )    
          int[]texture6 = new int[1]; //Storage for one texture ( NEW )    
          float rx;
          float ry;
          float rz;
          float tx;
          float ty;
          float tz;
          float speed;
          boolean txMoveLeft;
          boolean tyMoveUp;
          boolean tzMoveFront;
        /** Creates a new instance of Dice */
        public Dice(GLAnimCanvas g) {
            glCanvas = g;       
            if(!LoadGLTexture("c:\\java\\images\\one.png",texture1)){
                System.out.println("Failed to load Textures,Bailing!");
                System.exit(0);
            if(!LoadGLTexture("c:\\java\\images\\two.png",texture2)){
                System.out.println("Failed to load Textures,Bailing!");
                System.exit(0);
            if(!LoadGLTexture("c:\\java\\images\\three.png",texture3)){
                System.out.println("Failed to load Textures,Bailing!");
                System.exit(0);
            if(!LoadGLTexture("c:\\java\\images\\four.png",texture4)){
                System.out.println("Failed to load Textures,Bailing!");
                System.exit(0);
            if(!LoadGLTexture("c:\\java\\images\\five.png",texture5)){
                System.out.println("Failed to load Textures,Bailing!");
                System.exit(0);
            if(!LoadGLTexture("c:\\java\\images\\six.png",texture6)){
                System.out.println("Failed to load Textures,Bailing!");
                System.exit(0);
            txMoveLeft = true;
            tyMoveUp = true;
         public boolean inCircleBoundaries(float x, float y, float radius)
            float r;       
            r = (float)Math.sqrt((x*x) + (y*y));
            if (r <= radius)
                return  true;
            else
                return false;
        public void setCoordinates(float corRx,float corRy,float corRz,float corTx,float corTy,float corTz){
            rx = corRx;
            ry = corRy;
            rz = corRz;
            tx = corTx;
            ty = corTy;
            tz = corTz;
        public void getRandomDice(){
            int num = (int)(Math.random() * 6);
            if (num==1){
                rx=0.0f;
                ry=0.0f;
                rz=0.0f;
            else if (num==2){
                rx=90.0f;
                ry=0.0f;
                rz=0.0f;
            else if (num==3){
                rx=0.0f;
                ry=-90.0f;
                rz=0.0f;
            else if (num==4){
                rx=0.0f;
                ry=90.0f;
                rz=0.0f;
            else if (num==5){
                rx=-90.0f;
                ry=0.0f;
                rz=0.0f;
            else{
                rx=180.0f;
                ry=0.0f;
                rz=0.0f;
        public float getTx(){
            return tx+0.5f;
        public float getTy(){
            return ty+0.5f;
        public float getTz(){
            return tz+0.5f;
        public void setTz(float z){
            tz=z;
        public boolean getMoveLeft(){
            return txMoveLeft;
        public boolean getMoveUp(){
            return tyMoveUp;
        public void setMoveLeft(boolean m){
            txMoveLeft = m;
        public void setMoveUp(boolean m){
            tyMoveUp = m;
        public void startDiceMovement(){    
            if (txMoveLeft==true) {
                tx+=speed;           
            else {
                tx-=speed;
            if (tyMoveUp==true) {
                ty+=speed;
            else {
                ty-=speed;
            ry+=(speed*4);
            rx+=(speed*4);
            //rz+=(speed*2);
            //tx+=speed;
            //ty+=speed;
            //tz+=speed;             
         if (inCircleBoundaries(tx,ty,3.5f)==false) {  
            if (tx>=3.0f) txMoveLeft = false;
            if (tx<=-3.0f) txMoveLeft = true;
            if (ty>=3.0f) tyMoveUp = false;
            if (ty<=-3.0f) tyMoveUp = true;
        public void setSpeed(float s){
            speed = s;
         public void drawDice(){        
             glCanvas.gl.glLoadIdentity();                                             // Reset The View
             glCanvas.gl.glTranslatef(tx,ty,tz);
             glCanvas.gl.glRotatef(rx,1.0f,0.0f,0.0f);
             glCanvas.gl.glRotatef(ry,0.0f,1.0f,0.0f);
             glCanvas.gl.glRotatef(rz,0.0f,0.0f,1.0f);
             glCanvas.gl.glBindTexture(glCanvas.gl.GL_TEXTURE_2D, texture1[0]);        
             glCanvas.gl.glBegin(glCanvas.gl.GL_QUADS);        
                // Front Face
             glCanvas.gl.glTexCoord2f(0.0f, 0.0f); glCanvas.gl.glVertex3f(-1.0f, -1.0f,  1.0f);
             glCanvas.gl.glTexCoord2f(1.0f, 0.0f); glCanvas.gl.glVertex3f( 1.0f, -1.0f,  1.0f);
             glCanvas.gl.glTexCoord2f(1.0f, 1.0f); glCanvas.gl.glVertex3f( 1.0f,  1.0f,  1.0f);
             glCanvas.gl.glTexCoord2f(0.0f, 1.0f); glCanvas.gl.glVertex3f(-1.0f,  1.0f,  1.0f);
             glCanvas.gl.glEnd();
             glCanvas.gl.glBindTexture(glCanvas.gl.GL_TEXTURE_2D, texture6[0]);
             glCanvas.gl.glBegin(glCanvas.gl.GL_QUADS);        
               // Back Face          
             glCanvas.gl.glTexCoord2f(1.0f, 0.0f); glCanvas.gl.glVertex3f(-1.0f, -1.0f, -1.0f);
             glCanvas.gl.glTexCoord2f(1.0f, 1.0f); glCanvas.gl.glVertex3f(-1.0f,  1.0f, -1.0f);
             glCanvas.gl.glTexCoord2f(0.0f, 1.0f); glCanvas.gl.glVertex3f( 1.0f,  1.0f, -1.0f);
             glCanvas.gl.glTexCoord2f(0.0f, 0.0f); glCanvas.gl.glVertex3f( 1.0f, -1.0f, -1.0f);
             glCanvas.gl.glEnd();
             glCanvas.gl.glBindTexture(glCanvas.gl.GL_TEXTURE_2D, texture2[0]);
             glCanvas.gl.glBegin(glCanvas.gl.GL_QUADS);        
                // Top Face
             glCanvas.gl.glTexCoord2f(0.0f, 1.0f); glCanvas.gl.glVertex3f(-1.0f,  1.0f, -1.0f);
             glCanvas.gl.glTexCoord2f(0.0f, 0.0f); glCanvas.gl.glVertex3f(-1.0f,  1.0f,  1.0f);
             glCanvas.gl.glTexCoord2f(1.0f, 0.0f); glCanvas.gl.glVertex3f( 1.0f,  1.0f,  1.0f);
             glCanvas.gl.glTexCoord2f(1.0f, 1.0f); glCanvas.gl.glVertex3f( 1.0f,  1.0f, -1.0f);
             glCanvas.gl.glEnd();
             glCanvas.gl.glBindTexture(glCanvas.gl.GL_TEXTURE_2D, texture5[0]);
             glCanvas.gl.glBegin(glCanvas.gl.GL_QUADS);        
                // Bottom Face
             glCanvas.gl.glTexCoord2f(1.0f, 1.0f); glCanvas.gl.glVertex3f(-1.0f, -1.0f, -1.0f);
             glCanvas.gl.glTexCoord2f(0.0f, 1.0f); glCanvas.gl.glVertex3f( 1.0f, -1.0f, -1.0f);
             glCanvas.gl.glTexCoord2f(0.0f, 0.0f); glCanvas.gl.glVertex3f( 1.0f, -1.0f,  1.0f);
             glCanvas.gl.glTexCoord2f(1.0f, 0.0f); glCanvas.gl.glVertex3f(-1.0f, -1.0f,  1.0f);
             glCanvas.gl.glEnd();
             glCanvas.gl.glBindTexture(glCanvas.gl.GL_TEXTURE_2D, texture3[0]);
             glCanvas.gl.glBegin(glCanvas.gl.GL_QUADS);        
                // Right face
             glCanvas.gl.glTexCoord2f(1.0f, 0.0f); glCanvas.gl.glVertex3f( 1.0f, -1.0f, -1.0f);
             glCanvas.gl.glTexCoord2f(1.0f, 1.0f); glCanvas.gl.glVertex3f( 1.0f,  1.0f, -1.0f);
             glCanvas.gl.glTexCoord2f(0.0f, 1.0f); glCanvas.gl.glVertex3f( 1.0f,  1.0f,  1.0f);
             glCanvas.gl.glTexCoord2f(0.0f, 0.0f); glCanvas.gl.glVertex3f( 1.0f, -1.0f,  1.0f);
             glCanvas.gl.glEnd();
             glCanvas.gl.glBindTexture(glCanvas.gl.GL_TEXTURE_2D, texture4[0]);
             glCanvas.gl.glBegin(glCanvas.gl.GL_QUADS);        
                // Left Face
             glCanvas.gl.glTexCoord2f(0.0f, 0.0f); glCanvas.gl.glVertex3f(-1.0f, -1.0f, -1.0f);
             glCanvas.gl.glTexCoord2f(1.0f, 0.0f); glCanvas.gl.glVertex3f(-1.0f, -1.0f,  1.0f);
             glCanvas.gl.glTexCoord2f(1.0f, 1.0f); glCanvas.gl.glVertex3f(-1.0f,  1.0f,  1.0f);
             glCanvas.gl.glTexCoord2f(0.0f, 1.0f); glCanvas.gl.glVertex3f(-1.0f,  1.0f, -1.0f);
             glCanvas.gl.glEnd();
          public boolean LoadGLTexture(String fileName, int textureNumber[])
             PngTextureLoader texLoader = new PngTextureLoader(glCanvas.gl, glCanvas.glu);
             if(codeBase!=null)  
                texLoader.readTexture(codeBase, fileName);
             else
                texLoader.readTexture(fileName);
             if(texLoader.isOk())
                //Create Texture
                glCanvas.gl.glGenTextures(1, textureNumber);
                glCanvas.gl.glBindTexture(glCanvas.gl.GL_TEXTURE_2D, textureNumber[0]);
                glCanvas.gl.glTexParameteri(glCanvas.gl.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    ill attach 4 files that needs to be
    enhanced or debug for possible errors. i hate to break it to you, but even if you post this for the seventh time, finding and fixing errors in your code remains your task.

  • OpenGL enabled document Windows error message? Please help

    Hi
    When I am trying to use the rotate tools inside photoshop, I get a the NO sign with an error message: "Could Not Complete Your request Because It Only Works with OpenGL Enabled Document Windows". I don't understand why this is happening. I have an OPenGL Graphic card. Qudro K600 and every thing seems okay under the Performance section in the Preferences menu? I would appreciate any help? Thank you.

    I thank you for your respond. Like I mentioned everything seems okay under the Performance section. Photoshop is recognising my Quadro K600 graphic card and all options are checked, and I am getting the above error message. It's annoying as I can't use the Rotate tool inside Photoshop or on my Wacom tablet. I also uninstalled my Graphic card driver and installed the latest driver. I hope someone can resolve this problem for me? Thank you.

  • Help! OpenGl on windows with bootcamp

    Hi, so I've installed windows 8 on my iMac sucessfully, but for some reason (after updating the drivers through intel AND bootcamp) my opengl is still only 1.1 and i cant figure out how to update it. Most of the games i am trying to play require atleast opengl 3.0. Also my sound wont work when i use windows (using headphones and external speakers, neither work). Any information will help, thank you!

    if the video card driver does not support OpenGL 3 then you're out of luck
    you should stick with the latests bootcamp driver found here
    get the latests version which list support for your mac
    Apple - Support - Downloads
    and you can see if your hardware support various games on this site
    http://www.systemrequirementslab.com/cyri
    also not sure what you try to update drivers from intel does all mid 2011 not come with amd radeon ?

  • OpenGl Enabling problem. Help ASAP :(

    Hi there. I need help. How can i enabe OpenGL in my Photoshop CS6. I have GTX 650 Video Card.
    Here is screen. http://s1055.beta.photobucket.com/user/dskdrago/media/Capture-3_zps0d25260b.png.html?sort= 3&o=0

    Here is Info.
    Adobe Photoshop Version: 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00) x32
    Operating System: Windows 7 64-bit
    Version: 6.1
    System architecture: Intel CPU Family:6, Model:10, Stepping:7 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
    Physical processor count: 2
    Logical processor count: 4
    Processor speed: 3292 MHz
    Built-in memory: 4060 MB
    Free memory: 1721 MB
    Memory available to Photoshop: 3255 MB
    Memory used by Photoshop: 60 %
    Image tile size: 128K
    Image cache levels: 4
    OpenGL Drawing: Enabled.
    OpenGL Drawing Mode: Advanced
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    OpenGL Allow Old GPUs: Not Detected.
    Video Card Vendor: NVIDIA Corporation
    Video Card Renderer: GeForce GTX 650/PCIe/SSE2
    Display: 1
    Display Bounds:=  top: 0, left: 0, bottom: 900, right: 1600
    Video Card Number: 1
    Video Card: NVIDIA GeForce GTX 650
    OpenCL Unavailable
    Driver Version: 9.18.13.1407
    Driver Date: 20130209000000.000000-000
    Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
    Video Mode: 1600 x 900 x 4294967296 colors
    Video Card Caption: NVIDIA GeForce GTX 650
    Video Card Memory: 2048 MB
    Video Rect Texture Size: 16384
    Serial number: Tryout Version
    Application folder: C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\
    Temporary file path: C:\Users\Arthur\AppData\Local\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      Startup, 146,4G, 83,9G free
    Required Plug-ins folder: C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\Required\
    Primary Plug-ins folder: C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\Plug-ins\
    Additional Plug-ins folder: not set
    Installed components:
       A3DLIBS.dll   A3DLIB Dynamic Link Library   9.2.0.112  
       ACE.dll   ACE 2012/01/18-15:07:40   66.492997   66.492997
       adbeape.dll   Adobe APE 2012/01/25-10:04:55   66.1025012   66.1025012
       AdobeLinguistic.dll   Adobe Linguisitc Library   6.0.0  
       AdobeOwl.dll   Adobe Owl 2012/02/09-16:00:02   4.0.93   66.496052
       AdobePDFL.dll   PDFL 2011/12/12-16:12:37   66.419471   66.419471
       AdobePIP.dll   Adobe Product Improvement Program   6.0.0.1654  
       AdobeXMP.dll   Adobe XMP Core 2012/02/06-14:56:27   66.145661   66.145661
       AdobeXMPFiles.dll   Adobe XMP Files 2012/02/06-14:56:27   66.145661   66.145661
       AdobeXMPScript.dll   Adobe XMP Script 2012/02/06-14:56:27   66.145661   66.145661
       adobe_caps.dll   Adobe CAPS   6,0,29,0  
       AGM.dll   AGM 2012/01/18-15:07:40   66.492997   66.492997
       ahclient.dll    AdobeHelp Dynamic Link Library   1,7,0,56  
       aif_core.dll   AIF   3.0   62.490293
       aif_ocl.dll   AIF   3.0   62.490293
       aif_ogl.dll   AIF   3.0   62.490293
       amtlib.dll   AMTLib   6.0.0.75 (BuildVersion: 6.0; BuildDate: Mon Jan 16 2012 18:00:00)   1.000000
       ARE.dll   ARE 2012/01/18-15:07:40   66.492997   66.492997
       AXE8SharedExpat.dll   AXE8SharedExpat 2011/12/16-15:10:49   66.26830   66.26830
       AXEDOMCore.dll   AXEDOMCore 2011/12/16-15:10:49   66.26830   66.26830
       Bib.dll   BIB 2012/01/18-15:07:40   66.492997   66.492997
       BIBUtils.dll   BIBUtils 2012/01/18-15:07:40   66.492997   66.492997
       boost_date_time.dll   DVA Product   6.0.0  
       boost_signals.dll   DVA Product   6.0.0  
       boost_system.dll   DVA Product   6.0.0  
       boost_threads.dll   DVA Product   6.0.0  
       cg.dll   NVIDIA Cg Runtime   3.0.00007  
       cgGL.dll   NVIDIA Cg Runtime   3.0.00007  
       CIT.dll   Adobe CIT   2.0.5.19287   2.0.5.19287
       CoolType.dll   CoolType 2012/01/18-15:07:40   66.492997   66.492997
       data_flow.dll   AIF   3.0   62.490293
       dvaaudiodevice.dll   DVA Product   6.0.0  
       dvacore.dll   DVA Product   6.0.0  
       dvamarshal.dll   DVA Product   6.0.0  
       dvamediatypes.dll   DVA Product   6.0.0  
       dvaplayer.dll   DVA Product   6.0.0  
       dvatransport.dll   DVA Product   6.0.0  
       dvaunittesting.dll   DVA Product   6.0.0  
       dynamiclink.dll   DVA Product   6.0.0  
       ExtendScript.dll   ExtendScript 2011/12/14-15:08:46   66.490082   66.490082
       FileInfo.dll   Adobe XMP FileInfo 2012/01/17-15:11:19   66.145433   66.145433
       filter_graph.dll   AIF   3.0   62.490293
       hydra_filters.dll   AIF   3.0   62.490293
       icucnv40.dll   International Components for Unicode 2011/11/15-16:30:22    Build gtlib_3.0.16615  
       icudt40.dll   International Components for Unicode 2011/11/15-16:30:22    Build gtlib_3.0.16615  
       image_compiler.dll   AIF   3.0   62.490293
       image_flow.dll   AIF   3.0   62.490293
       image_runtime.dll   AIF   3.0   62.490293
       JP2KLib.dll   JP2KLib 2011/12/12-16:12:37   66.236923   66.236923
       libeay32.dll   The OpenSSL Toolkit   0.9.8g  
       libifcoremd.dll   Intel(r) Visual Fortran Compiler   10.0 (Update A)  
       libmmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   10.0  
       LogSession.dll   LogSession   2.1.2.1640  
       mediacoreif.dll   DVA Product   6.0.0  
       MPS.dll   MPS 2012/02/03-10:33:13   66.495174   66.495174
       msvcm80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcm90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1  
       msvcp100.dll   Microsoft® Visual Studio® 2010   10.00.40219.1  
       msvcp71.dll   Microsoft® Visual Studio .NET   7.10.3077.0  
       msvcp80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcp90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1  
       msvcr100.dll   Microsoft® Visual Studio® 2010   10.00.40219.1  
       msvcr71.dll   Microsoft® Visual Studio .NET   7.10.3052.4  
       msvcr80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcr90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1  
       pdfsettings.dll   Adobe PDFSettings   1.04  
       Photoshop.dll   Adobe Photoshop CS6   CS6  
       Plugin.dll   Adobe Photoshop CS6   CS6  
       PlugPlug.dll   Adobe(R) CSXS PlugPlug Standard Dll (32 bit)   3.0.0.383  
       PSArt.dll   Adobe Photoshop CS6   CS6  
       PSViews.dll   Adobe Photoshop CS6   CS6  
       SCCore.dll   ScCore 2011/12/14-15:08:46   66.490082   66.490082
       ScriptUIFlex.dll   ScriptUIFlex 2011/12/14-15:08:46   66.490082   66.490082
       shfolder.dll   Microsoft(R) Windows (R) 2000 Operating System   5.50.4027.300  
       ssleay32.dll   The OpenSSL Toolkit   0.9.8g  
       tbb.dll   Intel(R) Threading Building Blocks for Windows   3, 0, 2010, 0406  
       tbbmalloc.dll   Intel(R) Threading Building Blocks for Windows   3, 0, 2010, 0406  
       TfFontMgr.dll   FontMgr   9.3.0.113  
       TfKernel.dll   Kernel   9.3.0.113  
       TFKGEOM.dll   Kernel Geom   9.3.0.113  
       TFUGEOM.dll   Adobe, UGeom©   9.3.0.113  
       updaternotifications.dll   Adobe Updater Notifications Library   6.0.0.24 (BuildVersion: 1.0; BuildDate: BUILDDATETIME)   6.0.0.24
       WRServices.dll   WRServices Friday January 27 2012 13:22:12   Build 0.17112   0.17112
       wu3d.dll   U3D Writer   9.3.0.113  
    Required plug-ins:
       3D Studio 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Accented Edges 13.0
       Adaptive Wide Angle 13.0
       ADM 3.11x01
       Angled Strokes 13.0
       Average 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Bas Relief 13.0
       BMP 13.0
       Camera Raw 7.0
       Chalk & Charcoal 13.0
       Charcoal 13.0
       Chrome 13.0
       Cineon 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Clouds 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Collada 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Color Halftone 13.0
       Colored Pencil 13.0
       CompuServe GIF 13.0
       Conté Crayon 13.0
       Craquelure 13.0
       Crop and Straighten Photos 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Crop and Straighten Photos Filter 13.0
       Crosshatch 13.0
       Crystallize 13.0
       Cutout 13.0
       Dark Strokes 13.0
       De-Interlace 13.0
       Dicom 13.0
       Difference Clouds 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Diffuse Glow 13.0
       Displace 13.0
       Dry Brush 13.0
       Eazel Acquire 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Embed Watermark 4.0
       Entropy 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Extrude 13.0
       FastCore Routines 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Fibers 13.0
       Film Grain 13.0
       Filter Gallery 13.0
       Flash 3D 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Fresco 13.0
       Glass 13.0
       Glowing Edges 13.0
       Google Earth 4 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Grain 13.0
       Graphic Pen 13.0
       Halftone Pattern 13.0
       HDRMergeUI 13.0
       IFF Format 13.0
       Ink Outlines 13.0
       JPEG 2000 13.0
       Kurtosis 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Lens Blur 13.0
       Lens Correction 13.0
       Lens Flare 13.0
       Liquify 13.0
       Matlab Operation 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Maximum 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Mean 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Measurement Core 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Median 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Mezzotint 13.0
       Minimum 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       MMXCore Routines 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Mosaic Tiles 13.0
       Multiprocessor Support 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Neon Glow 13.0
       Note Paper 13.0
       NTSC Colors 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Ocean Ripple 13.0
       Oil Paint 13.0
       OpenEXR 13.0
       Paint Daubs 13.0
       Palette Knife 13.0
       Patchwork 13.0
       Paths to Illustrator 13.0
       PCX 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Photocopy 13.0
       Photoshop 3D Engine 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Picture Package Filter 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Pinch 13.0
       Pixar 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Plaster 13.0
       Plastic Wrap 13.0
       PNG 13.0
       Pointillize 13.0
       Polar Coordinates 13.0
       Portable Bit Map 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Poster Edges 13.0
       Radial Blur 13.0
       Radiance 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Range 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Read Watermark 4.0
       Reticulation 13.0
       Ripple 13.0
       Rough Pastels 13.0
       Save for Web 13.0
       ScriptingSupport 13.0
       Shear 13.0
       Skewness 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Smart Blur 13.0
       Smudge Stick 13.0
       Solarize 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Spatter 13.0
       Spherize 13.0
       Sponge 13.0
       Sprayed Strokes 13.0
       Stained Glass 13.0
       Stamp 13.0
       Standard Deviation 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Sumi-e 13.0
       Summation 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Targa 13.0
       Texturizer 13.0
       Tiles 13.0
       Torn Edges 13.0
       Twirl 13.0
       U3D 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Underpainting 13.0
       Vanishing Point 13.0
       Variance 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Variations 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Water Paper 13.0
       Watercolor 13.0
       Wave 13.0
       Wavefront|OBJ 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       WIA Support 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       Wind 13.0
       Wireless Bitmap 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
       ZigZag 13.0
    Optional and third party plug-ins: NONE
    Plug-ins that failed to load: NONE
    Flash:
       Mini Bridge
       Kuler
    Installed TWAIN devices: NONE

  • Help! error code 8 with Adobe premier cs4 and OpenGl

    hey there,
    i've been trying to work with adobe premier cs4 on my new Thinkpad w520 (i7 2720, 8GB, Nvidia quadro 1000m)
    i keep getting this error messege regarding the OpenGl (error code #8) that lost connection with the display driver, after that its automaticly shutting down premier.
    nvidia representive suggested me to download an old driver (268.71) instead of the latest one, still wouldn't solve the problam.
    can anyone help me with that issue!?
    jonny

    hey jonygeron,
    if you uninstall the current graphic driver , let windows install its generic driver .. can you get Premier CS4 to work ?
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • Transferring OpenGL GUI for help

    Hi all,
    I've upgraded my OS to Mountain Lion now.
    But when I was trying to transfer an OpenGL GUI (VMD) from remote server to my MacBook Pro,
    it can't show me the object in the transferred window. And even worse, when I tried to
    close the GUI window of remote VMD, the whole screen flickered, and I had to reboot.
    Is this a bug or something else needs to specific setting?
    Who'd please help me to fix this problem?
    Thanks!
    P. S.
    The details of my MacBook Pro:
    Processor  2.2 GHz Intel Core i7
    Memory  8 GB 1333 MHz DDR3
    Graphics  AMD Radeon HD 6750M 1024 MB

    Bad imports; use these:
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.*;

  • I haven't got the OpenGL v1.4 driver.Help me please!!!!!!

    :help:Hi all!
    I use WinXP. I have MSI FX5600-VTDR256 card. But I haven't got the OpenGL v1.4 driver for my card.
    Who can tell me the way to download the OpenGL v1.4 driver?
    Thank you for your help!

    I am having the same problem as namtroc.
    I have a 5900 card and 53.03 drivers (from nvidia)
    When I use programs (or games) to check which version of OpenGL I have, the programs cannot find the vendor or the version number of my OpenGL.
    I have searched over the internet and I cannot find anyone with a solution to this problem.
    Does anyone have a clue what this could be?
    I noticed this when I was about to play the game Knights of the old republic.
    When I run that games check it says: Required non-Windows generic OpenGL 1.4.0 drivers.
    I am running MS Xp pro

  • [iPhone] Please help with OpenGL ES optimization

    Hello!
    Haven't asked for help in a while, but this time I am really without ideas.
    Basically I am working on this 2D Game which should be released soon, but drawing performance is rather miserable (~25 Fps, playable but not enjoyable).
    If there are some optimizations please give me a hint, Im a beginner with OpenGL
    Here is my OpenGL Code:
    [EAGLContext setCurrentContext:context];
    glViewport(0, 0, backingWidth, backingHeight);
    glBindFramebufferOES(GLFRAMEBUFFEROES, viewFramebuffer);
    glClear(GLCOLOR_BUFFERBIT);
    Paddle* paddle = gModel.paddle;
    ////////////////DRAWING MAID///////////////////
    ATTexture2D* maidTex = charImgA[gModel.mascotState];
    if (!maidTex) {
    //Lazy Loading
    UIImage* img = [UIImage imageNamed:[NSString stringWithFormat:@"char-%d.png", gModel.mascotState, nil]];
    maidTex = [[ATTexture2D alloc] initWithImage:img];
    charImgA[gModel.mascotState] = maidTex;
    int msImgWidth = 77;
    int msImgHeight = 133;
    CGRect maidRect = CGRectMake(paddle.box->center.x - (msImgWidth/2), 480-msImgHeight, msImgWidth, msImgHeight);
    [maidTex drawInRect:maidRect];
    ////////////////DRAWING PADDLE///////////////////
    CGRect rect = CGRectMake(paddle.box->getPoint(0).x,paddle.box->getPoint(0).y , paddle.box->extent.x * 2, paddle.box->extent.y * 2);
    glPushMatrix();
    glTranslatef(paddle.box->center.x, paddle.box->center.y, 0);
    glRotatef(paddle.rotateState, 0, 0, 1);
    glTranslatef(-paddle.box->center.x, -paddle.box->center.y, 0);
    [paddleImg drawInRect:rect];
    glPopMatrix();
    ////////////////DRAWING BLOCKS///////////////////
    //We have 4 types of image pools
    //Each type of block should take a picture from exactly one of the pools
    //Here about 90 blocks loaded
    NSArray* blockA = [gModel.blockMan getAllBlocks];
    for (Block* block in blockA) {
    CGRect rect = CGRectMake(block.box->getPoint(0).x,block.box->getPoint(0).y , block.box->extent.x * 2, block.box->extent.y * 2);
    //Map the blocktype to the index of the pool->What pool should be used for this image?
    int arrayIndex = blockTypeToImageAMappingA[block.type];
    //Get the pool from the array
    NSArray* imgPool = [blockImgAA objectAtIndex:arrayIndex];
    //Get the array of the blockstates
    //Choose one of the pictures from the pool to draw, this stays the same for the lifetime of the block, but is random
    NSArray* imgA = [imgPool objectAtIndex:block.randID%[imgPool count]];
    //Get the texture according to state of block
    int index = MIN([imgA count]-1, block.state);
    ATTexture2D* tex = [imgA objectAtIndex:index];
    //block.blockImg = [imgA objectAtIndex:index];
    //Draw the chosen texture
    [tex drawInRect:rect];
    ////////////////DRAWING BALLS///////////////////
    //About 10-20 should be supported
    for (int i=0; i<[gModel.specialA count]; i++) {
    Ball* ball = [gModel.specialA objectAtIndex:i];
    ATTexture2D* tex = specialImgA [ball.specialType];
    if (!tex) {
    //Lazy Loading
    NSString* str = [NSString stringWithFormat:@"special-%d%d.png", ball.specialType/10, ball.specialType%10, nil];
    tex = [[ATTexture2D alloc] initWithImage:[UIImage imageNamed:str]];
    specialImgA[ball.specialType] = tex;
    [tex drawAtPoint:[ball getCenter]];
    for (int i=0; i<[gModel.ballA count]; i++) {
    Ball* ball = [gModel.ballA objectAtIndex:i];
    [ballImg drawAtPoint:[ball getCenter]];
    glBindRenderbufferOES(GLRENDERBUFFEROES, viewRenderbuffer);
    [context presentRenderbuffer:GLRENDERBUFFEROES];
    Comments: ATTexture is basically Apples Texture2D
    Message was edited by: Max Ullinger

    If rendering is slow, maybe it's because the textures aren't in a hardware-friendly format. CrashLanding's Texture2D class only supports RGBA8888, RGB565, and A8, i.e. no PVRTC textures. Another possibility is that you're rendering with alpha-testing/alpha-blending. The iPhone's GPU is supposed to be a lot faster if you draw as much geometry as you can without alpha-testing or alpha-blending -- it's part of their tile-based deferred rendering (TBDR).
    If the CPU is slow, maybe it's all the Objective-C method calls. Each one of those is technically a search through the class hierarchy to find an appropriate method.
    That's all I can see.

  • OpenGL ES 2.0 Help?

    Whenever I try to download sims freeplay on my iPod touch 4g it says I need OpenGL ES 2.0
    How do I get this? My itunes has no available updates, please help!

    Are you sure you have a 4G iPod? Yours has a camera right?
    Identifying iPod models
    From that error it would appears you have a 2G iPod.
    Requirements: Compatible with iPhone 3GS, iPhone 4, iPhone 4S, iPod touch (3rd generation), iPod touch (4th generation) and iPad.Requires iOS 3.0 or later

  • Help with OpenGL

    Hi,
    I have a problem which I assume has to do with a badly configured GL rendering or something. If I run glxgears, I get c. 450 FPS, and the error message:
    libGL error: open DRM failed (Operation not permitted)
    libGL error: reverting to (slow) indirect rendering
    I guess something is wrong, but I don't know what. I know the machine (a compaq nx5000 laptop) is capable of a quicker rendering, because when I ran Mepis, it worked fine.
    So, I need some advice on what to do, and how to do it.
    1. How do I find out which drivers I need, if that's the problem?
    2. Which settings do I need to do, and where? xorg.conf?
    3. Anything else...?

    - graphic-oriented infos of your xorg.conf - see below
    - kernel-modul - kernel 2.6.14_ARCH
    Modul? I know this is overkill, but I have pasted the entire output from lsmod below.
    - output from: glxinfo | grep render
    glxinfo |grep render Sun 01 Jan 02:05:10
    libGL error: open DRM failed (Operation not permitted)
    libGL error: reverting to (slow) indirect rendering
    direct rendering: No
    OpenGL renderer string: Mesa GLX Indirect
    - added yourself to the video-group?
    yes - now, but no effect
    from lshwd:
    00:00.0 Host bridge: Intel Corp.|852GM Host-Hub Interface Bridge (intel-agp)
    00:00.1 System peripheral: Intel Corp.|852GM System Memory Controller (unknown)
    00:00.3 System peripheral: Intel Corp.|852GM Configuration Process (unknown)
    00:02.0 VGA compatible controller: Intel Corp.|852GM/852GME/855GM/855GME Chipset Graphics Controller (i810)
    00:02.1 Display controller: Intel Corp.|852GM/852GME/855GM/855GME Chipset Graphics Controller (i810)
    xorg.conf:
    Load "ddc" # ddc probing of monitor
    Load "GLcore"
    Load "dbe"
    Load "dri"
    Load "extmod"
    Load "glx"
    Load "bitmap" # bitmap-fonts
    Load "type1"
    Load "freetype"
    Load "record"
    EndSection
    Section "InputDevice"
    EndSection
    # Auto-generated by Archie mkxcfg
    Section "Monitor"
    Identifier "Monitor0"
    Option "DPMS" "true"
    <then all the h/vsync lines>
    EndSection
    # Auto-generated by Archie mkxcfg
    Section "Device"
    Identifier "Card0"
    Driver "i810"
    VendorName "All"
    BoardName "All"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    DefaultColorDepth 16
    SubSection "Display"
    Depth 1
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 4
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 8
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 15
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 16
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 24
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 32
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    EndSection
    Section "DRI"
    Mode 0666
    EndSection
    lsmod:
    lsmod Sun 01 Jan 02:05:30
    Module Size Used by
    ohci_hcd 20228 0
    ipw2200 71720 0
    i810 21760 0
    i915 18304 1
    drm 67348 3 i810,i915
    hci_usb 14608 0
    bluetooth 45444 1 hci_usb
    sbp2 22148 0
    ohci1394 33588 0
    eth1394 18568 0
    ieee1394 91480 3 sbp2,ohci1394,eth1394
    uhci_hcd 31888 0
    ehci_hcd 33416 0
    usbhid 48672 0
    usblp 11904 0
    usb_storage 76864 0
    yenta_socket 25228 0
    rsrc_nonstatic 12288 1 yenta_socket
    pcmcia_core 37528 2 yenta_socket,rsrc_nonstatic
    ipw2100 83124 0
    ieee80211 21576 2 ipw2200,ipw2100
    ieee80211_crypt 4612 1 ieee80211
    irtty_sir 5632 0
    sir_dev 14924 1 irtty_sir
    irda 127928 1 sir_dev
    b44 21636 0
    mii 4992 1 b44
    snd_intel8x0m 15940 0
    snd_intel8x0 31456 2
    snd_ac97_codec 95612 2 snd_intel8x0m,snd_intel8x0
    snd_ac97_bus 2176 1 snd_ac97_codec
    snd_pcm_oss 50848 0
    snd_pcm 84484 4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
    snd_timer 22276 1 snd_pcm
    snd_page_alloc 8840 3 snd_intel8x0m,snd_intel8x0,snd_pcm
    snd_mixer_oss 18048 1 snd_pcm_oss
    snd 49252 11 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
    soundcore 8160 1 snd
    crc_ccitt 2176 1 irda
    pci_hotplug 26692 0
    serio_raw 6148 0
    pcspkr 3688 0
    evdev 7936 0
    tpm_nsc 6016 0
    tpm_infineon 8336 0
    tpm_atmel 4992 0
    tpm 8480 3 tpm_nsc,tpm_infineon,tpm_atmel
    rtc 10936 0
    ppdev 7812 0
    lp 9860 0
    intel_agp 21404 1
    agpgart 30032 3 drm,intel_agp
    parport_pc 26436 1
    cpufreq_powersave 1792 0
    cpufreq_ondemand 6552 0
    speedstep_centrino 6868 1
    freq_table 3984 1 speedstep_centrino
    usbcore 115328 8 ohci_hcd,hci_usb,uhci_hcd,ehci_hcd,usbhid,usblp,usb_storage
    ntfs 206992 1
    nls_cp437 5760 1
    vfat 11904 1
    fat 48284 1 vfat
    xfs 561952 0
    reiserfs 269680 0
    jfs 192892 0
    ext3 133384 6
    jbd 58132 1 ext3
    sata_qstor 7556 0
    sata_promise 8964 0
    sata_nv 7044 0
    sata_mv 7300 0
    sata_vsc 5764 0
    sata_via 6276 0
    sata_uli 4864 0
    sata_svw 5764 0
    sata_sx4 12164 0
    sata_sis 5632 0
    sata_sil 6788 0
    mptfc 5508 0
    mptspi 6408 0
    mptsas 11532 0
    mptctl 22912 0
    mptscsih 33428 3 mptfc,mptspi,mptsas
    mptbase 46048 5 mptfc,mptspi,mptsas,mptctl,mptscsih
    megaraid_mbox 32400 0
    megaraid_sas 25644 0
    megaraid_mm 10020 1 megaraid_mbox
    ata_piix 7684 0
    osst 54944 0
    sym53c8xx 82324 0
    atp870u 30208 0
    aha152x 37712 0
    aic79xx 271704 0
    aic7xxx 182324 0
    ahci 9988 0
    libata 44680 13 sata_qstor,sata_promise,sata_nv,sata_mv,sata_vsc,sata_via,sata_uli,sata_svw,sata_sx4,sata_sis,sata_sil,ata_piix,ahci
    raid_class 4224 0
    nsp32 26132 0
    aacraid 56576 0
    ipr 53024 0
    imm 12040 0
    parport 33736 4 ppdev,lp,parport_pc,imm
    3w_xxxx 27680 0
    tmscsim 21696 0
    dc395x 36364 0
    3w_9xxx 32388 0
    a100u2w 10304 0
    BusLogic 24756 0
    sr_mod 15652 0
    qlogicfas408 6792 0
    st 39072 0
    sg 31776 0
    dmx3191d 14080 0
    qla6312 115072 0
    qla2322 134144 0
    qla2300 124416 0
    qla2200 87168 0
    qla2100 79488 0
    qla2xxx 127964 5 qla6312,qla2322,qla2300,qla2200,qla2100
    lpfc 153276 0
    scsi_transport_sas 12928 1 mptsas
    qla1280 119436 0
    sd_mod 15488 0
    ide_floppy 18176 0
    ide_cd 39812 0
    cdrom 38688 2 sr_mod,ide_cd
    ide_disk 16128 10
    via82cxxx 13468 0 [permanent]
    trm290 4228 0 [permanent]
    triflex 3456 0 [permanent]
    slc90e66 5376 0 [permanent]
    sis5513 15624 0 [permanent]
    siimage 11264 0 [permanent]
    serverworks 8840 0 [permanent]
    sc1200 6784 0 [permanent]
    rz1000 2560 0 [permanent]
    piix 9732 0 [permanent]
    pdc202xx_old 10240 0 [permanent]
    pdc202xx_new 8704 0 [permanent]
    ns87415 4040 0 [permanent]
    it821x 8196 0 [permanent]
    hpt366 18688 0 [permanent]
    hpt34x 4736 0 [permanent]
    generic 4356 0 [permanent]
    cy82c693 4356 0 [permanent]
    cs5530 5120 0 [permanent]
    cmd64x 11164 0 [permanent]
    atiixp 5520 0 [permanent]
    amd74xx 14364 0 [permanent]
    alim15x3 11276 0 [permanent]
    aec62xx 6912 0 [permanent]
    ide_core 119248 28 usb_storage,ide_floppy,ide_cd,ide_disk,via82cxxx,trm290,triflex,slc90e66,sis5513,
    siimage,serverworks,sc1200,rz1000,piix,pdc202xx_old,pdc202xx_new,ns87415,it821x,
    hpt366,hpt34x,generic,cy82c693,cs5530,cmd64x,atiixp,amd74xx,alim15x3,aec62xx
    Hope this helps (me...)

  • Help - Need OpenGL Video Card for G4 with ADC

    OK, I've got a G4 with 1.8 GHz Dual Processors. I just upgraded from FCP 5.1 to FCP 6.0 and it tells me that FCP 6.0 doesn't like my video card because it "doesn't support OpenGL." So I need a new video card - problem is, my G4 Quicksilver utilizes an Apple Flat Screen with ADC connector. I really like the Studio Display and don't want to change it. Does anyone know of a video card with "OpenGL" (that will work with FCP 6.0) that also has a ADC connector????
    Thanks, Gilbert

    As far as I'm aware, the Radeon 9000 is ATI's most powerful card with an ADC connector and the GeForce4 Titanium is nVidia's, although I don't think either supports Tiger's Core Image etc.
    The following utility can monitor VRAM usage, which may help decide whether the 128MB version of the 9000 would be noticeably better:
    http://www.macupdate.com/info.php/id/15566

  • Need help with an Opengl issue while using optical flares! (AAE CS6)

    Hey guys, I really need your help. I am editing at the moment and I am getting a opengl warning and then it crashes, I am on an mid 2011 iMac 21.5 inch, Mac OS X 10.7.5 lion with 4gb ram, 2.5ghz intel core i5, AMD Radeon HD 6750M 512 MB graphics. The problem is in After effects CS6 with optical flares. http://gyazo.com/870648c9b1623d3b1bea39a40fcbfb93 - That link is a screenshot of what it says! Please help me ASAP!

    Since the problem os with Video Copilot's Optical Flares and OpenGL, I recommend contacting their technical support or asking on the Video Copilot forums:
    http://www.videocopilot.net/support/

  • CS6 photoshop constantly crashing with OpenGL. Need help

    OpenGL seems to crash randomly, but constantly. Previously running CS3, with few issues. I recently upgrade the graphics card after OpenGL testing failed, and it seem to be the most likely solution based on the old card.
    Working file is located on C drive, with back to external.
    I am currently running the following ridge
    Oper.: Win 7 Pro 64-bit, Service pack 1
    Board: Asus P8Z77-V Pro (Intel Z77 Chipset)
    Processor: Intel i5 3570K, 3.4 Ghz, 6mb Cache (Socket LGA1155)
    RAM: 2 x 8Gb DDR3 PC3-10666 1333Mhz
    Graphic: EVGA GeForce GTX 770 - 04GP4-3776-KR (New, as of 6/27 to upgrade old card)
    Storage: Hitachi 1Tb - internal
                  WD 2Tb

    Details system info:
    Adobe Photoshop Version: 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00) x32
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:10, Stepping:9 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
    Physical processor count: 4
    Processor speed: 3410 MHz
    Built-in memory: 16331 MB
    Free memory: 9935 MB
    Memory available to Photoshop: 3255 MB
    Memory used by Photoshop: 95 %
    Image tile size: 1024K
    Image cache levels: 5
    Photoshop crashed on 6/29/2014 at 9:12:42 AM (AllocateSharedGLResources)
    OpenGL Drawing: Disabled.
    OpenGL Drawing Mode: Advanced
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    OpenGL Allow Old GPUs: Not Detected.
    Video Card Vendor: NVIDIA Corporation
    Video Card Renderer: GeForce GTX 770/PCIe/SSE2
    Display: 2
    Display Bounds:=  top: 0, left: 0, bottom: 1080, right: 1920
    Display: 1
    Display Bounds:=  top: 0, left: 1920, bottom: 1080, right: 3840
    Video Card Number: 1
    Video Card: NVIDIA GeForce GTX 770
    OpenCL Unavailable
    Driver Version: 9.18.13.3788
    Driver Date: 20140519000000.000000-000
    Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum.dll,nvwgf2um,nvwgf2um
    Video Mode: 1920 x 1080 x 4294967296 colors
    Video Card Caption: NVIDIA GeForce GTX 770
    Video Card Memory: 4095 MB
    Video Rect Texture Size: 16384
    Serial number:
    Application folder: C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\
    Temporary file path: C:\Users\MIKEDD~1\AppData\Local\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      C:\, 931.4G, 604.6G free
    Required Plug-ins folder: C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\Required\
    Primary Plug-ins folder: C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\Plug-ins\
    Additional Plug-ins folder: not set
    Installed components:
       A3DLIBS.dll   A3DLIB Dynamic Link Library   9.2.0.112  
       ACE.dll   ACE 2012/06/05-15:16:32   66.507768   66.507768
       adbeape.dll   Adobe APE 2012/01/25-10:04:55   66.1025012   66.1025012
       AdobeLinguistic.dll   Adobe Linguisitc Library   6.0.0  
       AdobeOwl.dll   Adobe Owl 2012/06/26-12:17:19   4.0.95   66.510504
       AdobePDFL.dll   PDFL 2011/12/12-16:12:37   66.419471   66.419471
       AdobePIP.dll   Adobe Product Improvement Program   6.0.0.1654  
       AdobeXMP.dll   Adobe XMP Core 2012/02/06-14:56:27   66.145661   66.145661
       AdobeXMPFiles.dll   Adobe XMP Files 2012/02/06-14:56:27   66.145661   66.145661
       AdobeXMPScript.dll   Adobe XMP Script 2012/02/06-14:56:27   66.145661   66.145661
       adobe_caps.dll   Adobe CAPS   6,0,29,0  
       AGM.dll   AGM 2012/06/05-15:16:32   66.507768   66.507768
       ahclient.dll    AdobeHelp Dynamic Link Library   1,7,0,56  
       aif_core.dll   AIF   3.0   62.490293
       aif_ocl.dll   AIF   3.0   62.490293
       aif_ogl.dll   AIF   3.0   62.490293
       amtlib.dll   AMTLib   6.0.0.75 (BuildVersion: 6.0; BuildDate: Mon Jan 16 2012 18:00:00)   1.000000
       ARE.dll   ARE 2012/06/05-15:16:32   66.507768   66.507768
       AXE8SharedExpat.dll   AXE8SharedExpat 2011/12/16-15:10:49   66.26830   66.26830
       AXEDOMCore.dll   AXEDOMCore 2011/12/16-15:10:49   66.26830   66.26830
       Bib.dll   BIB 2012/06/05-15:16:32   66.507768   66.507768
       BIBUtils.dll   BIBUtils 2012/06/05-15:16:32   66.507768   66.507768
       boost_date_time.dll   DVA Product   6.0.0  
       boost_signals.dll   DVA Product   6.0.0  
       boost_system.dll   DVA Product   6.0.0  
       boost_threads.dll   DVA Product   6.0.0  
       cg.dll   NVIDIA Cg Runtime   3.0.00007  
       cgGL.dll   NVIDIA Cg Runtime   3.0.00007  
       CIT.dll   Adobe CIT   2.0.5.19287   2.0.5.19287
       CoolType.dll   CoolType 2012/06/05-15:16:32   66.507768   66.507768
       data_flow.dll   AIF   3.0   62.490293
       dvaaudiodevice.dll   DVA Product   6.0.0  
       dvacore.dll   DVA Product   6.0.0  
       dvamarshal.dll   DVA Product   6.0.0  
       dvamediatypes.dll   DVA Product   6.0.0  
       dvaplayer.dll   DVA Product   6.0.0  
       dvatransport.dll   DVA Product   6.0.0  
       dvaunittesting.dll   DVA Product   6.0.0  
       dynamiclink.dll   DVA Product   6.0.0  
       ExtendScript.dll   ExtendScript 2011/12/14-15:08:46   66.490082   66.490082
       FileInfo.dll   Adobe XMP FileInfo 2012/01/17-15:11:19   66.145433   66.145433
       filter_graph.dll   AIF   3.0   62.490293
       hydra_filters.dll   AIF   3.0   62.490293
       icucnv40.dll   International Components for Unicode 2011/11/15-16:30:22    Build gtlib_3.0.16615  
       icudt40.dll   International Components for Unicode 2011/11/15-16:30:22    Build gtlib_3.0.16615  
       image_compiler.dll   AIF   3.0   62.490293
       image_flow.dll   AIF   3.0   62.490293
       image_runtime.dll   AIF   3.0   62.490293
       JP2KLib.dll   JP2KLib 2011/12/12-16:12:37   66.236923   66.236923
       libeay32.dll   The OpenSSL Toolkit   0.9.8g  
       libifcoremd.dll   Intel(r) Visual Fortran Compiler   10.0 (Update A)  
       libmmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   10.0  
       LogSession.dll   LogSession   2.1.2.1640  
       mediacoreif.dll   DVA Product   6.0.0  
       MPS.dll   MPS 2012/02/03-10:33:13   66.495174   66.495174
       msvcm80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcm90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1  
       msvcp100.dll   Microsoft® Visual Studio® 2010   10.00.40219.1  
       msvcp71.dll   Microsoft® Visual Studio .NET   7.10.3077.0  
       msvcp80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcp90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1  
       msvcr100.dll   Microsoft® Visual Studio® 2010   10.00.40219.1  
       msvcr71.dll   Microsoft® Visual Studio .NET   7.10.3052.4  
       msvcr80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcr90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1  
       pdfsettings.dll   Adobe PDFSettings   1.04  
       Photoshop.dll   Adobe Photoshop CS6   CS6  
       Plugin.dll   Adobe Photoshop CS6   CS6  
       PlugPlug.dll   Adobe(R) CSXS PlugPlug Standard Dll (32 bit)   3.0.0.383  
       PSArt.dll   Adobe Photoshop CS6   CS6  
       PSViews.dll   Adobe Photoshop CS6   CS6  
       SCCore.dll   ScCore 2011/12/14-15:08:46   66.490082   66.490082
       ScriptUIFlex.dll   ScriptUIFlex 2011/12/14-15:08:46   66.490082   66.490082
       shfolder.dll   Microsoft(R) Windows (R) 2000 Operating System   5.50.4027.300  
       ssleay32.dll   The OpenSSL Toolkit   0.9.8g  
       tbb.dll   Intel(R) Threading Building Blocks for Windows   3, 0, 2010, 0406  
       tbbmalloc.dll   Intel(R) Threading Building Blocks for Windows   3, 0, 2010, 0406  
       TfFontMgr.dll   FontMgr   9.3.0.113  
       TfKernel.dll   Kernel   9.3.0.113  
       TFKGEOM.dll   Kernel Geom   9.3.0.113  
       TFUGEOM.dll   Adobe, UGeom©   9.3.0.113  
       updaternotifications.dll   Adobe Updater Notifications Library   6.0.0.24 (BuildVersion: 1.0; BuildDate: BUILDDATETIME)   6.0.0.24
       WRServices.dll   WRServices Friday January 27 2012 13:22:12   Build 0.17112   0.17112
       wu3d.dll   U3D Writer   9.3.0.113  
    Required plug-ins:
       Accented Edges 13.0
       Adaptive Wide Angle 13.0
       ADM 3.11x01
       Angled Strokes 13.0
       Average 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Bas Relief 13.0
       BMP 13.0
       Camera Raw 8.5
       Camera Raw Filter 8.5
       Chalk & Charcoal 13.0
       Charcoal 13.0
       Chrome 13.0
       Cineon 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Clouds 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Collada 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Color Halftone 13.0
       Colored Pencil 13.0
       CompuServe GIF 13.0
       Conté Crayon 13.0
       Craquelure 13.0
       Crop and Straighten Photos 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Crop and Straighten Photos Filter 13.0
       Crosshatch 13.0
       Crystallize 13.0
       Cutout 13.0
       Dark Strokes 13.0
       De-Interlace 13.0
       Difference Clouds 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Diffuse Glow 13.0
       Displace 13.0
       Dry Brush 13.0
       Eazel Acquire 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Embed Watermark 4.0
       Extrude 13.0
       FastCore Routines 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Fibers 13.0
       Film Grain 13.0
       Filter Gallery 13.0
       Fresco 13.0
       Glass 13.0
       Glowing Edges 13.0
       Grain 13.0
       Graphic Pen 13.0
       Halftone Pattern 13.0
       HDRMergeUI 13.0
       IFF Format 13.0
       Ink Outlines 13.0
       JPEG 2000 13.0
       Lens Blur 13.0
       Lens Correction 13.0
       Lens Flare 13.0
       Liquify 13.0
       Matlab Operation 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Measurement Core 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Mezzotint 13.0
       MMXCore Routines 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Mosaic Tiles 13.0
       Multiprocessor Support 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Neon Glow 13.0
       Note Paper 13.0
       NTSC Colors 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Ocean Ripple 13.0
       Oil Paint 13.0
       OpenEXR 13.0
       Paint Daubs 13.0
       Palette Knife 13.0
       Patchwork 13.0
       Paths to Illustrator 13.0
       PCX 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Photocopy 13.0
       Photoshop 3D Engine 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Picture Package Filter 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Pinch 13.0
       Pixar 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Plaster 13.0
       Plastic Wrap 13.0
       PNG 13.0
       Pointillize 13.0
       Polar Coordinates 13.0
       Portable Bit Map 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Poster Edges 13.0
       Radial Blur 13.0
       Radiance 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Read Watermark 4.0
       Reticulation 13.0
       Ripple 13.0
       Rough Pastels 13.0
       Save for Web 13.0
       ScriptingSupport 13.0.1
       Shear 13.0
       Smart Blur 13.0
       Smudge Stick 13.0
       Solarize 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Spatter 13.0
       Spherize 13.0
       Sponge 13.0
       Sprayed Strokes 13.0
       Stained Glass 13.0
       Stamp 13.0
       Sumi-e 13.0
       Targa 13.0
       Texturizer 13.0
       Tiles 13.0
       Torn Edges 13.0
       Twirl 13.0
       Underpainting 13.0
       Vanishing Point 13.0
       Variations 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Water Paper 13.0
       Watercolor 13.0
       Wave 13.0
       WIA Support 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       Wind 13.0
       Wireless Bitmap 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00)
       ZigZag 13.0
    Optional and third party plug-ins: NONE
    Plug-ins that failed to load: NONE
    Flash:
       Mini Bridge
       Kuler
    Installed TWAIN devices: NONE

  • HELP!  OpenGL Drawing Disabled in CS5...

    I'm running dual Nvidia Gefore 8800 GTs w/ SLI enabled on a Windows 7 32 bit machine.  The checkbox to enable OpenGL drawing is disabled (as is the advanced option button), and where it says "Detected Video Card:" it's just blank.  I should note - Photoshop CS4 was working just fine with OpenGL Drawing enabled and full GPU acceleration.  The Adobe drivers documentation states that the 8800 GT is fully supported for CS5...
    I've scoured the support forums on both Nvidia and Adobe and no one seems to be able to answer this.  Yep - I'm running the latest Nvidia drivers (v. 258.96), I've uninstalled and reinstalled CS5, and totally cleaned my registry.
    I'm aware of the option to download the test tools from Adobe and force hardware emulation mode to get the OpenGL options to work, but that's really not a solution in my opinion.  That's basically bypassing the acceleration I should be getting from Nvidia.  It's pretty clearly stated on the download page that Adobe doesn't recommend it as a solution either.
    Is anyone else having this issue?  I'm incredibly frustrated and would greatly appreciate any/all information anyone has...

    My video cards are dual GeForce 8800 GTs w/ SLI.  According to Nvidia  and Adobe's documentation, they are fully capable of driving Photoshop  CS5.  I run ZBrush, SoftImage, Blender, and a slew of other much more  graphically intensive apps with no issues.
    I installed the latest version of the Nvidia drivers; after that didn't work, I ran the latest beta drivers, which also didn't work.  There's got to be a fix from either Nvidia or Adobe for this.  The cards are fully capable and are listed in the index of supported cards on Adobe's site.

Maybe you are looking for