Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (495)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
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 3 ... 6
1  Java Game APIs & Engines / JOGL Development / Best option for running jogl app on multihead setup on: 2008-09-25 14:55:21
I have a Java webstart activated jogl application (running on FC9) that queries a database of images to render a 3D view of the planet. It utilizes LOD code to efficiently render the view as the users zoom in and out. Presently the rendering is done to a jogl GLCanvas, but I want to have the application display on a 8x8 LCD multi monitor display system.

I see where the underlying X11 display system can be configured to use multiple monitors without the program knowing, however I require 64 monitors, and I'm not sure how to get it done for 64 monitors. I have also seen a xdmx X proxy, but work on this seems to have ceased in 2004 and I'm not sure if today this is still my best option. I was thinking that another way would be to have a  number of rendering threads which render to different GLCanvas's, which are bound to specific X11 displays, which are in turn tied to particular monitors.

I've seen  NxN LCD multi monitor systems but I don't know how they are implemented. Also in terms of running my type of application I don't know which method is best for me.

Can anyone offer some thoughts on which approach would probably suit me best.
2  Java Game APIs & Engines / JOGL Development / Re: VertexBuffer objects and TextRenderer interaction. on: 2008-01-09 15:21:47
I assume that it may happen after a call of the method draw(). I use VBOs + TextRenderer too and I have never had any problem as I use TextRenderer in a loop where I handle of of the messages that need to be displayed, I don't mix call of glBindBufferARB and draw().
OK. I also never mix my calls to draw() and glBindBufferARB().

John
3  Java Game APIs & Engines / JOGL Development / VertexBuffer objects and TextRenderer interaction. on: 2008-01-06 15:09:42
I have an application that uses VertexBuffer objects and the TextRenderer class and everything seesm to be working fine. However, recently I was looking through the documentation for TextRenderer and I saw the following note.

Quote
Note that the TextRenderer may cause the vertex and texture coordinate array buffer bindings to change, or to be unbound. This is important to note if you are using Vertex Buffer Objects (VBOs) in your application.

In my application I allocate a pool of vertex buffers that I hang unto for the duration of the application. Can anyone say in which circumstances VBO's would become unbound by TextRenderers?

John
4  Java Game APIs & Engines / JInput / Re: Using 3DConnexions SpaceNavigator on: 2007-06-30 11:17:59
If the user running the code does not already have permissions to the device, what makes you thing the will be able to change them?

Ubuntu for example. As root I had to change the udev config so that it gave group permissions to the /dev/input/event nodes for the user I run as.
I was planning to check if the user had permission to read the /dev/input/event nodes, and if not then to popup a box for the user to enter the root password and then run a script that would change the permissions as root. This would only be done once.

John
5  Java Game APIs & Engines / JInput / Re: Using 3DConnexions SpaceNavigator on: 2007-06-29 21:36:22
Perfecto!!

