Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

"Trying" to adjust camera position

Iron Perth
Registered User
Join date: 9 Mar 2005
Posts: 802
02-11-2006 06:57
The camera stuff is very exciting.

Is there an explanation on how the camera tries to adjust its position?

For example, when adjusting the position of the camera, I noticed that it jitters and jumps quite a bit, creating a less than smooth experience.

Adjusting the pitch angle does not jitter, and creates a very nice effect.

Anyhow, very nice stuff!
Iron Perth
Registered User
Join date: 9 Mar 2005
Posts: 802
02-11-2006 07:13
I've found increasing the lag helps a bit with the jitter. However, when setting the Y coord of the camera position, it seems to bring the camera back down the focus.

Eg:

CAMERA_POSITION, llGetPos()+<50,0,50> seems to work

But

CAMERA_POSITION, llGetPos()+<50,1,50> seems to bring the camera back to down/near to the focal point.

My Camera params are

CAMERA_FOCUS, llGetPos(), CAMERA_POSITION_LAG, 3.0
Nathan Stewart
Registered User
Join date: 2 Feb 2005
Posts: 1,039
02-11-2006 15:22
Hi iron there is a test script here which you can add to the car in the library, it shows various camer options when your sitted in the car and you click on it.

http://secondlife.com/tiki/tiki-index.php?page=LLSetCameraParamsTest
_____________________
Iron Perth
Registered User
Join date: 9 Mar 2005
Posts: 802
02-11-2006 16:50
I have to say llForceMouselook would solve a lot of these issues.

For a lot of the stuff I need access to where the avatar is looking specifically via mouse movement.