Vixen
02b45cc4
csharp
public static class CameraNoiseSignal

The noise the six channels are sampled from.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Value noise over a one-dimensional lattice, for the reason VfxNoise gives for choosing it over Perlin and simplex — no gradient table to hold, hand around or disagree about — plus one this side cares about more: the range of value noise is exactly the range of its lattice values, so an amplitude is a hard bound. Gradient noise's peak is a number you look up and hope for, and "the shake is 5 cm, except occasionally" is not something a designer framing a shot near geometry can work with.

Quintic interpolation, so the first and second derivatives vanish at the lattice points and the motion has no corners in it. A camera is the one place where a discontinuous derivative is plainly visible: the eye reads it as a knock rather than as a wobble.

Methods (2)

  • public static float Sample(double time, int channel, int seed)

    One channel of noise.

  • public static Vector3 Sample(double seconds, Vector3 frequency, int firstChannel, int seed)

    Three channels at once, one per axis, at three frequencies.

Used by (2)

  • VirtualCameraSystemVixen.Engine
  • VirtualCameraTestsVixen.Engine.Tests