One quick question. I remember seeing a set of instructions somewhere, on how to change the permissions on the devices to allow non root users to read the events. Can you tell me how to do it or point me to where this information is stored. I use webstart for my application (http://www.ejamaica.org/jroam/jroam.jnlp)  and I will need to insert some code that on the linux platform calls some native script to change the permissions if they are not properly set.

John

Thanks again for your help.
6  Java Game APIs & Engines / JInput / Re: Using 3DConnexions SpaceNavigator on: 2007-06-28 04:40:14
OK. Success. The ControllerEventTest opens the window (screen dump attached).
java -Djava.library.path=dist -cp dist/jinput.jar:dist/jinput-test.jar net.java.games.input.test.ControllerEventTest
Trying to open /dev/input/event6
Got key of id 0
Got key of id 1
Got rel of id x
Got rel of id y
Got rel of id z
Got rel of id slider-velocity
Got rel of id slider-velocity
Got rel of id slider-velocity
Type guess from components: Mouse
Opened /dev/input/event6, found 3Dconnexion SpaceNavigator
============================
Endolf, you can't even get something as simple as mouse buttons sorted. The code clearly *guesses* at whats a mouse, so don't assume that if JInput guesses it's a mouse, that it is indeed a real mouse, with a real left mouse button. Spanner
Go back to playing games Endolf, you obviously can't code for them Wink
============================
Trying to open /dev/input/event4
Got key of id Unknown
Type guess from components: Keyboard
Opened /dev/input/event4, found Power Button (FF)
Trying to open /dev/input/event5
Got key of id Sleep
Type guess from components: Keyboard
Opened /dev/input/event5, found Sleep Button (CM)
Trying to open /dev/input/event3
Type guess from components: Unknown
Opened /dev/input/event3, found PC Speaker
============================================
No clue what type PC Speaker is, we guessed at Unknown
============================================
Trying to open /dev/input/event1
Got key of id Escape
Got key of id 1
Got key of id 2
Got key of id 3
Got key of id 4
Got key of id 5
Got key of id 6
Got key of id 7
Got key of id 8
Got key of id 9
Got key of id 0
Got key of id -
Got key of id =
Got key of id Back
Got key of id Tab
Got key of id Q
Got key of id W
Got key of id E
Got key of id R
Got key of id T
Got key of id Y
Got key of id U
Got key of id I
Got key of id O
Got key of id P
Got key of id [
Got key of id ]
Got key of id Return
Got key of id Left Control
Got key of id A
Got key of id S
Got key of id D
Got key of id F
Got key of id G
Got key of id H
Got key of id J
Got key of id K
Got key of id L
Got key of id ;
Got key of id '
Got key of id ~
Got key of id Left Shift
Got key of id \
Got key of id Z
Got key of id X
Got key of id C
Got key of id V
Got key of id B
Got key of id N
Got key of id M
Got key of id ,
Got key of id .
Got key of id /
Got key of id Right Shift
Got key of id Multiply
Got key of id Left Alt
Got key of id 
Got key of id Caps Lock
Got key of id F1
Got key of id F2
Got key of id F3
Got key of id F4
Got key of id F5
Got key of id F6
Got key of id F7
Got key of id F8
Got key of id F9
Got key of id F10
Got key of id Num Lock
Got key of id Scroll Lock
Got key of id Num 7
Got key of id Num 8
Got key of id Num 9
Got key of id Num -
Got key of id Num 4
Got key of id Num 5
Got key of id Num 6
Got key of id Num +
Got key of id Num 1
Got key of id Num 2
Got key of id Num 3
Got key of id Num 0
Got key of id Num .
Got key of id Unknown
Got key of id Unknown
Got key of id F11
Got key of id F12
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Num Enter
Got key of id Right Control
Got key of id Num /
Got key of id SysRq
Got key of id Right Alt
Got key of id Home
Got key of id Up
Got key of id Pg Up
Got key of id Left
Got key of id Right
Got key of id End
Got key of id Down
Got key of id Pg Down
Got key of id Insert
Got key of id Delete
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Num =
Got key of id Unknown
Got key of id Pause
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Sleep
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id Unknown
Got key of id F13
Got key of id F14
Got key of id F15
Got key of id Unknown
Got key of id Unknown
Type guess from components: Keyboard
Opened /dev/input/event1, found AT Translated Set 2 keyboard
Trying to open /dev/input/event2
Got key of id Left
Got key of id Right
Got key of id Middle
Got rel of id x
Got rel of id y
Got rel of id z
Type guess from components: Mouse
Opened /dev/input/event2, found HID 1241:1177
Trying to open /dev/input/event0
Got key of id Left
Got key of id Right
Got key of id Middle
Got rel of id x
Got rel of id y
Type guess from components: Mouse
Opened /dev/input/event0, found Macintosh mouse button emulation
Linux plugin claims to have found 6 controllers
Component count = 8
Component count = 1
Component count = 1
Component count = 144
Component count = 6
Component count = 5

JInput is thinking it's a mouse. I'm betting that there are either no buttons on the device, or they are numbered buttons, and right now, JInput expects the left mouse button to exist as left under Linux.
There are two buttons on the device.

John
7  Java Game APIs & Engines / JInput / Re: Using 3DConnexions SpaceNavigator on: 2007-06-27 13:58:09
Reporting broken cases like this are invaluable to getting JInput working as it should. So thank you Smiley.
Thank you. Smiley

OK, here goes.

java -Djava.library.path=dist -cp dist/jinput.jar:dist/jinput-test.jar net.java.games.input.test.RumbleTest
Trying to open /dev/input/event6
Type guess from components: Mouse
Opened /dev/input/event6, found 3Dconnexion SpaceNavigator
Trying to open /dev/input/event4
Type guess from components: Keyboard
Opened /dev/input/event4, found Power Button (FF)
Trying to open /dev/input/event5
Type guess from components: Keyboard
Opened /dev/input/event5, found Sleep Button (CM)
Trying to open /dev/input/event3
Type guess from components: Unknown
Opened /dev/input/event3, found PC Speaker
============================================
No clue what type PC Speaker is, we guessed at Unknown
============================================
Trying to open /dev/input/event1
Type guess from components: Keyboard
Opened /dev/input/event1, found AT Translated Set 2 keyboard
Trying to open /dev/input/event2
Type guess from components: Mouse
Opened /dev/input/event2, found HID 1241:1177
Trying to open /dev/input/event0
Type guess from components: Mouse
Opened /dev/input/event0, found Macintosh mouse button emulation
Linux plugin claims to have found 5 controllers
Scanning Power Button (FF)
Found 0 rumblers
Scanning Sleep Button (CM)
Found 0 rumblers
Scanning AT Translated Set 2 keyboard
Found 0 rumblers
Scanning HID 1241:1177
Found 0 rumblers
Scanning Macintosh mouse button emulation
Found 0 rumblers


java -Djava.library.path=dist -cp dist/jinput.jar:dist/jinput-test.jar net.java.games.input.test.ControllerTextTest
Controller Env = net.java.games.input.DefaultControllerEnvironment@ab95e6
Trying to open /dev/input/event6
Type guess from components: Mouse
Opened /dev/input/event6, found 3Dconnexion SpaceNavigator
Trying to open /dev/input/event4
Type guess from components: Keyboard
Opened /dev/input/event4, found Power Button (FF)
Trying to open /dev/input/event5
Type guess from components: Keyboard
Opened /dev/input/event5, found Sleep Button (CM)
Trying to open /dev/input/event3
Type guess from components: Unknown
Opened /dev/input/event3, found PC Speaker
============================================
No clue what type PC Speaker is, we guessed at Unknown
============================================
Trying to open /dev/input/event1
Type guess from components: Keyboard
Opened /dev/input/event1, found AT Translated Set 2 keyboard
Trying to open /dev/input/event2
Type guess from components: Mouse
Opened /dev/input/event2, found HID 1241:1177
Trying to open /dev/input/event0
Type guess from components: Mouse
Opened /dev/input/event0, found Macintosh mouse button emulation
Linux plugin claims to have found 5 controllers
Power Button (FF)
Type: Keyboard
Component Count: 1
Component 0: Unknown
    Identifier: Unknown
    ComponentType: Absolute Digital
---------------------------------
Sleep Button (CM)
Type: Keyboard
Component Count: 1
Component 0: Sleep
    Identifier: Sleep
    ComponentType: Absolute Digital
---------------------------------
AT Translated Set 2 keyboard
Type: Keyboard
Component Count: 144
Component 0: Escape
    Identifier: Escape
    ComponentType: Absolute Digital
Component 1: 1
    Identifier: 1
    ComponentType: Absolute Digital
Component 2: 2
    Identifier: 2
    ComponentType: Absolute Digital
Component 3: 3
    Identifier: 3
    ComponentType: Absolute Digital
Component 4: 4
    Identifier: 4
    ComponentType: Absolute Digital
Component 5: 5
    Identifier: 5
    ComponentType: Absolute Digital
Component 6: 6
    Identifier: 6
    ComponentType: Absolute Digital
Component 7: 7
    Identifier: 7
    ComponentType: Absolute Digital
Component 8: 8
    Identifier: 8
    ComponentType: Absolute Digital
Component 9: 9
    Identifier: 9
    ComponentType: Absolute Digital
....................................
....................................
....................................
....................................
Component 142: Unknown
    Identifier: Unknown
    ComponentType: Absolute Digital
Component 143: Unknown
    Identifier: Unknown
    ComponentType: Absolute Digital
---------------------------------
HID 1241:1177
Type: Mouse
Component Count: 6
Component 0: Left
    Identifier: Left
    ComponentType: Absolute Digital
Component 1: Right
    Identifier: Right
    ComponentType: Absolute Digital
Component 2: Middle
    Identifier: Middle
    ComponentType: Absolute Digital
Component 3: x
    Identifier: x
    ComponentType: Relative Analog
Component 4: y
    Identifier: y
    ComponentType: Relative Analog
Component 5: z
    Identifier: z
    ComponentType: Relative Analog
---------------------------------
Macintosh mouse button emulation
Type: Mouse
Component Count: 5
Component 0: Left
    Identifier: Left
    ComponentType: Absolute Digital
Component 1: Right
    Identifier: Right
    ComponentType: Absolute Digital
Component 2: Middle
    Identifier: Middle
    ComponentType: Absolute Digital
Component 3: x
    Identifier: x
    ComponentType: Relative Analog
Component 4: y
    Identifier: y
    ComponentType: Relative Analog
---------------------------------


java -Djava.library.path=dist -cp dist/jinput.jar:dist/jinput-test.jar net.java.games.input.test.ControllerReadTest
Trying to open /dev/input/event6
Type guess from components: Mouse
Opened /dev/input/event6, found 3Dconnexion SpaceNavigator
Trying to open /dev/input/event4
Type guess from components: Keyboard
Opened /dev/input/event4, found Power Button (FF)
Trying to open /dev/input/event5
Type guess from components: Keyboard
Opened /dev/input/event5, found Sleep Button (CM)
Trying to open /dev/input/event3
Type guess from components: Unknown
Opened /dev/input/event3, found PC Speaker
============================================
No clue what type PC Speaker is, we guessed at Unknown
============================================
Trying to open /dev/input/event1
Type guess from components: Keyboard
Opened /dev/input/event1, found AT Translated Set 2 keyboard
Trying to open /dev/input/event2
Type guess from components: Mouse
Opened /dev/input/event2, found HID 1241:1177
Trying to open /dev/input/event0
Type guess from components: Mouse
Opened /dev/input/event0, found Macintosh mouse button emulation
Linux plugin claims to have found 5 controllers
Component count = 1
Component count = 1
Component count = 144
Component count = 6
Component count = 5
Failed to poll device: Failed to get device key states (9)

Power Button (FF) disabled
Failed to poll device: Failed to get device key states (9)

Sleep Button (CM) disabled
Failed to poll device: Failed to get device key states (9)

AT Translated Set 2 keyboard disabled
Failed to poll device: Failed to get device key states (9)

HID 1241:1177 disabled
Failed to poll device: Failed to get device key states (9)

Macintosh mouse button emulation disabled


The ControllerReadTest opens 6 windows: ControllerReadTest, Power Button (FF), HID 1241:1177, AT Translated Set 2 keyboard, Macintosh mouse button emulation, Sleep Button (CM). None for the Space Navigator

See anything?

John
8  Java Game APIs & Engines / JInput / Re: Using 3DConnexions SpaceNavigator on: 2007-06-26 12:42:44
What kernel are you running, it appears that there might have been a regression bug in 2.6.16 that stopped the device working properly, but it's fixed again in 2.6.20, apparently.
2.6.20-1.2952.fc6

Edit, just found this test application. If that works, jinput should, if it doesn't, and evtest also doesn't like the device, then it's a system level thing, not JInput.

Wicked!!.
spacenavi /dev/input/event6
found "3Dconnexion SpaceNavigator" on /dev/input/event6
Supported event types:
  Event type 0x00  (Sync?)
  Event type 0x01  (Keys or Buttons)
  Event type 0x02  (Relative Axes)
  Event type 0x11  (LEDs)
detected leds:
  8,
State:    0    0    0   38  -47    1 - off off

and moving the control shows up in the six variables. OK. So now that we know that the OS recognises it, how do we get jinput to see it. I'm taking it that jinput is the best bet to access it across Linux, Mac and Windows?

John
9  Java Game APIs & Engines / JOGL Development / Re: jogl on dual monitor setup on: 2007-06-22 19:30:13
I don't know the nitty-gritty details of opengl, but does it allow for contexts to span multiple monitors and devices? If it doesn't, then that would be your problem.
The problem seems to be that to close and restore the docking frame in which I house the GLCanvas, the InfoNode docking package removes and adds the component. It is during this activity that I get the exception of adding a container to a container on a different GraphicsDevice. I have enabled debugging in jogl (jogl.debug) and see that it is after the GLCanvas context has been removed and a removeNotify() (I think that is the name) and before the addNotify() that I get the exception.

I'm having some problem narrowing it down, so I might just workaround it and enable a different method that does not actually remove and add the canvas. I have some preliminary results that indicate that I will not get the exception, and still have the canvas spanning the two monitors.

John
10  Java Game APIs & Engines / JOGL Development / Re: jogl on dual monitor setup on: 2007-06-21 01:02:27
Quote
I don't think you mentioned this but what OS are you seeing the problem on?
I'm using fedora core 6.

I tried the Canvas instead and that is fine. Only the GLCanvas gives the exception.

I'll look into the jogl source now.

John
11  Java Game APIs & Engines / JOGL Development / Re: jogl on dual monitor setup on: 2007-06-20 23:50:12
I'm not sure but this sounds like something you should ask on the Swing / AWT forum on javadesktop.org.
I posted over there and  Artem Ananiev asked me to post a small test case that reproduced the problem. In doing this I found that its not all heavyweight components that cause the problem. I tried the JMF media player heavyweight component and there is no problem. Only the jogl GLCanvas gives an exception.

I've attached the test code demo.java if you can try it and see if it is reproducible. You'll need the following:

Quote

Then go to line 282 and put the correct path to the lung01a.mov file, or any other file that you will use. Now you can compile and run.

1  
2  
javac -cp idw-gpl.jar:jogl.jar:mediaplayer.jar:multiplayer.jar:jmf.jar demo.java 
java -Djava.library.path=/path/to/jogl/native/libs -cp idw-gpl.jar:.:jogl.jar:gluegen-rt.jar:mediaplayer.jar:multiplayer.jar:jmf.jar demo


Using the menus you can toggle the visibility of the JMF component. In either monitor there is no problem. If you go to line 280-282 and replace the JMF component with the GLCanvas you will get an exception when toggling the visibility in the second monitor.

John

12  Java Game APIs & Engines / JInput / Re: Using 3DConnexions SpaceNavigator on: 2007-06-20 22:37:44
Are you running JInput as root?
Yes. I'm rnning it as root. I saw the problem with not having permission.

I'll see if I can install the dvb-utils package and try evtest.

John
13  Java Game APIs & Engines / JInput / Re: Using 3DConnexions SpaceNavigator on: 2007-06-19 22:10:08
Thats a good sign Smiley, what are the file permissions on that dev node?
crw------- 1 root root 13, 70 Jun 19 17:07 event6

I am running Fedora Core 6 and I don't see any input-utils package in the yum repository

John
14  Java Game APIs & Engines / JOGL Development / jogl on dual monitor setup on: 2007-06-19 12:01:30
I'm using the InfoNode docking window framework to contain a jogl GLCanvas and a JTextArea in a split window. When I run the application and toggle the adjacent JTextArea to be visible or hidden, everything works. However If I move the main frame to the other monitor from which it was created in when it was launched, when I make the adjacent JTextArea hidden I get the following exception.
Quote
Exception in thread "AWT-EventQueue-2" java.lang.IllegalArgumentException: adding a container to a container on a different GraphicsDevice
   at java.awt.Component.checkGD(Component.java:965)
   at java.awt.Container.checkGD(Container.java:1101)
   at java.awt.Container.checkGD(Container.java:1101)
   at java.awt.Container.checkGD(Container.java:1101)
   at java.awt.Container.checkGD(Container.java:1101)
   at java.awt.Container.checkGD(Container.java:1101)
   at java.awt.Container.checkGD(Container.java:1101)
   at java.awt.Container.checkGD(Container.java:1101)
   at java.awt.Container.checkGD(Container.java:1101)
   at java.awt.Container.checkGD(Container.java:1101)
   at java.awt.Container.checkGD(Container.java:1101)
   at java.awt.Container.addImpl(Container.java:1027)
   at java.awt.Container.add(Container.java:352)
   at net.infonode.gui.SimpleSplitPane.setLeftComponent(SimpleSplitPane.java:347)
   at net.infonode.gui.SimpleSplitPane.setComponents(SimpleSplitPane.java:375)
   at net.infonode.docking.SplitWindow$3.run(SplitWindow.java:197)
   at net.infonode.docking.DockingWindow$8.run(DockingWindow.java:1453)
   at net.infonode.docking.FocusManager.pinFocus(FocusManager.java:109)
   at net.infonode.docking.DockingWindow.optimizeAfter(DockingWindow.java:1448)
   at net.infonode.docking.SplitWindow.setWindows(SplitWindow.java:179)
   at net.infonode.docking.DockingWindow$13.run(DockingWindow.java:1925)
   at net.infonode.docking.DockingWindow$8.run(DockingWindow.java:1453)
   at net.infonode.docking.FocusManager.pinFocus(FocusManager.java:109)
   at net.infonode.docking.DockingWindow.optimizeAfter(DockingWindow.java:1448)
   at net.infonode.docking.DockingWindow.restoreItem(DockingWindow.java:1912)
   at net.infonode.docking.DockingWindow.restoreViews(DockingWindow.java:1862)
   at net.infonode.docking.DockingWindow.restore(DockingWindow.java:453)
   at jroam.gui.LogWindow.restore(LogWindow.java:132)
   at jroam.gui.MainFrame$GuiFrameActionHandler.handle(MainFrame.java:380)
   at jroam.framework.handler.ActionHandlerFactory.handleAction(ActionHandlerFactory.java:134)
   at jroam.framework.handler.ActionHandlerFactory$MainActionHandler.actionPerformed(ActionHandlerFactory.java:171)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
   at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:291)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
   at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
   at java.awt.Component.processMouseEvent(Component.java:6038)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
   at java.awt.Component.processEvent(Component.java:5803)
   at java.awt.Container.processEvent(Container.java:2058)
   at java.awt.Component.dispatchEventImpl(Component.java:4410)
   at java.awt.Container.dispatchEventImpl(Container.java:2116)
   at java.awt.Component.dispatchEvent(Component.java:4240)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
   at java.awt.Container.dispatchEventImpl(Container.java:2102)
   at java.awt.Window.dispatchEventImpl(Window.java:2429)
   at java.awt.Component.dispatchEvent(Component.java:4240)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Is there something that I must do at startup to allow the application to use the seconds monitors desktop space.

