Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (577)
games submitted by our members
Games in WIP (498)
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 10: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.


Hi,

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: http://www.java-gaming.org/forums/index.php?topic=16324.0

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 18:15:36
Hi,

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 09: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.

Johan
Agency 9
http://www.agency9.se
4  Java Game APIs & Engines / JOGL Development / Re: JOGL Applet Launcher memory issues on: 2007-04-03 08: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 16: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?

Regards,

Johan Göransson
Agency9

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

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?

Regards,
Johan Göransson
Agency9
7  Game Development / Game Mechanics / Re: JOODE -- java.net on: 2005-12-14 19: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 10: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 19: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 16:38:31
Hi,

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.

EDIT:
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 14: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 09: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 12:38:54
Hi,

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 14: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 11: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 21: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, (http://www.agency9.se/demo/index.php?t=2 http://www.agency9.se/demo/index.php?t=1). 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-03 00: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 22: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 14: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 08:34:42
Is there a changelog, for both odejava and for the natives?

Regards
21  Game Development / Game Mechanics / Re: Showcase on: 2005-06-15 18: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 13: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 10:24:30
Hi,

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 10:17:42
Hi,

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 19: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 11: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 09: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 14: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 06: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 08: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
 

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

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (22 views)
2014-04-15 18:08:23

BurntPizza (17 views)
2014-04-15 03:46:01

UprightPath (31 views)
2014-04-14 17:39:50

UprightPath (15 views)
2014-04-14 17:35:47

Porlus (31 views)
2014-04-14 15:48:38

tom_mai78101 (57 views)
2014-04-10 04:04:31

BurntPizza (114 views)
2014-04-08 23:06:04

tom_mai78101 (214 views)
2014-04-05 13:34:39

trollwarrior1 (182 views)
2014-04-04 12:06:45

CJLetsGame (189 views)
2014-04-01 02:16:10
List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:05:20
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!