Hi !
Featured games (88)
games approved by the League of Dukes
Games in Showcase (679)
Games in Android Showcase (194)
games submitted by our members
Games in WIP (731)
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 / Re: Jogl in Applet - couple of issues on: 2007-05-08 08:27:51
You're calling this function from within your GLEventListener's callbacks, correct?

Did you use the JOGLAppletLauncher and allow it to turn off the use of DirectDraw for applets?

Sorry, but I don't have any useful suggestions at this point beyond preparing a test case and filing a bug with NVidia or whoever the graphics card vendor is.

At first glance this crash looks like a bug in ATI's drivers. I would prepare a test case and file it with ATI.

In general I've found that on Windows computers especially in the context of applets it's best to back off to the minimal amount of functionality: on-screen heavyweight rendering (a GLCanvas), no OpenGL context sharing, and having fallback paths in your code to support OpenGL 1.1 in case you end up using Microsoft's software OpenGL implementation.


thanks for your reply. Yes we're calling the gl-function from within the GLEventListener-display method, and we're using JOGLAppletLauncher with -Dsun.java2d.noddraw=true set in the plugin parameter field. The strange thing is, on a different test computer here at the office with pretty much identical spec, same graphics card with the same drivers, the bug does not happen.

We do have a fallback to software rendering with gl 1.1, which kicks in when the gl-function call fails, but in this case, when the canvas has been initialized "offscreen", all that gets rendered is a black applet-window. Software rendering works great otherwise and is how we worked around this issue:

The second issue, the Opera crash only happens with ATI, but we get browser freezes on nvidia computers as well on occasion when using a GLJPanel.

2  Java Game APIs & Engines / JOGL Development / Jogl in Applet - couple of issues on: 2007-05-07 16:15:36

on some client computers, gl.isExtensionAvailable( "GL_VERSION_1_3" ); returns false when the applet and the GLCanvas is created outside the browsers viewport, i.e. when the user has scrolled down the page and the applet is created on the top of the page. If the applet is visible during the initialization, the method returns true. This happens on one test computer here at the office, tested with ie6 and firefox, java 1.5 and java1.6, GeForce 6600 LE latest drivers, but also on a few beta testers computers.

If using GLJPanel instead of a GLCanvas, we have seen random browser freeze when the user is navigating from the page containing the applet. In Opera, if the computer has an ATI-graphics card, a hard crash happens every time the user navigates from the page and a hs_err_pid log file is created. I'm attaching the log-file.

Any help is welcome Smiley
3  Java Game APIs & Engines / JOGL Development / Re: Browser repaint problem - JOGL applet on: 2007-04-25 07:13:37
We have also seen this bug. We did a work around and used a GLJPanel instead, which does not have the repaint problem. Of course, a GLJPanel has slower performance, but in our project performance is not cruicial.

Agency 9
4  Java Game APIs & Engines / JOGL Development / Re: JOGL Applet Launcher memory issues on: 2007-04-03 06:37:17
Its definitely the -Xmx flag, tested on two different computers with intel graphics. Removing the flag results in hardware accelerated context.

If we were to write our own plugin, it would not be as extensive as suns, it would only be able to run our special java class, and nothing else. If it could solve the problem, it would be worth the development time.
But if the problem is in the jvm.dll, I guess we would have the same issue anyway.
5  Java Game APIs & Engines / JOGL Development / Re: JOGL Applet Launcher memory issues on: 2007-04-02 14:07:07
Hi Ken,

thank you for your reply.
Unfortunately a web start deployment strategy isn't suitable for our project, since we have to be embedded in a web page. We're trying to figure out possible work-arounds.

Is this bug only affecting jogl-applets or applets in general? Could we switch to D3D-rendering or software-rendering?
Would it be possible to write our own java plugin to IE, i.e. an activex plugin using jni to get our java project running in a browser, or would we face the same bug?


Johan Göransson

6  Java Game APIs & Engines / JOGL Development / JOGL Applet Launcher memory issues on: 2007-03-27 08:04:14

we're using JOGL Applet Launcher to deploy an JOGL-project as an applet. Most clients have no problem running the applet, but some computers with Mobile Intel graphics cards especially have some problems in Internet Explorer when -Xmx is set. I tested the applet on an Mobile Intel 915/GMS, 910GML Express Chipset Family, with over 700 MB RAM, and had -Xmx128m specified. The result is that when creating a GLCanvas, we only get a software GDI canvas, and not an hardware accelerated canvas! This is only in Internet Explorer, the same settings works in Firefox and also stand alone on the desktop.

Is this an known issue?

Johan Göransson
7  Game Development / Game Mechanics / Re: JOODE -- on: 2005-12-14 18:52:08
It does look like I will be using JOODE for my PhD next year so I can assure everyone it will get some good long term development time from me.