John
15  Java Game APIs & Engines / JInput / Re: Using 3DConnexions SpaceNavigator on: 2007-06-19 11:15:12
is there an event device node in /dev/input/ for the device?
After plugging in the device I get the following output from dmesg
Quote
usb 1-2: new low speed USB device using uhci_hcd and address 3
usb 1-2: configuration #1 chosen from 1 choice
input: 3Dconnexion SpaceNavigator as /class/input/input7
input: USB HID v1.10 Multi-Axis Controller [3Dconnexion SpaceNavigator] on usb-0000:00:1d.0-2
Looking at /dev/input I get
Quote
event0  event1  event2  event3  event4  event5  event6  mice  mouse0  mouse1
event6 wasn't there before.
Quote
can you read it with evtest?
How do I check this?

John
16  Java Game APIs & Engines / JInput / Re: Using 3DConnexions SpaceNavigator on: 2007-06-19 01:16:30
OK. I downloaded the latest binaries http://www.newdawnsoftware.com/resources/jinput/jinput_combined_dist_latest.zip and http://www.newdawnsoftware.com/resources/jinput/jinput-tests-20060514.jar.

I unpacked them and ran:
java -Djava.library.path=. -cp jinput.jar:jinput-test.jar net.java.games.input.test.ControllerTextTest

