Firstly, hi everyone.
I’m a final year student at Teeside Uni, and for my practical project I’m producing an in-car computer software package in java, that uses JOGL for rendering.
I’ve hit a bit of a performance hurdle and was wondering if anyone could help me out;
Basically, when the system goes into ‘driving’ mode it starts up a load of threads; one for each piece of telemetry (speedometer, tachometer, lights & gauges etc).
Each of these threads has a JWindow that it attaches a GL Canvas to, loads a couple of textures and starts rendering using an animator (they will eventually get their data across a network).
The problem I’m having is that if I try to start any more than about 5 of these threads simultaneously my system goes very slow for about 30 seconds before the JWindows appear fully and start rendering smoothly (this is on a Core 2 Quad + GE Force 8800 GT).
I’d intended to have one of these threads for every gauge & light that cars of varying spec could show for the sake of concurrency (part of the scope of the degree project), and suggest that it could run on a small integrated computer with a JVM & hardware accelerated graphics!
Is there any way to make this happen faster, avoiding the need to do all rendering in a single thread?