OscillatorThis is a featured page


This sample shows an oscillating value via sine wave, controlling the intensity of a spot light.


Oscillator.xpkg

Click on the image to download the sample.

Oscillator - Blade3D
This shows a simple, but effective way of making a scene look more dynamic. This sample is an extensions of the Spot Light sample. The difference is, that the light intensity is controlled by a sine wave. The oscillation is controlled by the Logic Diagram named "LightToMaterial". This diagram takes the output of the specialized SinWave operator, and uses it to scale the DiffuseIntensity and SpecularIntensity on the SpotLight material. It also scales the FrequencySlider output and scales it. Is used as the frequency for the sine wave, effectively controlling how fast the light turns on and off.


Oscillator - Blade3D

This means you can change the speed of the osillation with the GUI slider on the top right hand side of the screen.
An interesting thing to try would be to control the light's Diffuse and Ambient colors or Specular Colors using two seperate sine waves.


X-Tatic
X-Tatic
Latest page update: made by X-Tatic , Jun 2 2007, 3:12 PM EDT (about this update About This Update X-Tatic Edited by X-Tatic

1 word added
1 word deleted

view changes

- complete history)
Keyword tags: None
More Info: links to this page
There are no threads for this page.  Be the first to start a new thread.