Python VideoTexture, +Alpha Map, +2D Filters

Hy everybody,

need help with the Python function VideoTexture.
I’m using this script:

######################################################
#
#    Mirror.py        Blender 2.49
#
#    Tutorial for using Mirror.py can be found at
#
#    www.tutorialsforblender3d.com
#                                                                                                         
######################################################

# get current scene
scene = GameLogic.getCurrentScene()

# get the current controller
controller = GameLogic.getCurrentController()

# get object script is attached to
obj = controller.owner

# check to see mirror has been added
if obj.has_key("Mirror") == True:
                
    # update the mirror
    obj["Mirror"].refresh(True)

# if mirror hasn't been added 
else:

    # import VideoTexture module
    import VideoTexture

    # get active camera
    cam = scene.active_camera 
        
    # get the mirror material ID
    matID = VideoTexture.materialID(obj, "MA" + obj['material'])
    
    #texture channel
    if obj.has_key('channel') == True:
        texChannel = obj['channel']
    else:
        texChannel = 0

    # get the mirrortexture
    mirror = VideoTexture.Texture(obj, matID, texChannel)
    
    # get the mirror source
    mirror.source = VideoTexture.ImageMirror(scene,cam,obj,matID)

    # set mirror layer
    mirror.
    
    # set texture resolution
    mirror.source.capsize = [512,512] 
    
    # save mirror as an object variable
    obj["Mirror"] = mirror
    

I couldn’t find a documentation of the module VideoTexture. Is there something online?

My Problem: In my scene, I have objects in different layers. Is it possible to constraint the renderable layers of the module? So that an object can be seen from the camera, but not from the mirror camera?

The next problem is, i can’t combine my videotexture with an alpha map of a color gradient. i use glsl and node properties. anyone who has experiences with that?

The last one: is it possible to manipulate the videotexture e.g. blur subject to the view height?

Thanks for answers.

greets
PAGARI