JeGX HackLAB


Archive for November, 2006

Ageia PhysX SDK for free

without comments

Ageia has announced new licensing terms, allowing its PhysX SDK to be used and its runtime components distributed in all commercial and non-commercial PC projects for free.

This is a really good news for the community and for Hyperion! I filled up the register form and now I hope to receive the download link quickly.

Written by JeGX

November 5th, 2006 at 7:42 am

Posted in Programming

Tagged with , ,

NVIDIA GLSL compiler

without comments

In the demo I received from satyr (see oZone3D.Net forums), there is a toon shader that uses glsl uniforms. The pixel shader looked like to:

uniform float silhouetteThreshold;

void main()
{
  silhouetteThreshold = 0.32;     

  //... shader code
  //... shader code
  //... shader code
}

This pixel shader compiles well on nVidia gc but generes an error on ati. The error is right since an uniform is a read-only variable. This is an example of the nVidia glsl compiler laxity. That’s why I code my shader on ati: if the code is good for ati, we can be sure it will be good for nvidia too (of course there are always some exceptions…)

Written by JeGX

November 1st, 2006 at 7:28 am

Posted in OpenGL

Tagged with , ,