add info on avatar
info = vizinfo.add( 'WELCOME.' )
info.translate( .98, .3 ) i think this is how to add info onto the screen but how can i add this kind of info on specific avatar? for example i have three avatar i want to add different info on each avatar when i flash the marker to the webcam. |
You can create a separate info box for each avatar. When a marker is in view change the visibility of the info box:
Code:
info = vizinfo.add('avatar') |
jeff,
how can i do multiple if statements for the three different avatar ? |
You could have multiple if/else statements one after the other in the timer function.
Or you could keep your markers, models, info boxes in lists and place a loop in the timer function. For each iteration of the loop you can check the visibility of a marker and set the visibility of the related info box. The following example would do that for 3 matrix markers, ids 1,2,3: Code:
import viz |
it works ! thank you so much jeff
|
All times are GMT -7. The time now is 06:05 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC