Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (568)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1] 2
1  Java Game APIs & Engines / JOGL Development / How to check hardware vendor on: 2006-05-07 13:15:14
How do i get the type of graphics card(ati,nvidia)?
2  Java Game APIs & Engines / JOGL Development / Re: JOGL code compiles but will not run!! SOS!! on: 2006-05-06 23:48:17
You forgot the jogl natives.
3  Java Game APIs & Engines / JOGL Development / Re: JOGL build problems on: 2006-05-03 22:36:40
it didn't work again but it failed on a different part so i think maybe your patch fixed some but something else?  I dunno just seems like it .  Maybe give it one more try?

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
java.compile.secondpass:
    [javac] Compiling 176 source files to D:\Documents and Settings\Patrick\workspace\jogl\build\classes
    [javac] D:/Documents and Settings/Patrick/workspace/jogl/src/classes/javax/media/opengl/GLJPanel.java:488: cannot resolve symbol
    [javac] symbol: class DebugGL
    [javac] j2dContext.setGL(new DebugGL(j2dContext.getGL()));
    [javac] ^
    [javac] D:/Documents and Settings/Patrick/workspace/jogl/src/classes/javax/media/opengl/GLJPanel.java:555: cannot resolve symbol
    [javac] symbol: class DebugGL
    [javac] joglContext.setGL(new DebugGL(joglContext.getGL()));
    [javac] ^
    [javac] Note: D:/Documents and Settings/Patrick/workspace/jogl/src/classes/javax/media/opengl/GLCanvas.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 2 errors

BUILD FAILED
D:\Documents and Settings\Patrick\workspace\jogl\make\build.xml:1417: The following error occurred while executing this line:
D:\Documents and Settings\Patrick\workspace\jogl\make\build.xml:706: Compile failed; see the compiler error output for details.


Use to fail after 7 secs now it's after 37 secs
4  Java Game APIs & Engines / JOGL Development / JOGL build problems on: 2006-05-03 01:22:47
I am tring to build jogl under eclipse.  I got the antlr elipse plugin and mingw.  This is what I get.
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
java.generate.gl:
     [echo] Generating GL interface and implementation
  [gluegen] java.io.FileNotFoundException: ..\make\stub_includes\common\gl.c (The system cannot find the path specified)
  [gluegen] at java.io.FileInputStream.open(Native Method)
  [gluegen] at java.io.FileInputStream.<init>(FileInputStream.java:106)
  [gluegen] at java.io.FileInputStream.<init>(FileInputStream.java:66)
  [gluegen] at java.io.FileReader.<init>(FileReader.java:41)
  [gluegen] at com.sun.gluegen.GlueGen.run(GlueGen.java:102)
  [gluegen] at com.sun.gluegen.GlueGen.main(GlueGen.java:297)
  [gluegen] Exception occurred while generating glue code. Exiting.

BUILD FAILED
D:\Documents and Settings\Patrick\workspace\jogl\make\build.xml:1333: The following error occurred while executing this line:
D:\Documents and Settings\Patrick\workspace\jogl\make\build.xml:542: The following error occurred while executing this line:
D:\Documents and Settings\Patrick\workspace\jogl\make\build.xml:510: GlueGen returned: 1


Please help thanks
5  Java Game APIs & Engines / JOGL Development / image processing help on: 2006-01-22 03:22:17
I'm very interested in image processing anybody got some links maybe?  Is there a demo of this maybe?
6  Java Game APIs & Engines / JOGL Development / quick jogl question on: 2006-01-10 04:55:29
Do all calls have to be made from within GLEventListener?  I thought you just needed a canvas/JPanel.
7  Java Game APIs & Engines / JOGL Development / Re: pbuffer question on: 2006-01-04 15:31:12
well i'm doing a port of jme's rendering system from lwjgl to jogl and right now they use pbuffers
PS: any FBO demos
8  Java Game APIs & Engines / JOGL Development / pbuffer question on: 2006-01-04 01:10:09
this is gonna seem stupid but I use to use lwjgl.  How do you bind and release textures, could I get an example?
I know in lwjgl it's pbuffer.bindTexImage(Pbuffer.FRONT_LEFT_BUFFER) and pbuffer.releaseTexImage(Pbuffer.FRONT_LEFT_BUFFER)
what would be the jogl equal.

