![]()  | 
	
| 
	 | 
| 
		 
			 
			#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)  | 
| 
		 
			 
			#2  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
		
		 
			
			If you mirror the image, then the computed position of the markers won't match what is displayed on screen. Can you explain what you are trying to achieve?
		 
		
		
		
		
		
		
		
		
	
	 | 
| 
		 
			 
			#3  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
		
		 
			
			Thanks for replying. 
		
		
		
		
		
		
		
		
	
	I want to mirror computed position of the markers too. So the effect will be the same as a mirror. Like a "magic mirror" where the reality is augmented.  | 
![]()  | 
	
	
| 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 05:48 AM | 
| Strange bug concerning a mirror | Frank Verberne | Vizard | 2 | 05-15-2008 06:09 AM | 
| Eyes that keep looking at the mirror | Frank Verberne | Vizard | 3 | 05-13-2008 06:39 AM | 
| Mirror issues | Frank Verberne | Vizard | 2 | 04-08-2008 11:37 AM | 
| Getting a mirror to work in any environment | Frank Verberne | Vizard | 5 | 03-27-2008 09:21 AM |