Results 1 to 8 of 8

Thread: Getting started is going no where

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2007
    Location
    columbus, GA
    Posts
    4

    Getting started is going no where

    First off I am new to openGL. I am a computer science student taking an intro graphics class but its still a lvl 5000 class, go figure the pun. I want to do my projects in Java using IBM eclipse or NetBeans but prefer eclipse. The computers at school don't even run eclipse with openGL. Please hlp with the following or just give me a straight up answer to solve my horror =D.

    How do I get glut and what is jogl?
    How do I bind?

    I just need to get either ide running with a simple openGL program to test it. If you have a nice answer, I will be forever in your debt.

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: Getting started is going no where

    JOGL is "Java bindings to the OpenGL native 3D graphics library."

    This should help :
    http://opengl.j3d.org/swt/jogl.html

  3. #3
    Junior Member Newbie
    Join Date
    Aug 2007
    Location
    columbus, GA
    Posts
    4

    Re: Getting started is going no where

    Still confused but much thx for the above help. I I tried an example program in JAVA under eclipse. The 3rd import statement is this.

    import net.java.games.jogl.*;

    net ~~~~~ can not be resolved.


    NOTE: I have included the website for the example programs that I am using and all other important files needed. The program is called "cube". There is only 1 zip and its called Angel4EJavaPorgrams.zip

    http://www.cs.unm.edu/~angel/BOOK/IN...PROGRAMS/JAVA/

    The help file is this....

    ~~~~~~~~~~~~~~~~~~~~~~~~~
    The zip file in this directory contains the Java versions of
    the sample programs in Angel: Interactive Computer Graphics,
    Fourth Addition. They use the JOGL implementation of OpenGL
    (included). The zip file also contains the necessary make files
    for Linux and Windows.
    ~~~~~~~~~~~~~~~~~~~~~~~~~

    And to answer your question. No I can not ask the author of the book because my professor will thinking I am cheating. Honestly I am not even sure if he knows HOW to do this or just wants to make my life difficult.....

  4. #4
    Junior Member Newbie
    Join Date
    Aug 2007
    Location
    columbus, GA
    Posts
    4

    Re: Getting started is going no where

    I don't think I really said what I needed. Where do I put the files from the zip file?

    sorry in advance...

  5. #5
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: Getting started is going no where

    Click my link above.
    Click "downloads page"
    Read info at the bottom about the Eclipse plugin :
    "Just unzip the file into the plugins directory and you're ready to go."

    You need to learn to RTFM

  6. #6
    Junior Member Newbie
    Join Date
    Aug 2007
    Location
    columbus, GA
    Posts
    4

    Re: Getting started is going no where

    I have tried this and this is what i get..

    Error: Access is denied.
    Cannot create C:\Program Files\eclipse\plugins\org.j3d.opengl.swt.draw2d_0. 7.0.jar


    disk is not full,,, and the jar file is not in the directory,,, i checked it aswell to be sure

  7. #7
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: Getting started is going no where

    okayyy... check you do have write permission to the plugins directory.

    If not, then try this :
    http://opengl.j3d.org/installing.html

    If you still don't have write access to the jre/jdk path, extract elsewhere, and add all the jars to your Eclipse project.

    Anyway, the official JOGL documentation and forums would be better suited to help you :
    https://jogl.dev.java.net/

  8. #8
    Senior Member Regular Contributor songho's Avatar
    Join Date
    May 2003
    Location
    Canada
    Posts
    242

    Re: Getting started is going no where

    Originally posted by ak1200:

    import net.java.games.jogl.*;
    The above import line is outdated. Change it to the following line for new version of java (e.g.:v1.6.0):
    import javax.media.opengl.*;

    But, GLUT is located in a different package:
    import com.sun.opengl.util.GLUT;

    I noticed many JOGL tutorials from the net are outdated and won't be compiled with new version of JAVA.

Similar Threads

  1. How to get started on mac os x?
    By Jonnex in forum OpenGL: macOS
    Replies: 2
    Last Post: 10-18-2006, 09:20 AM
  2. Getting started on a Mac with OSX
    By vos3 in forum OpenGL: macOS
    Replies: 11
    Last Post: 12-09-2003, 02:16 PM
  3. Please help, just started
    By imported_sergey in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-14-2002, 01:49 AM
  4. Getting started..... help
    By tim12qw12qw in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-10-2002, 04:57 PM
  5. getting started
    By in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 02-01-2002, 01:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean