Heilan X3D Browser

PhysicalSurface

Type

ChildNode.

Description

A simple visual plane based on Tao's physical modelling techniques. I made this to test out the use of Tao's techniques in a deformable sphere (the DeformableSphere2 node), and also to test ways of subdividing a plane (we use a tiny Tao surface (v.few cells) and interpolate between them to get a smooth surface).

Attributes

force1 SFFloat (input) Force applied to the lower left cell.

force2 SFFloat (input) Force applied to the upper left cell.

force3 SFFloat (input) Force applied to the lower right cell.

force4 SFFloat (input) Force applied to the upper right cell.

drawLines SFFloat (input) Whether to draw lines representing the Tao surface or not.

Example Use


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

		<Transform DEF="temp" translation="0 -2 -8">
			<PhysicalSurface DEF="bob"/>
		</Transform>
	</Scene>
</X3D>