Hi, Im just curious how you will use JOODE/ODE in you PhD studies? Whats the research topic/area?
8  Game Development / Game Mechanics / Re: Odejava - GeomRay on: 2005-11-28 09:31:17
yeah, dCollide would probably work, but then I'd have to collide the ray with all static geoms my self. And I never got dCollide to work with more contacts than one.
9  Game Development / Game Mechanics / Re: Odejava - GeomRay on: 2005-11-27 18:58:23
The point with ray - geom collision would be to implement ray cars for instance - shooting rays towards the static triangle mesh instead of using jointed spheres for wheels. Or, if a car has flipped over, you could shoot a ray from the car to detect where to drop the car again.
10  Game Development / Game Mechanics / Odejava - GeomRay on: 2005-11-18 15:38:31

has anyone got geomray to generate contacts with other (static) geoms? I got it working for geoms added to a body, but no contacts are generated for enviroment geoms.

Well, think I found the reason. In nearCallBack in odejava.cpp:
  // ignore if both o1 and o2 are plain Geoms (not bodies)
  if (!b1 && !b2) return;


Work around? Should I try the tedious path of recompiling odejava.dll?
11  Game Development / Networking & Multiplayer / Re: UDP packet size - Many small or few big ones? on: 2005-10-27 12:36:56
Ok, so perhaps I should ask what you guys think how big a big packet is? I'm looking to send about 30 packets/s if they are big (250 bytes) or many more, perhaps 80 packets/s if they are small (100 bytes). The network topology is LAN or broadband internet.
12  Game Development / Networking & Multiplayer / Re: UDP packet size - Many small or few big ones? on: 2005-10-27 07:46:48
Well, I will disregard out of order packets, but I've read somewhere that big packets are lost more often than small packets, but I dont know if there's any truth in that.
13  Game Development / Networking & Multiplayer / UDP packet size - Many small or few big ones? on: 2005-10-25 10:38:54

I'm currently working on a network game using UDP, and I'm curious whats better, to send many small packets or to send fewer but larger packets in terms of packet loss and overall performance? Any thoughts?
14  Game Development / Game Mechanics / Re: LCP, internal error,ODE in general  driving M on: 2005-08-01 12:32:14
The smart thing to do might be a java bind (jni) to Novodex, Havok or Meqon. Coding a physics engine is a major undertaking. Developing a bind to an existing also brings the benefit of being able to use their exporters and tools. ODE is a great physics engine, but since its not commercial it is not being developed as much as the commercial ones.
15  Game Development / Game Mechanics / Re: LCP, internal error,ODE in general  driving M on: 2005-08-01 09:37:53
Well, ragdolls are mostly used for death scenes in games (hence the term "ragdoll" Wink ), are they not?
It just seems so hard to tweak angular motors to get the desired result.
16  Game Development / Game Mechanics / Re: LCP, internal error,ODE in general  driving M on: 2005-07-31 19:07:24
Yes if its a ragdoll project..DONT use stepFast or quickStep(). They dont work with very complex joined
structures..only step() works.
try increasing maxStepsPerInteractions and or/stepsize.

