instantreality 1.0

Component:
Texturing
Status:
partly implemented
Structure type:
concrete
Standard:
X3D2.0

MovieTexture

MovieTexture applies a 2D movie image to surface geometry, or provides audio for a Sound node. First define as texture, then USE as Sound source to see it/hear it/save memory. Texture maps have a 2D coordinate system (s, t) horizontal and vertical, with (s, t) values in range [0.0, 1.0] for opposite corners of the image. Hint: insert Shape and Appearance nodes before adding texture.

Inheritance

Code

XML encoding
<MovieTexture logFeature=''
triggerName='Timer'
enabled='TRUE'
resumeTime='0'
pauseTime='0'
stopTime='0'
startTime='0'
url=''
speed='1.0'
loop='FALSE'
 />
Classic encoding
MovieTexture {
	logFeature [""]
	triggerName "Timer"
	enabled TRUE
	resumeTime 0
	pauseTime 0
	stopTime 0
	startTime 0
	url [""]
	speed 1.0
	loop FALSE
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFTime cycleTime SFTime outputOnly cycleTime sends a time outputOnly at startTime, and also at the beginning of each new cycle
SFFloat fraction_changed SFFloat outputOnly fraction_changed continuously sends value in range [0,1] showing time progress in the current cycle
SFTime time SFTime outputOnly duration of the movie, in seconds. This value is sent as soon as the movie is loaded. A value of -1 implies that the movie has not yet loaded.
SFBool enabled SFBool inputOutput TRUE Flag to enable/disable the update.
SFString triggerName SFString initializeOnly Timer Name of the dynamic context-slot, which is used by the run-time environment (e.g. Jobs) to trigger the node. Life-Nodes will automatically connect the context-eventOutput to the triggerSlot-eventInput Slot.
SFTime triggerSlot SFTime inputOnly Slot which is used internally to connect a dynamic context-slot whose name is set by the triggerName value. It is used automatically to install a run-time environment trigger.
SFImage image_changed SFImage outputOnly sends a singe image on change
MFString logFeature MFString inputOutput state, child, parent, route, eventIn, eventOut controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything