WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-08-2009, 08:55 AM
skywalkerbr skywalkerbr is offline
Member
 
Join Date: Jul 2009
Posts: 2
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)
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -7. The time now is 09:41 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC