#1
|
|||
|
|||
ARToolKit mirror
Hi every one!
How can I flip a image from a webcam like a mirror, for artoolkit? I have this code: import viz viz.go() #Add ARToolkit extension ar = viz.add('artoolkit.dle') #Create camera using first available webcam camera = ar.addWebCamera() #Create marker from pattern file marker = camera.addMarker('ar/taca',width=1000) #Add logo model ball = viz.add('Taca_Fifa_AR.wrl',pos=(200,200,-400),cache=viz.CACHE_CLONE) ball.setScale(0.1,0.1,0.1); pic = viz.addTexture('Sb_Taca.jpg') ball.texture(pic) #Link logo model to marker sensor viz.link(marker,ball) ball.setPosition(200,200,0) |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem using mirror | dan12345 | Vizard | 3 | 07-28-2008 04:48 AM |
Strange bug concerning a mirror | Frank Verberne | Vizard | 2 | 05-15-2008 05:09 AM |
Eyes that keep looking at the mirror | Frank Verberne | Vizard | 3 | 05-13-2008 05:39 AM |
Mirror issues | Frank Verberne | Vizard | 2 | 04-08-2008 10:37 AM |
Getting a mirror to work in any environment | Frank Verberne | Vizard | 5 | 03-27-2008 08:21 AM |