Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thanks for the post!



Hello Mat,

the java extension for OpenGL is not included in Java 1.4.2. You have to download and install JOGL from
https://jogl.dev.java.net/servlets/ProjectDocumentList
the installation is described in detail on
http://today.java.net/pub/a/today/2003/09/11/jogl2d.html


Alternatively, you can drop the OpenGL stuff from the code and focus on the awt method.
To do this, delete the complete method
public Component buildOpenGLCameraView(){
....
}


the import statement
    // import net.java.games.jogl.*;

and change the main method accordingly:
    // Switch between the two lines to select OpenGL or aw display:
    Component imagePanel = myCam.buildSwingCameraView();
    //Component imagePanel = myCam.buildOpenGLCameraView();

What kind of camera are you using? Pleas let me know, if you get the code to work.

Thank you

Jochen

_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-java/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.