Tourguide or walktrough animation

RE: Tourguide or walktrough animation
(2019-12-23, 12:44)Moreau Wrote: upon further investigating scripts > misc > current camera, and selecting () "script first person camera" from the format list, the repeating after moving the camera with the mouse, yields two sets of values., ldc.vector(3939.7942, -1547.4372, -2197.128), 4549.2681, -60, -15, 0), ldc.vector(1897.3212, -1839.676, -1139.8568), 2558.9633, -60, -37.05, 0)

so clearly the program can identify the position in partspace and angle of the camera eye. i also assume the first three are XYZ position. But what are the other values?

The tour animation has a cameraMode variable at the top, change it to 1 for first person mode. parameters are 'mode' followed by a number of mode depend ones.

first person, eye, dist, yaw, tilt, roll)

third person, lookAt, dist, yaw, tilt, roll)

two point,lookAt, eye, roll

advanced,lookAt, ori, dist)

mode 1..3 are basically just wrappers as internally all cameras are 'advanced'.
« Next Oldest | Next Newest »

Messages In This Thread
RE: Tourguide or walktrough animation - by Roland Melkert - 2019-12-23, 21:18

Forum Jump:

Users browsing this thread: 1 Guest(s)