It didn't appear to pick up the SpaceNavigator. Just :
Quote
Controller Env = net.java.games.input.DefaultControllerEnvironment@ab95e6
Linux plugin claims to have found 5 controllers
Power Button (FF)
Type: Keyboard
Component Count: 1
Component 0: Unknown
    Identifier: Unknown
    ComponentType: Absolute Digital
---------------------------------
Sleep Button (CM)
Type: Keyboard
Component Count: 1
Component 0: Sleep
    Identifier: Sleep
    ComponentType: Absolute Digital
---------------------------------
AT Translated Set 2 keyboard
Type: Keyboard
Component Count: 144
Component 0: Escape
    Identifier: Escape
    ComponentType: Absolute Digital
Component 1: 1
    Identifier: 1
    ComponentType: Absolute Digital
.........................
.........................
.........................
---------------------------------
HID 1241:1177
Type: Mouse
Component Count: 6
Component 0: Left
    Identifier: Left
    ComponentType: Absolute Digital
Component 1: Right
    Identifier: Right
    ComponentType: Absolute Digital
Component 2: Middle
    Identifier: Middle
    ComponentType: Absolute Digital
Component 3: x
    Identifier: x
    ComponentType: Relative Analog
Component 4: y
    Identifier: y
    ComponentType: Relative Analog
