The
Display Background Texture article includes an example script that applies a static texture to the background. Just replace the static texture object with your camera texture object.
Replace:
Code:
#Create background quad and apply a texture
background = addBackgroundQuad()
texture = viz.add('lake3.jpg')
background.texture(texture)
With:
Code:
#Create background quad and apply camera texture
background = addBackgroundQuad()
video = viz.add('VideoCamera.dle')
cam = video.addWebcam()
background.texture(cam)