I used ODE and AgentFX when creating ragdoll demos for Agency9, ( I'm stepping the world using quickStep with a small time step, 0.01, and it works like a charm. The ragdolls are built using 12 bodies, 11 joints with no motor parameters. Controlling the joints with motors to get realistic movement sounds  complicated, it seems better to use animations for walking and such.
17  Game Development / Game Mechanics / Re: (ODEJava) Ideas for car simulation? on: 2005-07-02 22:16:59
I'm setting the desired velocity parameter on the hinge2 (2-axis) as well as max force on that axis. It's my understanding that ODE will accel up to that velocity using the max force, so its not like I'm manually setting the velocity of the wheel. I've so far used the default ERP (0.8?). I'm playing around with FDir and slip parameters, but I haven't really done anything useful yet.
18  Game Development / Game Mechanics / Re: (ODEJava) Ideas for car simulation? on: 2005-06-29 20:15:28
well, I've modified the car example, but came across the "12.9. I've made a car, but the wheels don't stay on properly!"-problem as noted in the ODE-docs. The wheels are unstable at high speeds. I can't seem to solve this, using the method described in the docs. Anyone else had this problem?
19  Game Development / Game Mechanics / Re: [odejava] Weird GeomTriMesh problems on: 2005-06-22 12:41:18
Space-bug perhaps? Have you tried collisiontesting not using spaces or used a simple space?
20  Game Development / Game Mechanics / Re: new Odejava release - grab it while it's hot on: 2005-06-22 06:34:42
Is there a changelog, for both odejava and for the natives?

21  Game Development / Game Mechanics / Re: Showcase on: 2005-06-15 16:17:47
Nice demos,

actually, you used the same car model as I did when I modified the car example to try to get something moving.  Smiley
Small world when it comes to free 3d models that are not completely crap Wink

22  Game Development / Game Mechanics / Re: (ODEJava) Ideas for car simulation? on: 2005-06-15 11:54:53
thx for the reply,

are hinge2 as fast and as stable as sliders and "whatnot"? Wink
Chassis could perhaps be a box with capped cylinders as bumpers.
23  Game Development / Game Mechanics / Showcase on: 2005-06-15 08:24:30

I'm interested to know if any of you guys have anything cool to show, done with odejava or physics in general? Has anybody actually done something useful, like a game or application showing of a good use of physics, or is it just box stacking demos?  Wink

24  Game Development / Game Mechanics / (ODEJava) Ideas for car simulation? on: 2005-06-15 08:17:42

I'm about to try and create a car in ode with a good arcade feel to it, and I'm interested to hear if you guys have any good ideas. The goal is to create something with a nfs-underground feel, with suspension, gears and a handbrake.

What type of joints would you use, hinge2 with suspension or a slider joint with cfm and erp set or perhaps using raycasting? How about gears, using a AMotor or setting torques/velocities manually to the wheel bodies?
Spheres for wheels or capped cylinders? A simple box for chassis, or multiple geoms?

I've looked at the car example, but it is quite limited I think.

25  Discussions / Miscellaneous Topics / Re: Episode III on: 2005-05-26 17:25:59
I enjoyed ep3, as opposed to the previous 2 which I hated. The thing you've got to remember is, that Star Wars is intended for 12-year olds, which explains entities such as jar-jar and all the funny sounds coming from droids and creatures. Did the wookie actually do a Tarzan-sound when attacking the boat-thing?

And I really liked the explosions, since I'm tweaking a particle system right now, trying to create a good looking explosion. I kept thinking, "how would I go about to create that explosion?" Wink

26  Game Development / Game Mechanics / Re: [ODE] Huge slowdown with just few boxes on: 2005-05-26 09:20:40
well the method I described works quite well since ode will automaticly enable any disabled box if it collides. Since it is so easy to implement I would give it a shot before dusting of anything Wink
27  Game Development / Game Mechanics / Re: [ODE] Huge slowdown with just few boxes on: 2005-05-26 07:07:42
I'm not sure, but I dont think autodisable is implemented in odejava just yet. You could however implement a quick hack by checking if the linear and angular velocity of an object is below a certain limit and disable it yourself with Ode.dBodyDisable( bodyId ).

28  Game Development / Game Mechanics / Re: [Odejava] Centre Of Gravity Prob on: 2005-04-18 12:11:34
From the ODE-docs: "When assigning a mass to a rigid body, the center of mass must be (0,0,0) relative to the body's position. But in fact this limitation has been in ODE from the start, so we can now regard it as a ``feature'' Smiley "

So.. I'm guessing, if its regarded as a feature its not likely to get fixed in the near future.

But I'm also trying to build a car and it is difficult to get it stable since the CM is way to high. Placing the geomtry lower using a geomtransform is not a good solution, since the geoms are also used for collision testing and the actual 3D-model the geoms are representing, is placed higher. One solution would be to have a displaced geom representing the mass of the car, and another geom for collisiontesting which I would set the position and orientation according to the mass-geometry minus the displacement. But this feels like a bad solution Smiley Any other ideas?

Has anyone implemented a arcade-feel car using odejava? I'd like some examples other than the cars in the test-package.
29  Game Development / Game Mechanics / Re: [odejava] Weird GeomTriMesh problems on: 2005-04-12 04:36:43
I say submit! Smiley
I only had native crashes on one or two meshes, but most work great.
30  Game Development / Game Mechanics / Re: [odejava] Strange behavior on: 2005-04-11 06:19:11
okey, well, have you tried the log4j-webpage? I have no experience in running it on MacOSX (and hardly any on win either), so I can't help you :/
Pages: [1] 2
Mac70 (32 views)
2016-05-24 21:16:33

theagentd (41 views)
2016-05-14 18:38:35

theagentd (73 views)
2016-05-10 22:37:41

theagentd (79 views)
2016-05-10 22:33:46

IanParcs (110 views)
2016-04-18 14:18:53

KaiHH (102 views)
2016-04-18 08:35:41

KaiHH (129 views)
2016-04-15 12:43:58

theagentd (133 views)
2016-04-14 02:16:17

theagentd (157 views)
2016-04-14 02:15:43

IanParcs (251 views)
2016-04-12 03:51:16
FPS Camera Tutorial
by Hydroque
2016-05-22 05:40:58

Website offering 3D Models specifically for games for free
by vusman
2016-05-18 17:23:09

Website offering 3D Models specifically for games for free
by vusman
2016-05-09 08:50:56

Website offering 3D Models specifically for games for free
by vusman
2016-05-06 11:10:21

Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17

List of Learning Resources
by SilverTiger
2016-02-05 09:39:47

List of Learning Resources
by SilverTiger
2016-02-05 09:38:38

List of Learning Resources
by SilverTiger
2016-02-05 09:35:50 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‑
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!