Component 5: z
    Identifier: z
    ComponentType: Relative Analog
---------------------------------
Macintosh mouse button emulation
Type: Mouse
Component Count: 5
Component 0: Left
    Identifier: Left
    ComponentType: Absolute Digital
Component 1: Right
    Identifier: Right
    ComponentType: Absolute Digital
Component 2: Middle
    Identifier: Middle
    ComponentType: Absolute Digital
Component 3: x
    Identifier: x
    ComponentType: Relative Analog
Component 4: y
    Identifier: y
    ComponentType: Relative Analog
---------------------------------

When I tried the java -Djava.library.path=. -cp jinput.jar:jinput-test.jar net.java.games.input.test.ControllerReadTest
it gave me a number of windows but none of them showed any reaction to my moving the SpaceNavigator.

Does that mean the device was not recognised by the available drivers.

John
17  Java Game APIs & Engines / JInput / Re: Using 3DConnexions SpaceNavigator on: 2007-06-18 15:01:44
OK. I'l try it and see what happens. The project that needs it dosen't have too much money but time is more precious.

I'll be in touch.

John
18  Java Game APIs & Engines / JInput / Re: Using 3DConnexions SpaceNavigator on: 2007-06-15 13:30:49
Advice is good. I can work with that. What do I do.

John
19  Java Game APIs & Engines / JInput / Re: Using 3DConnexions SpaceNavigator on: 2007-06-14 19:33:51
I'm going to speak to them to see if that is correct. I'll let you know.
Thanks. I'll wait for your reply.  Smiley

