Forums > Jitter

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


Feb 04 2010 | 6:16 pm

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?


-- Pasted Max Patch, click to expand. --

funny enough, if I enter the values like this:

camera 0 1 0.000000000001

it works as expected.

cheers

martin

Feb 04 2010 | 6:41 pm

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.

Feb 04 2010 | 11:46 pm

thank you andrew

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

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > Jitter