You are here: start » scratchpad

Scratchpad

Note: The Firefox related stuff now got its own page.

Z-Buffer-Fighting and Linux

Try the following

  • Make sure Z-Buffer is explicitely enabled at the call to glutInitDisplayMode (eg: glutInitDisplayMode( GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH);)
  • Invert normals
  • Set Z-Buffer depth to 24bit

The "Nupsi"

If you have the problem of owning a notebook which doesn't come with a hardware mixer and therefore offers no possibility to make sure the sound is indeed muted, the Nupsi1) might be something for you.

  • Take a 3.5mm headphone plug,
  • saw off half of it, so that only a small, approx. 5-7mm high not-plug-part remains,
  • fill it with hot glue (and paint the glue afterwards if you want to),
  • and plug it into your headphone jack whenever you want to make sure that the sound is muted.

Sounds stupid, but works. Patent pending :-P

Eclipse, JavaHL and Debian

For using the Subversive plugin with the JavaHL connector, add -Djava.library.path=/usr/lib/jni to your eclipse.ini.

1) not to be confused with the nub
scratchpad.txt · Last modified: 2008/03/26 12:35 (external edit)