John
20  Java Game APIs & Engines / JInput / Using 3DConnexions SpaceNavigator on: 2007-06-13 16:34:44
I'm new to Jinput and want to know if it would be possible to read the 3DConnexions SpaceNavigator 6DOF USB input device in my jogl application.
21  Java Game APIs & Engines / JOGL Development / Using 3DConnexions SpaceNavigator with jogl on: 2007-06-12 23:21:07
Has anybody tried to use the 3DConnexions SpaceNavigator 6DOF USB input device the in a jogl application. Although there are no drivers it has a USB connection, and so I suppose it should be possible to read and translate the output.
22  Java Game APIs & Engines / JOGL Development / Re: OpenGL pipeline on a linux platform bombs out when enabled. on: 2007-05-31 04:09:26
#  SIGSEGV (0xb) at pc=0xb4fc5529, pid=27812, tid=2987170704
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing)
# Problematic frame:
# C  [atiogl_a_dri.so+0x1d3529]  glEnable+0x19
Sounds to me like this is a driver issue. Your problem occurs in the atiogl_a_dri.so library, while my problem lies in the libGL.so.1 library. Have you tried upgrading your drivers.
23  Java Game APIs & Engines / JOGL Development / Re: OpenGL pipeline on a linux platform bombs out when enabled. on: 2007-05-30 02:49:30
Not to bother you SUN guys too much but netlama over at NVIDIA suggested I ask you all if there is any light that you can throw on the matter.