Thanks
9  Java Game APIs & Engines / JOGL Development / Re: opengl extensions on: 2005-12-29 01:56:51
alrite sorry to waste your time and thanks
10  Java Game APIs & Engines / JOGL Development / Re: opengl extensions on: 2005-12-28 22:40:12
I would have to look into it but the truform one i mentioned is

ATI_pn_triangles
http://www.opengl.org/about/arb/notes/meeting_note_2001-06-12.html#ext_pntri
thats really all I could dig up on it everything else is about the press release
11  Java Game APIs & Engines / JOGL Development / Re: opengl extensions on: 2005-12-28 04:13:02
I was thinking vender extensions, like ati has a higher order extension that works quiet nicely that I would like.
12  Java Game APIs & Engines / JOGL Development / opengl extensions on: 2005-12-28 02:43:34
Ever since jsr-231 extensions have been excluded in the glue code generation process.  I was wondering if/how we could make are own extensions using glue.
Thanks
13  Java Game APIs & Engines / JOGL Development / old jogl questions on: 2005-12-21 23:34:12
I was going into some old code tring to find out why it won't compile(new jogl releases put my code out of date)  and i was wondering what happend to a could of methods.
Like GLCanvas.setRenderingThread(Thread t)or
         GLCanvas.setNoAutoRedrawMode(boolean a)
