cameraposition 0 1 0 (along y-axis) dosent work

maybites's icon

Hi

can someone explain to me why in this patch the setting for the camera along the y axis doesnt work, while it works fine for the others?

Max Patch
Copy patch and select New From Clipboard in Max.

funny enough, if I enter the values like this:

camera 0 1 0.000000000001

it works as expected.

cheers

martin

Andrew Benson's icon

Check the "up" attribute. This tells the camera which direction up is. By default, this is "0. 1. 0.". You can't have your camera/lookat vector and up vector be parallel. So, if you want to set your camera to 0. 1. 0., maybe set up to 1. 0. 0. or 0. 0. 1. depending on what rotation you want.

maybites's icon

thank you andrew

I actually just figured it out by myself and wanted to answer my question, but you were to fast.