Quote from: netlama
I'm not sure that this is an FC6 issue. My testing here was on FC6, and I could not reproduce this crash.

It might be best to report this bug to SUN, as they may be able to assist in isolating or debugging it further.

What I was asking them was how I could go about finding out the real problem.
24  Java Game APIs & Engines / JOGL Development / Re: OpenGL pipeline on a linux platform bombs out when enabled. on: 2007-05-25 12:35:53
So it sounds like the pipeline works on the Debian distribution. Is there another Debian user who can verify this. If there are any other linux distro users (Ubuntu, Suse, etal) who can try the link and say whether it works or not, this would be helpful to see if it is a Fedora problem.
25  Java Game APIs & Engines / JOGL Development / Re: OpenGL pipeline on a linux platform bombs out when enabled. on: 2007-05-25 01:41:49
javaws PhotoCube-OGL.jnlp works for me.  Note that I had to download and edit the .jnlp to point to http://download.java.net/media/jogl/builds/archive/jsr-231-1.0.0/jogl.jnlp to work around the known glibc 2.3 incompatibility.
What known glibc2.3 incompatibility What is not compatible.
26  Java Game APIs & Engines / JOGL Development / Re: OpenGL pipeline on a linux platform bombs out when enabled. on: 2007-05-24 10:31:13
Yes. Ive tried this and it has no effect where the crash is concerned. What wories me is that netllama from NVIDIA who replied to me on the NVIDIA forum said that no one has reported this problem from SUN, and they usually tell them when there is an issue. Sounds to me like he figures that this is my problem and not the drivers. So I'm trying to find out how many people have this problem and if it is platform related.

