I'm trying to get setTransform to work for headtracking. But while the generated projection matrix changes a desired, there is no change in the graphical output.
The camera will, as part of smgr->drawAll(), reset the projection matrix. Even if you aren't using a camera, then the scene manager still resets the projection to the identity matrix. If you want to set the projection matrix, you should set the projection on the camera directly.
Out of curiousity, what device are you using for head tracking?
I'm using a webcam (with sunglasses as filter) that tracks two bright red leds that are attached to some glasses.
This works ok, at least in a dark room.
You don't really need irleds, because the cmos sensor is sensitive enough in that part of the spectrum.
I'll release the source, as soon as I get the projection right...