if they were removed what can i use to the same effect?
14  Java Game APIs & Engines / JOGL Development / help on: 2005-12-10 01:47:45
how would i set stuff like brightness,gamma,and contrast?
15  Java Game APIs & Engines / JOGL Development / GL creation on: 2005-12-06 01:11:14
How should i got about creating a GL with a set of GLCapabilities?
16  Java Game APIs & Engines / JOGL Development / glu recreation on: 2005-11-18 01:02:05
been awhile since I've worked in jogl and was wondering i was able to do GLCanvas.getGLU() but not anymore is there a way to do it?
17  Java Game APIs & Engines / JOGL Development / getting refresh rate on: 2005-11-10 02:54:36
How would i get the refresh rate of the monitor?  I don't see anything in glCapablilities.
18  Java Game APIs & Engines / Xith3D Forums / quick question on: 2005-08-11 19:59:00
i was wondering if arb can call stuff like gl_ModelView like in glsl
19  Java Game APIs & Engines / Xith3D Forums / Re: Latest tutorials and getting started info?? on: 2005-08-11 15:49:43
ya quick note since where on tutorials none of the tutorials on the site will compile guess nobody has updated the code
20  Java Game APIs & Engines / Xith3D Forums / next xith3d update?` on: 2005-08-11 15:45:54
what new features will be added and stuff like that if there is an update coming at all
21  Java Game APIs & Engines / JOGL Development / Re: could somebody take a look at my code? on: 2005-08-09 15:59:54
sorry I didn't know your wrote it.  I started writing my own but i gave up it was madding.  Has anybody written a loader of any sort.
22  Java Game APIs & Engines / JOGL Development / Re: could somebody take a look at my code? on: 2005-08-09 02:38:16
almost all obj is the same and it's not taliored for the demo because it checks for more than 3 vertex a line why would they do that if it was taliored for the demo.
23  Java Game APIs & Engines / JOGL Development / Re: could somebody take a look at my code? on: 2005-08-09 00:57:17
well i've tried every diffent constructor and 3 diffent models for each.  Are there any known issues about the objReader or something
24  Java Game APIs & Engines / JOGL Development / Re: could somebody take a look at my code? on: 2005-08-08 22:43:53
that wouldn't fix it but thanks for the tip.
Is GL really all that much to cache?
25  Java Game APIs & Engines / JOGL Development / Re: could somebody take a look at my code? on: 2005-08-08 16:20:25
sorry about not posting that earlier it was pretty late when i got home
26  Java Game APIs & Engines / JOGL Development / Re: could somebody take a look at my code? on: 2005-08-08 16:19:52
alrite made that little change and here seems to be the problem
error line 25
Init GL is net.java.games.jogl.impl.windows.WindowsGLImpl
java.lang.NullPointerException
        at TestRenderer.display(TestRenderer.java:36)
        at net.java.games.jogl.impl.GLDrawableHelper.display(GLDrawableHelper.ja
va:74)
        at net.java.games.jogl.GLCanvas$DisplayAction.run(GLCanvas.java:198)
        at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:239)
        at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:186)
        at net.java.games.jogl.GLCanvas.display(GLCanvas.java:74)
        at net.java.games.jogl.Animator$1.run(Animator.java:104)
        at java.lang.Thread.run(Thread.java:534)

something is going wrong with the obj reader
27  Java Game APIs & Engines / JOGL Development / could somebody take a look at my code? on: 2005-08-08 04:49:53
took the "Getting started with jogl" code and expanded
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
import net.java.games.jogl.*;

import java.awt.*;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

public class test
{
   public static void main( String[] args )
   {
       try
       {
           Frame testFrame = new Frame("TestFrame");
           testFrame.setSize( 512, 384 );

           GLCapabilities glCaps = new GLCapabilities();
           glCaps.setRedBits(32);
           glCaps.setBlueBits(32);
           glCaps.setGreenBits(32);
           glCaps.setAlphaBits(32);

           GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas( glCaps );

           testFrame.add( canvas );

           canvas.addGLEventListener(new TestRenderer());

           final Animator animator = new Animator( canvas);
           testFrame.addWindowListener(new WindowAdapter() {
               public void windowClosing(WindowEvent e) {
                 animator.stop();
                 System.exit(0);
               }
             });
           testFrame.show();
           animator.start();
       }
       catch( Exception e )
       {
           e.printStackTrace();
       }
   }
}

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
51  
import net.java.games.jogl.GLEventListener;
import net.java.games.jogl.GL;
import net.java.games.jogl.GLDrawable;
import net.java.games.jogl.DebugGL;
import demos.util.*;
import java.io.IOException;


public class TestRenderer implements GLEventListener
{
   private GL              gl;
   private GLDrawable      glDrawable;
   private ObjReader       model;

   public void init(GLDrawable drawable)
   {
       this.gl = drawable.getGL();
       this.glDrawable = drawable;

       drawable.setGL( new DebugGL(drawable.getGL() ));
      try{
            model=new ObjReader("C:\\body");
       }
       catch(IOException e)
       {
             System.out.println("error line 25");
       }
       System.out.println("Init GL is " + gl.getClass().getName());
   }

   public void display(GLDrawable drawable)
   {
            gl.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT);
            gl.glEnableClientState(GL.GL_VERTEX_ARRAY);
          gl.glEnableClientState(GL.GL_NORMAL_ARRAY);
          gl.glVertexPointer(3, GL.GL_FLOAT, 0, model.getVertices());
          gl.glNormalPointer(GL.GL_FLOAT, 0, model.getVertexNormals());
          int[] indices = model.getFaceIndices();
          gl.glDrawElements(GL.GL_TRIANGLES, indices.length, GL.GL_UNSIGNED_INT, indices);
          gl.glDisableClientState(GL.GL_VERTEX_ARRAY);
          gl.glDisableClientState(GL.GL_NORMAL_ARRAY);
   }
   public void reshape(GLDrawable drawable, int x, int y, int width, int height)
   {
   }

   public void displayChanged(GLDrawable drawable, boolean modeChanged, boolean deviceChanged)
   {
   }

}
28  Java Game APIs & Engines / Java Sound & OpenAL / anybody know of a api that supports Cg on: 2005-08-05 17:50:23
just like the title says
29  Java Game APIs & Engines / JOGL Development / noob quesion on: 2005-08-04 03:51:54
i made a loader and was just wondering how to i get the camera to pan backwards or do i get to transform everything forward
30  Java Game APIs & Engines / JOGL Development / CG problems on: 2005-08-02 07:33:52
i was testing out the Cg demo and i got an unstatisfactory link error that goes to the jogl_cg.dll what do i do to fix this?
Pages: [1] 2
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Pippogeek (40 views)
2014-09-24 16:13:29

Pippogeek (31 views)
2014-09-24 16:12:22

Pippogeek (21 views)
2014-09-24 16:12:06

Grunnt (47 views)
2014-09-23 14:38:19

radar3301 (29 views)
2014-09-21 23:33:17

BurntPizza (65 views)
2014-09-21 02:42:18

BurntPizza (37 views)
2014-09-21 01:30:30

moogie (44 views)
2014-09-21 00:26:15

UprightPath (53 views)
2014-09-20 20:14:06

BurntPizza (55 views)
2014-09-19 03:14:18
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!