Heilan X3D Browser

PixelArray

Type

ParentNode, to be used with a child AudioClip node.

Description

Displays a bitmap image (must be size 160x120 and 8-bit with a colour palette!!) as cubes representing the pixels. The amplitude envelope of the audio is used to basically cycle through the colour palette, creating a jittery kind of motion. When the camera gets close, the distance between the cubes increases, opening up gaps between the pixels.

Attributes

maxBack SFFloat (input) The same as Sound's maxBack attribute.

maxFront SFFloat (input) The same as Sound's maxFront attribute.

minBack SFFloat (input) The same as Sound's minBack attribute.

minFront SFFloat (input) The same as Sound's minFront attribute.

image SFString (input) Url to the .bmp image to be used.

Example Use

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE X3D>
<X3D profile="Full">
	<Scene>
		<NavigationInfo type="ANY"/>

		<Transform translation="-0.5 0.5 -140.0 ">
			<PixelArray image="DarkBlueRadial.bmp" minFront="150" maxFront="300" minBack="150" maxBack="300">
				<AudioClip url="/home/niall/music/temp/savedWavs/fadeInDroneL.wav"/>
			</PixelArray>
		</Transform>
	</Scene>
</X3D>