Table of contents Chapter index Previous slide Next slide 267
Syntax: MovieTexture

Mapping textures
Syntax: MovieTexture
  • A MovieTexture node selects a texture movie for texture mapping
  • url - texture movie file URL
  • When to play the movie, and how quickly (like a TimeSensor node)
  • Shape {
    
        appearance Appearance {
    
            material Material { }
    
            texture MovieTexture {
    
                url "movie.mpg"
    
                loop TRUE
    
                speed 1.0
    
                startTime 0.0
    
                stopTime 0.0
    
            }
    
        }
    
        geometry . . .
    
    }