Render to Texture Webstart Demo small help needed

Hmm,

Conversion was pretty Simple. ;D

ok, my Code runs here at Home, with the new API.
Also i came behind some of the performance bottlenecks.
Seems to be some kind of newbie failure, drawing the Render Text more as needed, with different View Pos, so wasnt to see. Will fix more.

  • Jens

Hi, ;D

Again i updated the Webstart Demo,
for me it worked quite well now (uses LWJGL 0.7 rc 2)

I added some more Sliders for Control the Helix Detail
and the nr of Texture used for the ‘Blur’ effect!
Also a Displaylist were used for Display the Helix.
Also i set the Pirority to Low!

If someone can again check the performance ?

www.mac-systems.de/rendertotexture.html

  • Jens

Works perfectly well here on my Inspiron 8100. (1.2GHz, Geforce2Go, 512MB RAM, JRE1.4.2).

Cas :slight_smile:

Hi,

Since yesterday i own some ATI Radeon 9200 GFX Card ;D, It was so cheap i must buy it.
So i have two Maschines for Tesing lwjgl.

After Install the new GFx Card, the whole Demo crashed…but after download the newest Drivers from ATI the demo runs fine under ATI Chipset…keep on the good work! Did someone tested the 0.7pre 2 under Linux ? I plan to do it next, but i read about some Depthbuffer Problems on Linux. On Windows i dont have specifiy a Depth Buffer when creating a Display for Fullscreen like:

Window.create ( "test" ,displaymode.bpp , 0 , 0 , 0 ) ;

For me this i not correct, cause it should give also DisplayProblems , or am i wrong ?

I’ve noticed you added a isFullscreen Method on Window.class, good to use!

  • Jens

It’s not really depth buffer problems on linux, it’s a misunderstood API. You must always specify your minimum requirements for an OpenGL window in create. That means that if you use the depth at all (very likely), you must have specified depth >0. Just like the bpp argument.

  • elias

Ok,

but it seems to Wok on Windows without correct value of Depth Buffer, also there a some default value ?

Ok, i would be handy to throw some Excpetion when doing this. Like “WrongDepthBufferSetException”…

  • Jens

The OpenGL drivers are free to return whatever context they want, as long as it’s at least as good as what you asked for.

Given that, it should be clear that you should not ask for no depth buffer and still assume one is there! That’s a particular quirk of your hardware,your operating system and your particular version of the drivers - not something to rely on!

If you want a depth buffer, ask for it. It’s that simple.

Fine to read that the final of 0.7 is out,
so i will update the binaries of the Demo also.
Next the Linux version should be added.
Is there somthing to know about Linux and LWJGL ?
Or just easy as under Win ?

  • Jens