The other possibility is that I use the GLCanvas and not GLJPanel. However I need the overlay windowing infrastructure via JDesktoppane and  JInternalFrame that allow me to overlay regular windows ontop of a OpenGL canvas. Does anybody know of a descent opensource OpenGL windowing package that I could use to get MDI windows similar in function to JInternalFrames.
27  Java Game APIs & Engines / JOGL Development / Re: OpenGL pipeline on a linux platform bombs out when enabled. on: 2007-05-23 19:38:36
OK. I see from the attached crash dump that its Fedora Core 6 2.6.20-1.2948_1.fc6 with the NVIDIA 9755 drivers. Just like me. If there is anybody who is reading this and has this platform and it works, please add somethine here. Also if there is any other linux distro that has it working I would be extremely greatful. I'm loosing too much sleep over this.  Sad
28  Java Game APIs & Engines / JOGL Development / Re: OpenGL pipeline on a linux platform bombs out when enabled. on: 2007-05-23 19:33:29
Therefore  when the OpenGL pipeline is enabled it dosen't work for you. What is your video hardware hardware and OS architecture?
29  Java Game APIs & Engines / JOGL Development / Re: OpenGL pipeline on a linux platform bombs out when enabled. on: 2007-05-22 20:40:51
Thanks Ken. Anybody running fedora or another linux distro who reads this page, can you try the link http://www.java.net/download/javadesktop/blogs/campbell/2006.10.12/PhotoCube-OGL.jnlp and let me know if it works or not. I need to know if I'm that different from everybody.
30  Java Game APIs & Engines / JOGL Development / OpenGL pipeline on a linux platform bombs out when enabled. on: 2007-05-19 18:22:19
Can anybody test the openGL pipeline enabling on linux (I'm using fedora Core 6) running

javaws http://www.java.net/download/javadesktop/blogs/campbell/2006.10.12/PhotoCube-OGL.jnlp

I'm still getting a JVM crash and when I post on the NVIDIA formns (http://www.nvnews.net/vbulletin/showthread.php?p=1260045#post1260045) they told me:
Quote from: netllama
I'm not able to reproduce this here.  I should also note that no one else has reported this problem, and SUN typically alerts us to Java OpenGL bugs in our driver (and has not for this issue).

It sounds like there done with me, and I have a presentation in the next 3 weeks for my application that would be so UNCOOL if it had to work without the pipeline enabled. I need to know if its me or if its the rest of the world that's out to get me  Sad

The hardware I've tried it on is GeForce 5200  and GeForce 7950 on Ferdora Core 6 (2.6.20-1.2948.fc6) with the 9755, and 100.14.03 drivers. Am I the only one who can't seem to get the pipeline to work on linux.
Pages: [1] 2 3 ... 6
 

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

The first screenshot will be displayed as a thumbnail.

Dwinin (29 views)
2014-09-12 09:08:26

Norakomi (57 views)
2014-09-10 13:57:51

TehJavaDev (79 views)
2014-09-10 06:39:09

Tekkerue (39 views)
2014-09-09 02:24:56

mitcheeb (58 views)
2014-09-08 06:06:29

BurntPizza (45 views)
2014-09-07 01:13:42

Longarmx (30 views)
2014-09-07 01:12:14

Longarmx (36 views)
2014-09-07 01:11:22

Longarmx (36 views)
2014-09-07 01:10:19

mitcheeb (40 views)
2014-09-04 23:08:59
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!