Does anyone know how to find out the current cameras up vector….? I would like to be able to pass it into pops so that i can do some clever stuff with sprites…
In Houdini, the Camera's default up-vector is the +Y axis, so you can use the optransform expression to get the camera's transformation and apply it. A quick example:
Thanks George, that sounds as though it will do the job, just one last thing if the value returned is a vector is there an easy way to extract each of the elements individually .. i.e if i just want the x component